diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-17 23:34:57 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-17 23:34:57 +0200 |
commit | 75e55ab32114eeaa7a3299166227e0097d135f77 (patch) | |
tree | 93ac26ca93a5089ce51a47c10bf42fe1a3d737df /games/jfsw/patches/jfbuild_src_20051009.patch | |
parent | 6ba4513fd83ec8bb63804f6d8408ebb4c68753ab (diff) | |
download | slackbuilds-75e55ab32114eeaa7a3299166227e0097d135f77.tar.gz |
games/jfsw: fix patches that got screwed up on import to git
Diffstat (limited to 'games/jfsw/patches/jfbuild_src_20051009.patch')
-rw-r--r-- | games/jfsw/patches/jfbuild_src_20051009.patch | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/games/jfsw/patches/jfbuild_src_20051009.patch b/games/jfsw/patches/jfbuild_src_20051009.patch index 653013043a..5cf0cb2feb 100644 --- a/games/jfsw/patches/jfbuild_src_20051009.patch +++ b/games/jfsw/patches/jfbuild_src_20051009.patch @@ -2,14 +2,14 @@ diff -Nur jfbuild_src_20051009.orig/include/editor.h jfbuild_src_20051009/includ --- jfbuild_src_20051009.orig/include/editor.h 2005-10-09 15:23:02.000000000 +0200 +++ jfbuild_src_20051009/include/editor.h 2005-10-10 15:06:18.000000000 +0200 @@ -18,7 +18,7 @@ - - extern short temppicnum, tempcstat, templotag, temphitag, tempextra; - extern char tempshade, temppal, tempxrepeat, tempyrepeat; --extern char somethingintab; -+static char somethingintab; - - extern char buildkeys[NUMBUILDKEYS]; - +
+ extern short temppicnum, tempcstat, templotag, temphitag, tempextra;
+ extern char tempshade, temppal, tempxrepeat, tempyrepeat;
+-extern char somethingintab;
++static char somethingintab;
+
+ extern char buildkeys[NUMBUILDKEYS];
+
diff -Nur jfbuild_src_20051009.orig/Makefile jfbuild_src_20051009/Makefile --- jfbuild_src_20051009.orig/Makefile 2005-10-09 15:23:00.000000000 +0200 +++ jfbuild_src_20051009/Makefile 2005-10-10 15:06:22.000000000 +0200 @@ -38,22 +38,22 @@ diff -Nur jfbuild_src_20051009.orig/src/crc32.c jfbuild_src_20051009/src/crc32.c --- jfbuild_src_20051009.orig/src/crc32.c 2005-10-09 15:23:00.000000000 +0200 +++ jfbuild_src_20051009/src/crc32.c 2005-10-10 15:06:18.000000000 +0200 @@ -73,16 +73,6 @@ - } - } - -- --unsigned long crc32(unsigned char *blk, unsigned long len) --{ -- unsigned long crc; -- -- crc32init(&crc); -- crc32block(&crc, blk, len); -- return crc32finish(&crc); --} -- - void crc32init(unsigned long *crcvar) - { - if (!crcvar) return; + }
+ }
+
+-
+-unsigned long crc32(unsigned char *blk, unsigned long len)
+-{
+- unsigned long crc;
+-
+- crc32init(&crc);
+- crc32block(&crc, blk, len);
+- return crc32finish(&crc);
+-}
+-
+ void crc32init(unsigned long *crcvar)
+ {
+ if (!crcvar) return;
diff -Nur jfbuild_src_20051009.orig/src/sdlayer.c jfbuild_src_20051009/src/sdlayer.c --- jfbuild_src_20051009.orig/src/sdlayer.c 2005-10-09 15:23:00.000000000 +0200 +++ jfbuild_src_20051009/src/sdlayer.c 2005-10-10 15:06:22.000000000 +0200 |