diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-09-25 14:26:03 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-09-25 16:44:01 +0300 |
commit | 93acdd359ad34c7a72391b1965b61e6a4d7a835a (patch) | |
tree | f325a843e7d292a76641902a7ade916fc6d380f5 | |
parent | bd099647407f1f27204bf827f093ecb08e9f0a4b (diff) | |
download | ffmpeg-93acdd359ad34c7a72391b1965b61e6a4d7a835a.tar.gz |
Add dyson-strerror_r.patch
-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 |