summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/easysok/Makefile4
-rw-r--r--games/easysok/files/patch-src-piece_image_layer.cpp11
-rw-r--r--games/easysok/files/patch-src-pixmap_provider.cpp11
3 files changed, 26 insertions, 0 deletions
diff --git a/games/easysok/Makefile b/games/easysok/Makefile
index 9388bce48778..44d9bbaa6185 100644
--- a/games/easysok/Makefile
+++ b/games/easysok/Makefile
@@ -16,10 +16,14 @@ COMMENT= Easysok is a sokoban game for KDE3
USE_KDELIBS_VER= 3
USE_GMAKE= yes
USE_LIBTOOL= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+pre-configure:
+ ${REINPLACE_CMD} -e 's|-pedantic ||g' ${WRKSRC}/configure
+
.include <bsd.port.mk>
diff --git a/games/easysok/files/patch-src-piece_image_layer.cpp b/games/easysok/files/patch-src-piece_image_layer.cpp
new file mode 100644
index 000000000000..a49d16bb7a97
--- /dev/null
+++ b/games/easysok/files/patch-src-piece_image_layer.cpp
@@ -0,0 +1,11 @@
+--- src/piece_image_layer.cpp.orig Mon Aug 4 16:08:12 2003
++++ src/piece_image_layer.cpp Mon Aug 4 16:08:27 2003
+@@ -21,7 +21,7 @@
+ #include "piece_image_layer.h"
+
+ #include <qdom.h>
+-
++#include <assert.h>
+ #include <kglobal.h>
+ #include <kstddirs.h>
+
diff --git a/games/easysok/files/patch-src-pixmap_provider.cpp b/games/easysok/files/patch-src-pixmap_provider.cpp
new file mode 100644
index 000000000000..c7f9dfa5d760
--- /dev/null
+++ b/games/easysok/files/patch-src-pixmap_provider.cpp
@@ -0,0 +1,11 @@
+--- src/pixmap_provider.cpp.orig Mon Aug 4 16:12:21 2003
++++ src/pixmap_provider.cpp Mon Aug 4 16:12:33 2003
+@@ -21,7 +21,7 @@
+ #include "pixmap_provider.h"
+
+ #include <qwmatrix.h>
+-
++#include <assert.h>
+ #include <kglobal.h>
+ #include <kstddirs.h>
+