diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-board/gmchess/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/gmchess/files')
-rw-r--r-- | games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch | 25 | ||||
-rw-r--r-- | games-board/gmchess/files/gmchess-0.29.6-gentoo.patch | 46 |
2 files changed, 71 insertions, 0 deletions
diff --git a/games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch b/games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch new file mode 100644 index 000000000000..6ef990460774 --- /dev/null +++ b/games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch @@ -0,0 +1,25 @@ +diff -ru gmchess-0.29.6.orig/configure.in gmchess-0.29.6/configure.in +--- gmchess-0.29.6.orig/configure.in 2011-11-28 07:22:56.000000000 -0500 ++++ gmchess-0.29.6/configure.in 2013-05-13 21:30:38.103817044 -0400 +@@ -4,7 +4,7 @@ + AC_PREREQ([2.63]) + AC_INIT(gmchess, 0.29.6, lerosua@gmail.com) + AC_CONFIG_SRCDIR([src/Pgnfile.cc]) +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + AM_INIT_AUTOMAKE(gmchess,0.29.6) + + +diff -ru gmchess-0.29.6.orig/data/gmchess.desktop.in gmchess-0.29.6/data/gmchess.desktop.in +--- gmchess-0.29.6.orig/data/gmchess.desktop.in 2009-09-07 08:08:47.000000000 -0400 ++++ gmchess-0.29.6/data/gmchess.desktop.in 2013-05-13 21:30:19.444462390 -0400 +@@ -1,4 +1,3 @@ +- + [Desktop Entry] + Name=Chinese chess + Name[zh_CN]=天书棋谈 +@@ -10,4 +9,3 @@ + Type=Application + Categories=GNOME;GTK;Game;BoardGame; + StartupNotify=true +-Encoding=UTF-8 diff --git a/games-board/gmchess/files/gmchess-0.29.6-gentoo.patch b/games-board/gmchess/files/gmchess-0.29.6-gentoo.patch new file mode 100644 index 000000000000..0952cda306b1 --- /dev/null +++ b/games-board/gmchess/files/gmchess-0.29.6-gentoo.patch @@ -0,0 +1,46 @@ +diff -ru gmchess-0.29.6.orig/configure.in gmchess-0.29.6/configure.in +--- gmchess-0.29.6.orig/configure.in 2011-11-28 07:22:56.000000000 -0500 ++++ gmchess-0.29.6/configure.in 2013-05-13 21:30:38.103817044 -0400 +@@ -4,7 +4,7 @@ + AC_PREREQ([2.63]) + AC_INIT(gmchess, 0.29.6, lerosua@gmail.com) + AC_CONFIG_SRCDIR([src/Pgnfile.cc]) +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + AM_INIT_AUTOMAKE(gmchess,0.29.6) + + +diff -ru gmchess-0.29.6.orig/data/gmchess.desktop.in gmchess-0.29.6/data/gmchess.desktop.in +--- gmchess-0.29.6.orig/data/gmchess.desktop.in 2009-09-07 08:08:47.000000000 -0400 ++++ gmchess-0.29.6/data/gmchess.desktop.in 2013-05-13 21:30:19.444462390 -0400 +@@ -1,4 +1,3 @@ +- + [Desktop Entry] + Name=Chinese chess + Name[zh_CN]=天书棋谈 +@@ -10,4 +9,3 @@ + Type=Application + Categories=GNOME;GTK;Game;BoardGame; + StartupNotify=true +-Encoding=UTF-8 +diff -ru gmchess-0.29.6.orig/src/engine/eleeye.cpp gmchess-0.29.6/src/engine/eleeye.cpp +--- gmchess-0.29.6.orig/src/engine/eleeye.cpp 2011-10-26 08:01:39.000000000 -0400 ++++ gmchess-0.29.6/src/engine/eleeye.cpp 2013-05-13 21:30:19.445462355 -0400 +@@ -35,7 +35,7 @@ + #elif __linux__ + #include <dlfcn.h> + #define WINAPI +- const char *const cszLibEvalFile = "../lib/libeval.so.0"; ++ const char *const cszLibEvalFile = "GAMES_LIBDIR/libeval.so.0"; + #elif __APPLE__ + #include <dlfcn.h> + const char *const cszLibEvalFile = "/usr/local/lib/libeval.0.dylib"; +@@ -125,7 +125,7 @@ + if (BootLine() != UCCI_COMM_UCCI) { + return 0; + } +- LocatePath(Search.szBookFile, "../share/gmchess/book.dat"); ++ LocatePath(Search.szBookFile, "GAMES_DATADIR/book.dat"); + //LocatePath(Search.szBookFile, "book.dat"); + LocatePath(szLibEvalFile, cszLibEvalFile); + hModule = LoadEvalApi(szLibEvalFile); |