diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-board/ascal/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/ascal/files')
-rw-r--r-- | games-board/ascal/files/ascal-0.1.1-gcc43.patch | 30 | ||||
-rw-r--r-- | games-board/ascal/files/ascal-0.1.1-install.patch | 70 |
2 files changed, 100 insertions, 0 deletions
diff --git a/games-board/ascal/files/ascal-0.1.1-gcc43.patch b/games-board/ascal/files/ascal-0.1.1-gcc43.patch new file mode 100644 index 000000000000..b2a55584fb0b --- /dev/null +++ b/games-board/ascal/files/ascal-0.1.1-gcc43.patch @@ -0,0 +1,30 @@ +--- a/src/gui.cpp 2009-01-18 21:11:58.000000000 +0100 ++++ b/src/gui.cpp 2009-01-18 21:12:33.000000000 +0100 +@@ -21,6 +21,7 @@ + #include "shareddata.hpp" + #include "config.h" + #include <string> ++#include <libintl.h> + + gui::gui(shareddata *newData): GuiBoard() { + //clean, cleaner - pointer ;) +--- a/src/gui_board.cpp 2009-01-18 21:13:30.000000000 +0100 ++++ b/src/gui_board.cpp 2009-01-18 21:13:50.000000000 +0100 +@@ -20,6 +20,7 @@ + #include <math.h> + #include "helper.h" + #include <stack> ++#include <libintl.h> + + + gui_board::gui_board() { +--- a/src/board.cpp 2009-01-18 21:14:27.000000000 +0100 ++++ b/src/board.cpp 2009-01-18 21:14:58.000000000 +0100 +@@ -15,6 +15,7 @@ + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + #include "board.hpp" ++#include <cstdlib> + //#define DEBUG + #include "ourmove.hpp" + #include "helper.h" diff --git a/games-board/ascal/files/ascal-0.1.1-install.patch b/games-board/ascal/files/ascal-0.1.1-install.patch new file mode 100644 index 000000000000..51a82a535eb8 --- /dev/null +++ b/games-board/ascal/files/ascal-0.1.1-install.patch @@ -0,0 +1,70 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -63,9 +63,6 @@ + AC_DEFINE(DEBUG, 1, [Enable debug msg.]) + CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`] + CPPFLAGS="$CPPFLAGS -g -O0" +-else +- CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`] +- CPPFLAGS="$CPPFLAGS -O3" + fi + + AC_ARG_ENABLE(Werror, +@@ -74,7 +71,7 @@ + ) + + if test "$enable_Werror" = yes; then +- CPPFLAGS="$CPPFLAGS -Werror -Wall" ++ CPPFLAGS="$CPPFLAGS -Wall" + fi + + AC_ARG_ENABLE(static, +--- a/m4/Makefile.am ++++ b/m4/Makefile.am +@@ -15,6 +15,5 @@ + m4macros = + + # The following is boilerplate +-m4data_DATA = $(m4macros) + EXTRA_DIST = + +--- a/Makefile.am ++++ b/Makefile.am +@@ -17,13 +17,12 @@ + + ACLOCAL_AMFLAGS = -I m4 + +-pixmapdir = $(datadir)/pixmaps ++pixmapdir = /usr/share/pixmaps + pixmap_DATA = ascal.png + +-desktopdir = $(datadir)/applications ++desktopdir = /usr/share/applications + desktop_in_files = ascal.desktop.in +-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + + @INTLTOOL_DESKTOP_RULE@ + +-#include aminclude.am +\ No newline at end of file ++#include aminclude.am +--- a/po/Makefile.in.in ++++ b/po/Makefile.in.in +@@ -34,7 +34,7 @@ + datarootdir = @datarootdir@ + libdir = @libdir@ + DATADIRNAME = @DATADIRNAME@ +-itlocaledir = $(prefix)/$(DATADIRNAME)/locale ++itlocaledir = /usr/share/locale + subdir = po + install_sh = @install_sh@ + # Automake >= 1.8 provides @mkdir_p@. +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -50,5 +50,5 @@ + + + +-INCLUDES = $(ASCAL_CFLAGS) $(GTKMM) -DLOCALEDIR=\""$(datadir)/locale"\" -DASCAL_DATA_PREFIX=\""$(ASCAL_DATA_PREFIX)"\" ++INCLUDES = $(ASCAL_CFLAGS) $(GTKMM) -DLOCALEDIR=\""/usr/share/locale"\" -DASCAL_DATA_PREFIX=\""$(ASCAL_DATA_PREFIX)"\" + LIBS = $(ASCAL_LIBS) $(GTKMM) |