-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

after upgrading my host to Ubuntu 11.10 having a 3.0 Kernel pthsem
didn't build anymore with:
#error "Unsupported Linux (g)libc version and/or platform"

- -> Below is a patch for the package which fixed it for me.


Signed-off-by: Michael Markstaller <[email protected]>

Index: feeds/packages/libs/pthsem/patches/001-linux3x-fix.patch
===================================================================
- --- feeds/packages/libs/pthsem/patches/001-linux3x-fix.patch  (Revision 0)
+++ feeds/packages/libs/pthsem/patches/001-linux3x-fix.patch    (Revision 0)
@@ -0,0 +1,12 @@
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -892,6 +892,8 @@
+         case "x`uname -r`" in
+ changequote(, )dnl
+             x2.[23456789]* ) ;;
++changequote(, )dnl
++            x3.* ) ;;
+ changequote([, ])
+             * ) braindead=yes ;;
+         esac
+
Index: feeds/packages/libs/pthsem/Makefile
===================================================================
- --- feeds/packages/libs/pthsem/Makefile       (Revision 28483)
+++ feeds/packages/libs/pthsem/Makefile (Arbeitskopie)
@@ -3,7 +3,7 @@

 PKG_NAME:=pthsem
 PKG_VERSION:=2.0.8
- -PKG_RELEASE:=1
+PKG_RELEASE:=2

 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.auto.tuwien.ac.at/~mkoegler/pth/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6dvXkACgkQaWRHV2kMuAIJWgCgjxKDjnSOA+nAiNUuxlN2lU8v
SYwAoOoo5j2UhPiCkTeSjntkXaI12zqN
=0zMr
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to