aboutsummaryrefslogtreecommitdiffstats
path: root/games/easysok
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-04 22:29:26 +0800
committerkrion <krion@FreeBSD.org>2003-08-04 22:29:26 +0800
commit82e72125579696e423c95d04699129e50bd6f68f (patch)
tree1a91a38e31653ec15ba8435b610ebde13dc86e29 /games/easysok
parent0bb2b4043cf41bb855bd88dc236793deb0c85267 (diff)
downloadfreebsd-ports-gnome-82e72125579696e423c95d04699129e50bd6f68f.tar.gz
freebsd-ports-gnome-82e72125579696e423c95d04699129e50bd6f68f.tar.zst
freebsd-ports-gnome-82e72125579696e423c95d04699129e50bd6f68f.zip
Unbreak on -current
Reported by: kris via bento Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'games/easysok')
-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>
+