[SCM] naspro-core/master: Add patch to fix FTBFS with glibc >= 2.20
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Tue Feb 16 11:31:34 UTC 2016
The following commit has been merged in the master branch:
commit b3bf748d17efad06caf7bdb913417d655474517e
Author: Alessio Treglia <alessio at debian.org>
Date: Tue Feb 16 11:27:51 2016 +0000
Add patch to fix FTBFS with glibc >= 2.20
Closes: #808672
diff --git a/debian/patches/01-ftbfs.patch b/debian/patches/01-ftbfs.patch
new file mode 100644
index 0000000..a18526f
--- /dev/null
+++ b/debian/patches/01-ftbfs.patch
@@ -0,0 +1,19 @@
+Description: Fix ftbfs with glibc >= 2.20
+Author: Alessio Treglia <alessio at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808672
+Forwarded: no
+---
+ src/posix/fs.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- naspro-core.orig/src/posix/fs.c
++++ naspro-core/src/posix/fs.c
+@@ -16,7 +16,7 @@
+ */
+
+ #define _POSIX_C_SOURCE 200809L
+-#define _BSD_SOURCE
++#define _DEFAULT_SOURCE
+
+ #include "internal.h"
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c383348
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-ftbfs.patch
--
naspro-core packaging
More information about the pkg-multimedia-commits
mailing list