summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2008-05-28 12:10:26 +0000
committerdsainty <dsainty@pkgsrc.org>2008-05-28 12:10:26 +0000
commit69a5518a1b4b8781da1aa28fd5340892a2573c0d (patch)
treee2f8a92ea25cfa5bcc6905d682b6390c21a47d44 /games
parent2c396127236dbd91d214fe87b4583b62e1a3af61 (diff)
downloadpkgsrc-69a5518a1b4b8781da1aa28fd5340892a2573c0d.tar.gz
Add a little more patch context for one hunk for Linux patch(1). No functional change on less picky patchers (everyone else)
Diffstat (limited to 'games')
-rw-r--r--games/xblast/distinfo4
-rw-r--r--games/xblast/patches/patch-ab7
2 files changed, 7 insertions, 4 deletions
diff --git a/games/xblast/distinfo b/games/xblast/distinfo
index f838f864d4b..353d554a192 100644
--- a/games/xblast/distinfo
+++ b/games/xblast/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2006/05/07 03:16:48 dsainty Exp $
+$NetBSD: distinfo,v 1.6 2008/05/28 12:10:26 dsainty Exp $
SHA1 (xblast-2.10.2.tar.gz) = 1ff0b26ac003aa68df964ad6a8e44505d82de5fd
RMD160 (xblast-2.10.2.tar.gz) = b958fe9d130e1cbb13fe71119411f6ad50420f74
@@ -18,4 +18,4 @@ Size (musics-2005-01-06.tar.gz) = 5317575 bytes
SHA1 (sounds.tar.gz) = 8875628de0dda4d4f79ffe324f7e8e560c4e0471
RMD160 (sounds.tar.gz) = 9a8e0b488f80a9e54a1492368a68ffd7d2562acc
Size (sounds.tar.gz) = 1612625 bytes
-SHA1 (patch-ab) = b6925afa3379a2ab7dac803876e196cb469f13ac
+SHA1 (patch-ab) = a89cbe895f83c553948f0e61eb9d48a6c001a79a
diff --git a/games/xblast/patches/patch-ab b/games/xblast/patches/patch-ab
index 0381cc131bf..44edb6e107d 100644
--- a/games/xblast/patches/patch-ab
+++ b/games/xblast/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2006/05/07 03:16:48 dsainty Exp $
+$NetBSD: patch-ab,v 1.4 2008/05/28 12:10:26 dsainty Exp $
Purge the unnecessary complication of PID_FORMAT, and add NetBSD support. Use
OSS for sound for NetBSD, because the Sun support is a bit too Sun-centric.
@@ -16,7 +16,7 @@ OSS for sound for NetBSD, because the Sun support is a bit too Sun-centric.
/* needed for bzero(), open()*/
#include <strings.h>
#include <fcntl.h>
-@@ -58,8 +56,6 @@
+@@ -58,11 +56,9 @@
#include <sys/stropts.h>
#endif
#else
@@ -27,6 +27,9 @@ OSS for sound for NetBSD, because the Sun support is a bit too Sun-centric.
-#include <machine/soundcard.h>
+#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#include <sys/soundcard.h>
+ #else
+ #include <linux/soundcard.h>
+ #endif
@@ -499,18 +495,18 @@
ptr=fopen(userPath ,"r+");
if(ptr==NULL){