diff options
author | mycroft <mycroft@pkgsrc.org> | 2002-07-19 03:47:00 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2002-07-19 03:47:00 +0000 |
commit | ddd6759b837c74bb8fc625239030c894afa9f21f (patch) | |
tree | a5cfaaee6fa472a6cd8f38f75f77701b52c36866 /devel/glib | |
parent | 26b2b82afdb50b9216885ef0581f2e2cace5ce60 (diff) | |
download | pkgsrc-ddd6759b837c74bb8fc625239030c894afa9f21f.tar.gz |
Fix LP64 bugs in testgthread, so `make check' works.
Diffstat (limited to 'devel/glib')
-rw-r--r-- | devel/glib/distinfo | 3 | ||||
-rw-r--r-- | devel/glib/patches/patch-ai | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/glib/distinfo b/devel/glib/distinfo index 842f0e4e457..db58309f007 100644 --- a/devel/glib/distinfo +++ b/devel/glib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2002/07/18 02:19:30 rh Exp $ +$NetBSD: distinfo,v 1.5 2002/07/19 03:47:00 mycroft Exp $ SHA1 (glib-1.2.10.tar.gz) = e5a9361c594608d152d5d9650154c2e3260b87fa Size (glib-1.2.10.tar.gz) = 421480 bytes @@ -10,3 +10,4 @@ SHA1 (patch-ae) = 222a1f4c470fd1123deb3b4dd918b036b3607e59 SHA1 (patch-af) = a1fa53f4c903f42b3f6490abf910ce6276eae5c7 SHA1 (patch-ag) = f475066fa24d77b9c5f182abbd060bbb40023de6 SHA1 (patch-ah) = be1e06b11cdd6fb91d371101b46ba9dda7935107 +SHA1 (patch-ai) = 4772651ead781f8024da4577f9fea471d21dca5d diff --git a/devel/glib/patches/patch-ai b/devel/glib/patches/patch-ai new file mode 100644 index 00000000000..56c16fc260d --- /dev/null +++ b/devel/glib/patches/patch-ai @@ -0,0 +1,17 @@ +$NetBSD: patch-ai,v 1.1 2002/07/19 03:47:01 mycroft Exp $ + +--- testgthread.c.orig Fri Jul 19 03:43:50 2002 ++++ testgthread.c Fri Jul 19 03:42:15 2002 +@@ -87,10 +87,10 @@ + pthread_attr_setdetachstate (&pthread_attr, PTHREAD_CREATE_JOINABLE); + */ + pthread_create (&thread, &pthread_attr, (void *(*)(void *)) func, data); +- return GUINT_TO_POINTER (thread); ++ return thread; + } + #define join_thread(thread) \ +- pthread_join ((pthread_t)GPOINTER_TO_UINT (thread), NULL) ++ pthread_join ((thread), NULL) + #define self_thread() GUINT_TO_POINTER (pthread_self ()) + + #else /* we are not having a thread implementation, do nothing */ |