diff options
author | wiz <wiz@pkgsrc.org> | 2000-12-20 01:23:04 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-12-20 01:23:04 +0000 |
commit | 902f967bcd7617bb44c544f7f89af3f9f23969f5 (patch) | |
tree | 847e6c4e895794372393808771bf14a62c3ebc00 /games | |
parent | d964059a9b533341e2f92aab63a25236c8468d32 (diff) | |
download | pkgsrc-902f967bcd7617bb44c544f7f89af3f9f23969f5.tar.gz |
Apply network patch from distribution site (to small to fetch, just added
it), and allow usage of CFLAGS from environment.
Patches supplied by Adam Ciarcinski in private mail.
Diffstat (limited to 'games')
-rw-r--r-- | games/rocksndiamonds/files/patch-sum | 5 | ||||
-rw-r--r-- | games/rocksndiamonds/patches/patch-ab | 4 | ||||
-rw-r--r-- | games/rocksndiamonds/patches/patch-ad | 16 |
3 files changed, 21 insertions, 4 deletions
diff --git a/games/rocksndiamonds/files/patch-sum b/games/rocksndiamonds/files/patch-sum index 22167adbac2..55145fb9114 100644 --- a/games/rocksndiamonds/files/patch-sum +++ b/games/rocksndiamonds/files/patch-sum @@ -1,5 +1,6 @@ -$NetBSD: patch-sum,v 1.2 2000/10/31 15:52:18 agc Exp $ +$NetBSD: patch-sum,v 1.3 2000/12/20 01:23:04 wiz Exp $ MD5 (patch-aa) = faebaa98a072b5b000e3f5f04c652845 -MD5 (patch-ab) = 08e5f33819e2d751d1bb693a6546cad5 +MD5 (patch-ab) = 8998f5fe7f0bbf6a90246faca9951410 MD5 (patch-ac) = 92ab6fe9f9c33b8b6d5bf14d6b822f6e +MD5 (patch-ad) = 37bd4a0193d7897c244193d886fdeb83 diff --git a/games/rocksndiamonds/patches/patch-ab b/games/rocksndiamonds/patches/patch-ab index 6eca101d5b7..83d48abefb2 100644 --- a/games/rocksndiamonds/patches/patch-ab +++ b/games/rocksndiamonds/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1.1.1 2000/01/03 17:23:27 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2000/12/20 01:23:05 wiz Exp $ --- src/Makefile.orig Sun Oct 24 18:51:53 1999 +++ src/Makefile Mon Jan 3 13:52:45 2000 @@ -25,7 +25,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/01/03 17:23:27 wiz Exp $ # SYSTEM = -DSYSV -Ae # may be needed for HP-UX -CFLAGS = $(OPTIONS) $(SYSTEM) $(INCL) $(CONFIG) -+CFLAGS += $(OPTIONS) $(SYSTEM) $(INCL) $(CONFIG) ++CFLAGS += $(SYSTEM) $(INCL) $(CONFIG) SRCS = main.c \ init.c \ diff --git a/games/rocksndiamonds/patches/patch-ad b/games/rocksndiamonds/patches/patch-ad new file mode 100644 index 00000000000..7a44cdf638f --- /dev/null +++ b/games/rocksndiamonds/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1 2000/12/20 01:23:05 wiz Exp $ + +--- src/network.c.orig Mon Oct 4 01:12:04 1999 ++++ src/network.c Tue Dec 19 13:26:26 2000 +@@ -237,9 +237,9 @@ + buffer[8] = (unsigned char)((new_random_seed >> 8) & 0xff); + buffer[9] = (unsigned char)((new_random_seed >> 0) & 0xff); + +- strcpy((char *)&buffer[10], leveldir_current->name); ++ strcpy((char *)&buffer[10], leveldir_current->filename); + +- SendBufferToServer(10 + strlen(leveldir_current->name) + 1); ++ SendBufferToServer(10 + strlen(leveldir_current->filename) + 1); + } + + void SendToServer_PausePlaying() |