diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-09-17 11:18:46 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-09-17 11:18:46 +0000 |
commit | 63119919393ab2855f3257c386eb5d25f331b895 (patch) | |
tree | 3054f6bf9656e7dc39803b752eca4311caa99548 /misc/gstreamer | |
parent | f9210651758a8e9733d076bbeb78aaa037727fd8 (diff) | |
download | pkgsrc-63119919393ab2855f3257c386eb5d25f331b895.tar.gz |
Fix build under alpha. From Jarkko Teppo in PR pkg/22831.
Diffstat (limited to 'misc/gstreamer')
-rw-r--r-- | misc/gstreamer/distinfo | 3 | ||||
-rw-r--r-- | misc/gstreamer/patches/patch-ac | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/gstreamer/distinfo b/misc/gstreamer/distinfo index 15049278dc3..6343690c078 100644 --- a/misc/gstreamer/distinfo +++ b/misc/gstreamer/distinfo @@ -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 --git a/misc/gstreamer/patches/patch-ac b/misc/gstreamer/patches/patch-ac new file mode 100644 index 00000000000..4f6684903ab --- /dev/null +++ b/misc/gstreamer/patches/patch-ac @@ -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 + |