Browse Source

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>
lilik-openwrt-22.03
Florian Fainelli 8 years ago
parent
commit
d9b6d1bbc8
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      libs/pthsem/patches/003-linux4x-fix.patch

+ 13
- 0
libs/pthsem/patches/003-linux4x-fix.patch View File

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

Loading…
Cancel
Save