diff options
-rw-r--r-- | debian/patches/dyson-strerror_r.patch | 12 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/dyson-strerror_r.patch b/debian/patches/dyson-strerror_r.patch new file mode 100644 index 0000000..de9e683 --- /dev/null +++ b/debian/patches/dyson-strerror_r.patch @@ -0,0 +1,12 @@ +Description: really use XSI strerror_r. + __EXTENSIONS__ enables _GNU_SOURCE on Dyson. +--- ffmpeg-3.2.5.orig/libavutil/error.c ++++ ffmpeg-3.2.5/libavutil/error.c +@@ -17,6 +17,7 @@ + */ + + #undef _GNU_SOURCE ++#undef __EXTENSIONS__ + #define _XOPEN_SOURCE 600 /* XSI-compliant version of strerror_r */ + #include "avutil.h" + #include "avstring.h" diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..fdd0141 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +dyson-strerror_r.patch |