diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2006-09-20 11:21:59 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2006-09-20 11:21:59 +0000 |
commit | 0d2725682b8325a08b11592d11062997bb9dc7f2 (patch) | |
tree | 46ab0c86563bfc2fbab1ecc5f9dadffb47afe737 /games/openmortal | |
parent | 750f1f56ed3264341b911b1182fc2f3f4dd609c2 (diff) | |
download | ports-0d2725682b8325a08b11592d11062997bb9dc7f2.tar.gz ports-0d2725682b8325a08b11592d11062997bb9dc7f2.zip |
Notes
Diffstat (limited to 'games/openmortal')
-rw-r--r-- | games/openmortal/Makefile | 6 | ||||
-rw-r--r-- | games/openmortal/files/patch-src_gfx.cpp | 11 | ||||
-rw-r--r-- | games/openmortal/files/patch-src_sge_tt_text.cpp | 10 |
3 files changed, 22 insertions, 5 deletions
diff --git a/games/openmortal/Makefile b/games/openmortal/Makefile index f187be3c2ad0..0993676b806d 100644 --- a/games/openmortal/Makefile +++ b/games/openmortal/Makefile @@ -7,6 +7,7 @@ PORTNAME= openmortal PORTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -25,11 +26,6 @@ CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" post-patch: - @${REINPLACE_CMD} -e 's|sdl-config|sdl11-config|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC}/src -name "*.cpp" | ${XARGS} \ - ${REINPLACE_CMD} -e 's|SDL/|SDL11/|g' -e 's|<malloc.h>|<stdlib.h>|g' - @${FIND} ${WRKSRC} -name "*.h" | ${XARGS} \ - ${REINPLACE_CMD} -e 's|SDL/|SDL11/|g' -e 's|<malloc.h>|<stdlib.h>|g' .include <bsd.port.pre.mk> diff --git a/games/openmortal/files/patch-src_gfx.cpp b/games/openmortal/files/patch-src_gfx.cpp new file mode 100644 index 000000000000..c1c21476c0a1 --- /dev/null +++ b/games/openmortal/files/patch-src_gfx.cpp @@ -0,0 +1,11 @@ +--- src/gfx.cpp.orig Tue Sep 12 18:28:52 2006 ++++ src/gfx.cpp Tue Sep 12 18:29:04 2006 +@@ -7,7 +7,7 @@ + ***************************************************************************/
+
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+
+ #include "SDL.h"
diff --git a/games/openmortal/files/patch-src_sge_tt_text.cpp b/games/openmortal/files/patch-src_sge_tt_text.cpp new file mode 100644 index 000000000000..0df428b3db45 --- /dev/null +++ b/games/openmortal/files/patch-src_sge_tt_text.cpp @@ -0,0 +1,10 @@ +--- src/sge_tt_text.cpp.orig Tue Sep 12 18:29:07 2006 ++++ src/sge_tt_text.cpp Tue Sep 12 18:29:12 2006 +@@ -26,7 +26,6 @@ + + #include "SDL.h" + #include <stdlib.h> +-#include <malloc.h> + #include <memory.h> + #include <string.h> + #include <stdarg.h> |