aboutsummaryrefslogtreecommitdiffstats
path: root/testing/motion/strerror_r.patch
diff options
context:
space:
mode:
authorGP Orcullo <kinsamanka@gmail.com>2017-08-31 17:14:32 +0800
committerTimo Teräs <timo.teras@iki.fi>2017-09-06 07:10:38 +0000
commit66ff8434575d6f12b1d7ca893d22df1a55ff84e3 (patch)
tree1e7f38b1bbb17e594c24103ec0906b23dea2de15 /testing/motion/strerror_r.patch
parent1e776e60847dfb253fc3e76286e40384ad9d8d96 (diff)
downloadaports-66ff8434575d6f12b1d7ca893d22df1a55ff84e3.tar.bz2
aports-66ff8434575d6f12b1d7ca893d22df1a55ff84e3.tar.xz
testing/motion: Updated to version 4.0.1 with ffmpeg
- updated to the latest release - re-enabled ffmpeg support - switched to openrc init - used /var/lib/motion for storage - disabled cpu optimization
Diffstat (limited to 'testing/motion/strerror_r.patch')
-rw-r--r--testing/motion/strerror_r.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/motion/strerror_r.patch b/testing/motion/strerror_r.patch
new file mode 100644
index 0000000000..bbe625ecb7
--- /dev/null
+++ b/testing/motion/strerror_r.patch
@@ -0,0 +1,11 @@
+--- motion-4.0.1/motion.h
++++ ./motion.h
+@@ -88,7 +88,7 @@
+ #endif
+
+ /* strerror_r() XSI vs GNU */
+-#if (defined(BSD)) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
++#if !defined(__GLIBC__) || (defined(BSD)) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
+ #define XSI_STRERROR_R
+ #endif
+