Bug#675606: LinuxThreads version bump
Package: libc0.1
Version: 2.13-32
Tags: patch
Currently, perl relies on getconf to figure out whether threads have their
own PID or not. They assume that this is true for linuxthreads but not for
NPTL:
$ getconf GNU_LIBPTHREAD_VERSION
linuxthreads-0.10
$ getconf GNU_LIBPTHREAD_VERSION
NPTL 2.11.3
Since this behaviour was changed in patched versions of linuxthreads, I think
it'd be useful if they exposed a different version number so that users like
perl can check for it.
Patch attached.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-i386 (i386)
Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc0.1 depends on:
ii libc-bin 2.13-32
ii libgcc1 1:4.7.0-9
Versions of packages libc0.1 recommends:
ii libc0.1-i686 2.13-32
Versions of packages libc0.1 suggests:
ii debconf [debconf-2.0] 1.5.42
ii glibc-doc <none>
ii locales 2.13-32
ii locales-all [locales] 2.13-32
-- debconf information excluded
Index: debian/patches/kfreebsd/local-use-thr-primitives.diff
===================================================================
--- debian/patches/kfreebsd/local-use-thr-primitives.diff (revision 5259)
+++ debian/patches/kfreebsd/local-use-thr-primitives.diff (working copy)
@@ -688,3 +688,8 @@
return errno;
else
return 0;
+--- a/linuxthreads/Banner
++++ b/linuxthreads/Banner
+@@ -1 +1 @@
+-linuxthreads-0.10 by Xavier Leroy
++linuxthreads-0.11 by Debian GNU/kFreeBSD
Reply to: