aboutsummaryrefslogtreecommitdiff
path: root/libs/pthsem/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-04-01 17:41:35 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2017-04-01 18:07:44 -0700
commitd9b6d1bbc804156cbc340e4b87f7978734d432cb (patch)
tree91164260e850174129acb110087f871dafc8f038 /libs/pthsem/patches
parent16750dd412020e7914113acc0664e6ba37f5bbf6 (diff)
pthsem: Add linux 4.x to supported platforms
Fixes the following build failures: pth_mctx.c: In function '__pth_mctx_set': pth_mctx.c:480:2: error: #error "Unsupported Linux (g)libc version and/or platform" #error "Unsupported Linux (g)libc version and/or platform" ^ Makefile:991: recipe for target 'pth_mctx.lo' failed Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'libs/pthsem/patches')
-rw-r--r--libs/pthsem/patches/003-linux4x-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/pthsem/patches/003-linux4x-fix.patch b/libs/pthsem/patches/003-linux4x-fix.patch
new file mode 100644
index 000000000..d8e4d1735
--- /dev/null
+++ b/libs/pthsem/patches/003-linux4x-fix.patch
@@ -0,0 +1,13 @@
+Index: pthsem-2.0.8/acinclude.m4
+===================================================================
+--- pthsem-2.0.8.orig/acinclude.m4
++++ pthsem-2.0.8/acinclude.m4
+@@ -894,6 +894,8 @@ changequote(, )dnl
+ x2.[23456789]* ) ;;
+ changequote(, )dnl
+ x3.* ) ;;
++changequote(, )dnl
++ x4.* ) ;;
+ changequote([, ])
+ * ) braindead=yes ;;
+ esac