summaryrefslogtreecommitdiff
path: root/games-roguelike/zangband/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-roguelike/zangband/files
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-roguelike/zangband/files')
-rw-r--r--games-roguelike/zangband/files/zangband-2.7.4c-configure.patch51
-rw-r--r--games-roguelike/zangband/files/zangband-2.7.4c-makefile.patch29
-rw-r--r--games-roguelike/zangband/files/zangband-2.7.4c-rng.patch11
-rw-r--r--games-roguelike/zangband/files/zangband-2.7.4c-tk85.patch19
4 files changed, 0 insertions, 110 deletions
diff --git a/games-roguelike/zangband/files/zangband-2.7.4c-configure.patch b/games-roguelike/zangband/files/zangband-2.7.4c-configure.patch
deleted file mode 100644
index 756ea757845c..000000000000
--- a/games-roguelike/zangband/files/zangband-2.7.4c-configure.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- configure.in.orig
-+++ configure.in
-@@ -236,48 +236,5 @@
- AC_CHECK_FUNCS([Tk_SetClassProcs TkpSync])
- AC_CHECK_FUNCS([mkstemp usleep getpwuid getpwnam shmget])
-
--dnl A nice function to test compiler options (like warnings)
--AC_DEFUN(AC_CHECK_CC_OPT,
--[FLAG=`echo zangband_cv_cflag_$1 | sed s/-/_/g`
--AC_CACHE_CHECK([whether ${CC-cc} accepts $1],
--[$FLAG],
--[echo 'void f(void); void f(){}' > conftest.c
--if test -z "`${CC-cc} -c ${CFLAGS} $1 conftest.c 2>&1`"; then
-- eval $FLAG=yes
--else
-- eval $FLAG=no
--fi])
--if test ${!FLAG} = yes ; then
-- CFLAGS="$1 $CFLAGS"
--fi
--])
--
--dnl Check for lots of extra warning options
--AC_CHECK_CC_OPT(-pedantic)
--AC_CHECK_CC_OPT(-W)
--AC_CHECK_CC_OPT(-Wall)
--AC_CHECK_CC_OPT(-Wmissing-prototypes)
--AC_CHECK_CC_OPT(-Wmissing-declarations)
--AC_CHECK_CC_OPT(-Wno-long-long)
--AC_CHECK_CC_OPT(-Wwrite-strings)
--AC_CHECK_CC_OPT(-Wpointer-arith)
--AC_CHECK_CC_OPT(-Wbad-function-cast)
--AC_CHECK_CC_OPT(-Waggregate-return)
--AC_CHECK_CC_OPT(-Wstrict-prototypes)
--AC_CHECK_CC_OPT(-Wredundant-decls)
--dnl AC_CHECK_CC_OPT(-Wunreachable-code)
--AC_CHECK_CC_OPT(-Wchar-subscripts)
--AC_CHECK_CC_OPT(-Wimplicit)
--AC_CHECK_CC_OPT(-Wparentheses)
--AC_CHECK_CC_OPT(-Wsequence-point)
--AC_CHECK_CC_OPT(-Wreturn-type)
--AC_CHECK_CC_OPT(-Wswitch)
--AC_CHECK_CC_OPT(-Wunused)
--AC_CHECK_CC_OPT(-Wuninitialized)
--AC_CHECK_CC_OPT(-Wundef)
--AC_CHECK_CC_OPT(-Wnested-externs)
--AC_CHECK_CC_OPT(-Wdeclaration-after-statement)
--AC_CHECK_CC_OPT(-Wsign-compare)
--
- AC_CONFIG_FILES([makefile])
- AC_OUTPUT
diff --git a/games-roguelike/zangband/files/zangband-2.7.4c-makefile.patch b/games-roguelike/zangband/files/zangband-2.7.4c-makefile.patch
deleted file mode 100644
index bae74904cf02..000000000000
--- a/games-roguelike/zangband/files/zangband-2.7.4c-makefile.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- makefile.in.orig
-+++ makefile.in
-@@ -111,17 +111,6 @@
- %.o: %.c
- $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) $< -c -o $@ $(DEFS)
-
--##
--## Hack - make sure the build system is consistant.
--##
--makefile: configure makefile.in
-- $(CONFIGURE)
--
--configure: configure.in
-- aclocal
-- autoheader
-- autoconf
--
- dirs:
- -mkdir $(DESTDIR)
- -mkdir $(addprefix $(DESTDIR),$(filter-out $(srcdirlist), $(dirlist)))
-@@ -205,7 +194,7 @@
- @echo $(srcdirlist) $(srcfiles)
-
- # Hack to remake files depending on DEFAULT_PATH
--.default_path: makefile
-+.default_path:
- @if [ ! -r .default_path ]; then \
- echo "$(DESTDIR)" > .default_path; \
- fi
diff --git a/games-roguelike/zangband/files/zangband-2.7.4c-rng.patch b/games-roguelike/zangband/files/zangband-2.7.4c-rng.patch
deleted file mode 100644
index 4ac1b101dc8c..000000000000
--- a/games-roguelike/zangband/files/zangband-2.7.4c-rng.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- zangband/src/z-rand.c
-+++ zangband/src/z-rand.c
-@@ -168,7 +168,7 @@
- r = (Rand_state[j] += Rand_state[Rand_place]);
-
- /* Hack -- extract a 28-bit "random" number */
-- r = (r >> 4) / n;
-+ r = ((r >> 4) & 0x0FFFFFFF) / n;
-
- /* Advance the index */
- Rand_place = j;
diff --git a/games-roguelike/zangband/files/zangband-2.7.4c-tk85.patch b/games-roguelike/zangband/files/zangband-2.7.4c-tk85.patch
deleted file mode 100644
index 73ea2ab5f9dc..000000000000
--- a/games-roguelike/zangband/files/zangband-2.7.4c-tk85.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- configure.in.orig
-+++ configure.in
-@@ -141,12 +141,12 @@
- ])
-
- if test "x$with_tcltk" != "xno" ; then
-- AC_SEARCH_LIBS([Tcl_Init], [tcl84 tcl8.4 tcl83 tcl8.3],
-- AC_SEARCH_LIBS([Tk_Init], [tk84 tk8.4 tk83 tk8.3],
-- [AC_SEARCH_HEADERS(/usr/local/include/tcl.h /usr/local/include/tcl/tcl.h /usr/include/tcl.h /usr/include/tcl8.4/tcl.h /usr/local/include/tcl8.4/tcl.h /usr/include/tcl8.3/tcl.h /usr/local/include/tcl8.3/tcl.h
-+ AC_SEARCH_LIBS([Tcl_Init], [tcl86 tcl8.6 tcl85 tcl8.5 tcl84 tcl8.4 tcl83 tcl8.3],
-+ AC_SEARCH_LIBS([Tk_Init], [tk86 tk8.6 tk85 tk8.5 tk84 tk8.4 tk83 tk8.3],
-+ [AC_SEARCH_HEADERS(/usr/local/include/tcl.h /usr/local/include/tcl/tcl.h /usr/include/tcl.h /usr/include/tcl8.5/tcl.h /usr/include/tcl8.4/tcl.h /usr/local/include/tcl8.4/tcl.h /usr/include/tcl8.3/tcl.h /usr/local/include/tcl8.3/tcl.h
- ,BASE_TCL_DIR)
-
-- AC_SEARCH_HEADERS("$BASE_TCL_DIR/tk.h" /usr/local/include/tk.h /usr/local/include/tcl/tk.h /usr/include/tk.h /usr/include/tk8.4/tk.h /usr/local/include/tk8.4/tk.h /usr/include/tk8.3/tk.h /usr/local/include/tk8.3/tk.h
-+ AC_SEARCH_HEADERS("$BASE_TCL_DIR/tk.h" /usr/local/include/tk.h /usr/local/include/tcl/tk.h /usr/include/tk.h /usr/include/tk8.6/tk.h /usr/include/tk8.5/tk.h /usr/include/tk8.4/tk.h /usr/local/include/tk8.4/tk.h /usr/include/tk8.3/tk.h /usr/local/include/tk8.3/tk.h
- ,BASE_TK_DIR)
-
- dnl Checks for libraries.