diff options
author | fredb <fredb@pkgsrc.org> | 2002-05-03 17:54:18 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-05-03 17:54:18 +0000 |
commit | b376746088300f04e9585561dd36bf9b04fda9cf (patch) | |
tree | 14c71f63457f2b5b82b6a3ef33414fbbc27af9eb /graphics | |
parent | 466dbc8497956ae53da09d1a5b99b98b3c6fde31 (diff) | |
download | pkgsrc-b376746088300f04e9585561dd36bf9b04fda9cf.tar.gz |
Let this package build on NetBSD-1.5.*, too (with same patch as committed
to "mplayer").
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gmplayer/distinfo | 3 | ||||
-rw-r--r-- | graphics/gmplayer/patches/patch-ab | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/graphics/gmplayer/distinfo b/graphics/gmplayer/distinfo index f0a00cc2e22..f2f40f725d9 100644 --- a/graphics/gmplayer/distinfo +++ b/graphics/gmplayer/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2002/04/30 15:09:57 veego Exp $ +$NetBSD: distinfo,v 1.3 2002/05/03 17:54:18 fredb Exp $ SHA1 (gmplayer/MPlayer-0.90pre2.tar.bz2) = 51f70a14f43af7cddd17df8c3b2f59207a56ca6d Size (gmplayer/MPlayer-0.90pre2.tar.bz2) = 2382376 bytes @@ -39,3 +39,4 @@ Size (gmplayer/AlienMind.tar.bz2) = 129515 bytes SHA1 (gmplayer/CornerMP.tar.bz2) = d46a59c33abcc27ddc24be3124d3f4d23361e836 Size (gmplayer/CornerMP.tar.bz2) = 237492 bytes SHA1 (patch-aa) = 514deb9f9e8264ba964a7d5425fa5f3d97b62829 +SHA1 (patch-ab) = c7336ba70c1a70c0e5717375930ebf61399e008d diff --git a/graphics/gmplayer/patches/patch-ab b/graphics/gmplayer/patches/patch-ab new file mode 100644 index 00000000000..214d116cf8b --- /dev/null +++ b/graphics/gmplayer/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.3 2002/05/03 17:54:18 fredb Exp $ + +--- libdha/mtrr.c.orig Sun Apr 28 00:42:24 2002 ++++ libdha/mtrr.c +@@ -13,9 +13,12 @@ + #include "AsmMacros.h" + + #if defined (__i386__) && defined (__NetBSD__) ++#include <sys/param.h> ++#if __NetBSD_Version__ > 105240000 + #include <stdint.h> +-#include <stdlib.h> + #include <machine/mtrr.h> ++#endif ++#include <stdlib.h> + #include <machine/sysarch.h> + #endif + +@@ -46,7 +49,7 @@ + return wr_len == strlen(sout) ? 0 : EPERM; + } + return ENOSYS; +-#elif defined (__NetBSD__) ++#elif defined (__NetBSD__) && (__NetBSD_Version__ > 105240000) + struct mtrr *mtrrp; + int n; + |