From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../eboard/files/eboard-1.1.1-as-needed.patch | 22 ++++++++++++++++++++++ games-board/eboard/files/eboard-1.1.1-gcc44.patch | 11 +++++++++++ .../eboard/files/eboard-1.1.1-libpng15.patch | 16 ++++++++++++++++ .../eboard/files/eboard-1.1.1-ovflfix.patch | 22 ++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 games-board/eboard/files/eboard-1.1.1-as-needed.patch create mode 100644 games-board/eboard/files/eboard-1.1.1-gcc44.patch create mode 100644 games-board/eboard/files/eboard-1.1.1-libpng15.patch create mode 100644 games-board/eboard/files/eboard-1.1.1-ovflfix.patch (limited to 'games-board/eboard/files') diff --git a/games-board/eboard/files/eboard-1.1.1-as-needed.patch b/games-board/eboard/files/eboard-1.1.1-as-needed.patch new file mode 100644 index 000000000000..199dd0e70a2d --- /dev/null +++ b/games-board/eboard/files/eboard-1.1.1-as-needed.patch @@ -0,0 +1,22 @@ +--- a/configure 2009-02-03 14:46:21.000000000 +0100 ++++ b/configure 2009-02-03 14:48:13.000000000 +0100 +@@ -638,7 +638,7 @@ + + print CONFIGMAKE "CXX = $cxx\n"; + print CONFIGMAKE "CXXFLAGS = @cxxflags\n"; +-print CONFIGMAKE "LDFLAGS = @ldflags\n"; ++print CONFIGMAKE "LDLIBS = @ldflags\n"; + + print CONFIGMAKE "prefix = \${DESTDIR}$prefix\n"; + print CONFIGMAKE "bindir = \${DESTDIR}$prefix/bin\n"; +--- a/elifekam 2009-02-03 14:48:43.000000000 +0100 ++++ b/elifekam 2009-02-03 14:48:58.000000000 +0100 +@@ -24,7 +24,7 @@ + all: eboard nls-dicts + + eboard: $(OBJS) +- $(CXX) $(LDFLAGS) -o eboard $(OBJS) ++ $(CXX) $(LDFLAGS) -o eboard $(OBJS) $(LDLIBS) + + .cc.o: $< $(HEADERS) $(XPMS) + $(CXX) $(CXXFLAGS) -c $< -o $@ diff --git a/games-board/eboard/files/eboard-1.1.1-gcc44.patch b/games-board/eboard/files/eboard-1.1.1-gcc44.patch new file mode 100644 index 000000000000..60e7d81fcdb2 --- /dev/null +++ b/games-board/eboard/files/eboard-1.1.1-gcc44.patch @@ -0,0 +1,11 @@ +--- a/ntext.cc ++++ b/ntext.cc +@@ -244,7 +244,7 @@ + return; + } + +- p = strchr(text, '\n'); ++ p = strchr((char *)text, '\n'); + if (p!=NULL) { + *p = 0; + i = strlen(text); diff --git a/games-board/eboard/files/eboard-1.1.1-libpng15.patch b/games-board/eboard/files/eboard-1.1.1-libpng15.patch new file mode 100644 index 000000000000..cd0ccf8b4f20 --- /dev/null +++ b/games-board/eboard/files/eboard-1.1.1-libpng15.patch @@ -0,0 +1,16 @@ +--- a/cimg.cc ++++ b/cimg.cc +@@ -94,11 +95,11 @@ + ct == PNG_COLOR_TYPE_GRAY_ALPHA) + png_set_gray_to_rgb(pngp); + +- alloc(pngp->width,pngp->height); ++ alloc(width,height); + if (!ok) { fclose(f); return; } + ok = 0; + +- for(i=0;iheight;i++) { ++ for(i=0;i= 1024) { + failure = 1; -- cgit v1.2.3