pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libpthread-subts: update to 0.4.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Mar 15 09:46:49 2017 +0100
Changeset: 26978e99fb1a135bb98082bd8f886d7dbaa999b1
Modified Files:
libpthread-stubs/Makefile
libpthread-stubs/PLIST
libpthread-stubs/distinfo
Removed Files:
libpthread-stubs/patches/patch-stubs.c
Log Message:
libpthread-subts: update to 0.4.
pthread-stubs 0.4 is now available. This new release stops providing
stubs, but instead expects libc to do so. On platforms where this is
not the case, "-pthread" is injected via our pkg-config file instead.
This was done to make loading libpthread (indirectly) via dlopen()
work correctly in the presence of pthread-stubs.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=26978e99fb1a135bb98082bd8f886d7dbaa999b1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libpthread-stubs/Makefile | 2 +-
libpthread-stubs/PLIST | 1 -
libpthread-stubs/distinfo | 9 ++++-----
libpthread-stubs/patches/patch-stubs.c | 22 ----------------------
4 files changed, 5 insertions(+), 29 deletions(-)
diffs:
diff --git a/libpthread-stubs/Makefile b/libpthread-stubs/Makefile
index 9775fec885..c86e54fcb4 100644
--- a/libpthread-stubs/Makefile
+++ b/libpthread-stubs/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= libpthread-stubs-0.3
+DISTNAME= libpthread-stubs-0.4
CATEGORIES= x11
MASTER_SITES= https://xcb.freedesktop.org/dist/
EXTRACT_SUFX= .tar.bz2
diff --git a/libpthread-stubs/PLIST b/libpthread-stubs/PLIST
index 418caea7d1..b8feb10b8b 100644
--- a/libpthread-stubs/PLIST
+++ b/libpthread-stubs/PLIST
@@ -1,3 +1,2 @@
@comment $NetBSD$
-lib/libpthread-stubs.la
lib/pkgconfig/pthread-stubs.pc
diff --git a/libpthread-stubs/distinfo b/libpthread-stubs/distinfo
index 81e310d954..5013b275d2 100644
--- a/libpthread-stubs/distinfo
+++ b/libpthread-stubs/distinfo
@@ -1,7 +1,6 @@
$NetBSD$
-SHA1 (libpthread-stubs-0.3.tar.bz2) = 7fc486ad0ec54938f8b781cc374218f50eac8b99
-RMD160 (libpthread-stubs-0.3.tar.bz2) = a3a5f76e103c645749d7b8a8fc00ad472e59987b
-SHA512 (libpthread-stubs-0.3.tar.bz2) = c7cf63fa82ce9e8c37c6dc3b8cc30f8883655f95683c4466c54b617b086dd26a43bfa36363e47dc5730af6d59ac70443d211eb01b07d276edd144030a3580b15
-Size (libpthread-stubs-0.3.tar.bz2) = 203468 bytes
-SHA1 (patch-stubs.c) = ca7a2354d408b8caba6a1e6cee92dd782cf7f388
+SHA1 (libpthread-stubs-0.4.tar.bz2) = c42503a2ae0067b2238b2f3fefc86656baa4dd8e
+RMD160 (libpthread-stubs-0.4.tar.bz2) = d831b5b0370e88f752c454c4bb96c7bf2a240f10
+SHA512 (libpthread-stubs-0.4.tar.bz2) = 0fec563f3833b84311b32cb13a4fd9832aeb0204c65b1541bf453d5d35693b2267c3cee656e00a4b8533b07a8f6320ca5c3672dcf8ab047cdac8628154c08954
+Size (libpthread-stubs-0.4.tar.bz2) = 57565 bytes
diff --git a/libpthread-stubs/patches/patch-stubs.c b/libpthread-stubs/patches/patch-stubs.c
deleted file mode 100644
index 8b2da07645..0000000000
--- a/libpthread-stubs/patches/patch-stubs.c
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD$
-
---- stubs.c.orig 2009-10-14 09:13:09.000000000 +0000
-+++ stubs.c
-@@ -31,7 +31,7 @@
- #ifndef HAVE_PTHREAD_SELF
- #define NEED_ZERO_STUB
- # ifdef SUPPORT_ATTRIBUTE_ALIAS
--int pthread_self() __attribute__ ((weak, alias ("__pthread_zero_stub")));
-+pthread_t pthread_self() __attribute__ ((weak, alias ("__pthread_zero_stub")));
- # else
- # pragma weak pthread_self = __pthread_zero_stub
- # endif
-@@ -157,7 +157,7 @@ int pthread_equal() __attribute__ ((weak
- #ifndef HAVE_PTHREAD_EXIT
- #define NEED_EXIT_STUB
- # ifdef SUPPORT_ATTRIBUTE_ALIAS
--int pthread_exit() __attribute__ ((weak, alias ("__pthread_exit_stub")));
-+void pthread_exit(void*) __attribute__ ((weak, alias ("__pthread_exit_stub")));
- # else
- # pragma weak pthread_exit = __pthread_exit_stub
- # endif
Home |
Main Index |
Thread Index |
Old Index