pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/gstreamer Fix build under alpha. From Jarkko Tep...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb59c89687c7
branches:  trunk
changeset: 461517:eb59c89687c7
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Sep 17 11:18:46 2003 +0000

description:
Fix build under alpha.  From Jarkko Teppo in PR pkg/22831.

diffstat:

 misc/gstreamer/distinfo         |   3 ++-
 misc/gstreamer/patches/patch-ac |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r a796964dd115 -r eb59c89687c7 misc/gstreamer/distinfo
--- a/misc/gstreamer/distinfo   Wed Sep 17 07:17:09 2003 +0000
+++ b/misc/gstreamer/distinfo   Wed Sep 17 11:18:46 2003 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2003/05/12 22:26:46 augustss Exp $
+$NetBSD: distinfo,v 1.5 2003/09/17 11:18:46 jmmv Exp $
 
 SHA1 (gstreamer-0.6.1.tar.bz2) = 9d5dbc733a1912d1e180537e6648e994329fbd5b
 Size (gstreamer-0.6.1.tar.bz2) = 1063325 bytes
 SHA1 (patch-aa) = 7106102c2310f998f812a39d3eef6af4384f291b
 SHA1 (patch-ab) = 7f4a647cddb653c967995ceae5357fcdce15e6cb
+SHA1 (patch-ac) = 01195fe9a27225c739203e9b3a77d4bfb356a398
diff -r a796964dd115 -r eb59c89687c7 misc/gstreamer/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gstreamer/patches/patch-ac   Wed Sep 17 11:18:46 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2003/09/17 11:18:47 jmmv Exp $
+
+--- libs/ext/cothreads/cothreads/cothreads.c.orig      2003-02-02 01:05:38.000000000 +0100
++++ libs/ext/cothreads/cothreads/cothreads.c
+@@ -422,7 +422,7 @@ cothreads_alloc_thread_stack (void** sta
+   *stack = malloc (_cothreads_chunk_size * (1.0 + 1.0/_cothreads_count));
+   if (!stack)
+     return FALSE;
+-  *stack = (void*)((int)*stack &~ (int)(_cothreads_chunk_size / _cothreads_count - 1));
++  *stack = (void*)((intptr_t)*stack &~ (intptr_t)(_cothreads_chunk_size / _cothreads_count - 1));
+   *stack += 1;
+ #endif
+ 



Home | Main Index | Thread Index | Old Index