pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/glib Make this build under IRIX by only applying...
details: https://anonhg.NetBSD.org/pkgsrc/rev/87a35daf9d95
branches: trunk
changeset: 472826:87a35daf9d95
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Mon Apr 12 20:18:07 2004 +0000
description:
Make this build under IRIX by only applying this patch on non-irix.
(Is this patch really needed on all other platforms?)
diffstat:
devel/glib/distinfo | 4 ++--
devel/glib/patches/patch-ai | 22 ++++++++++++++++------
2 files changed, 18 insertions(+), 8 deletions(-)
diffs (52 lines):
diff -r cd01f73163f6 -r 87a35daf9d95 devel/glib/distinfo
--- a/devel/glib/distinfo Mon Apr 12 19:37:03 2004 +0000
+++ b/devel/glib/distinfo Mon Apr 12 20:18:07 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2004/02/08 23:22:45 mjl Exp $
+$NetBSD: distinfo,v 1.11 2004/04/12 20:18:07 jschauma Exp $
SHA1 (glib-1.2.10.tar.gz) = e5a9361c594608d152d5d9650154c2e3260b87fa
Size (glib-1.2.10.tar.gz) = 421480 bytes
@@ -9,4 +9,4 @@
SHA1 (patch-ae) = 222a1f4c470fd1123deb3b4dd918b036b3607e59
SHA1 (patch-af) = 8fa1db64eb7a44e83e9e2ad483b12cf9fe50341e
SHA1 (patch-ag) = efdff0d20a1c3280c9916405a8d89190c68b9604
-SHA1 (patch-ai) = 8c81ff9ed494a00663ce92afc889050a4eb37218
+SHA1 (patch-ai) = 6f6e5727bcb52655865b689c923601843d8d453d
diff -r cd01f73163f6 -r 87a35daf9d95 devel/glib/patches/patch-ai
--- a/devel/glib/patches/patch-ai Mon Apr 12 19:37:03 2004 +0000
+++ b/devel/glib/patches/patch-ai Mon Apr 12 20:18:07 2004 +0000
@@ -1,17 +1,27 @@
-$NetBSD: patch-ai,v 1.3 2002/08/25 18:38:30 jlam Exp $
+$NetBSD: patch-ai,v 1.4 2004/04/12 20:18:07 jschauma Exp $
---- gthread/testgthread.c.orig Fri Jul 19 03:43:50 2002
-+++ gthread/testgthread.c Fri Jul 19 03:42:15 2002
-@@ -87,10 +87,10 @@
+--- gthread/testgthread.c.orig Mon Apr 12 14:24:40 2004
++++ gthread/testgthread.c Mon Apr 12 14:25:44 2004
+@@ -87,10 +87,22 @@
pthread_attr_setdetachstate (&pthread_attr, PTHREAD_CREATE_JOINABLE);
*/
pthread_create (&thread, &pthread_attr, (void *(*)(void *)) func, data);
-- return GUINT_TO_POINTER (thread);
++
++#ifdef __sgi
+ return GUINT_TO_POINTER (thread);
++#else
+ return thread;
++#endif
}
++
++#ifdef __sgi
#define join_thread(thread) \
-- pthread_join ((pthread_t)GPOINTER_TO_UINT (thread), NULL)
+ pthread_join ((pthread_t)GPOINTER_TO_UINT (thread), NULL)
++#else
++#define join_thread(thread) \
+ pthread_join ((thread), NULL)
++#endif
++
#define self_thread() GUINT_TO_POINTER (pthread_self ())
#else /* we are not having a thread implementation, do nothing */
Home |
Main Index |
Thread Index |
Old Index