From 93acdd359ad34c7a72391b1965b61e6a4d7a835a Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 25 Sep 2017 14:26:03 +0300 Subject: Add dyson-strerror_r.patch --- debian/patches/dyson-strerror_r.patch | 12 ++++++++++++ debian/patches/series | 1 + 2 files changed, 13 insertions(+) create mode 100644 debian/patches/dyson-strerror_r.patch create mode 100644 debian/patches/series 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 -- cgit v1.2.3