Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
2.5KB

  1. diff -Naur Python-3.8.0-orig/Include/bytesobject.h Python-3.8.0/Include/bytesobject.h
  2. --- Python-3.8.0-orig/Include/bytesobject.h 2019-10-14 16:34:47.000000000 +0300
  3. +++ Python-3.8.0/Include/bytesobject.h 2019-10-22 10:03:56.031451300 +0300
  4. @@ -52,9 +52,9 @@
  5. PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);
  6. PyAPI_FUNC(PyObject *) PyBytes_FromObject(PyObject *);
  7. PyAPI_FUNC(PyObject *) PyBytes_FromFormatV(const char*, va_list)
  8. - Py_GCC_ATTRIBUTE((format(printf, 1, 0)));
  9. + Py_GCC_ATTRIBUTE((format(gnu_printf, 1, 0)));
  10. PyAPI_FUNC(PyObject *) PyBytes_FromFormat(const char*, ...)
  11. - Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
  12. + Py_GCC_ATTRIBUTE((format(gnu_printf, 1, 2)));
  13. PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);
  14. PyAPI_FUNC(char *) PyBytes_AsString(PyObject *);
  15. PyAPI_FUNC(PyObject *) PyBytes_Repr(PyObject *, int);
  16. diff -Naur Python-3.8.0-orig/Include/pyerrors.h Python-3.8.0/Include/pyerrors.h
  17. --- Python-3.8.0-orig/Include/pyerrors.h 2019-10-14 16:34:47.000000000 +0300
  18. +++ Python-3.8.0/Include/pyerrors.h 2019-10-22 10:03:56.437052000 +0300
  19. @@ -319,9 +319,9 @@
  20. #include <stdarg.h>
  21. PyAPI_FUNC(int) PyOS_snprintf(char *str, size_t size, const char *format, ...)
  22. - Py_GCC_ATTRIBUTE((format(printf, 3, 4)));
  23. + Py_GCC_ATTRIBUTE((format(gnu_printf, 3, 4)));
  24. PyAPI_FUNC(int) PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va)
  25. - Py_GCC_ATTRIBUTE((format(printf, 3, 0)));
  26. + Py_GCC_ATTRIBUTE((format(gnu_printf, 3, 0)));
  27. #ifndef Py_LIMITED_API
  28. # define Py_CPYTHON_ERRORS_H
  29. diff -Naur Python-3.8.0-orig/Include/sysmodule.h Python-3.8.0/Include/sysmodule.h
  30. --- Python-3.8.0-orig/Include/sysmodule.h 2019-10-14 16:34:47.000000000 +0300
  31. +++ Python-3.8.0/Include/sysmodule.h 2019-10-22 10:03:56.858252800 +0300
  32. @@ -15,9 +15,9 @@
  33. PyAPI_FUNC(void) PySys_SetPath(const wchar_t *);
  34. PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
  35. - Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
  36. + Py_GCC_ATTRIBUTE((format(gnu_printf, 1, 2)));
  37. PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
  38. - Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
  39. + Py_GCC_ATTRIBUTE((format(gnu_printf, 1, 2)));
  40. PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...);
  41. PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...);