aports/testing/motion/strerror_r.patch
GP Orcullo 66ff843457 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
2017-09-06 07:10:38 +00:00

12 lines
345 B
Diff

--- 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