diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-04-23 22:22:51 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-04-23 22:22:51 +0000 |
commit | c45c33c51bad26491af5c3318575856be958389b (patch) | |
tree | 4f0cb90a3fbf73dd268c48f682109c60bbeb7ec3 /games/r1q2 | |
parent | 9abfecf5f8154f4958d0037dada2650adcbcc1cb (diff) | |
download | ports-c45c33c51bad26491af5c3318575856be958389b.tar.gz ports-c45c33c51bad26491af5c3318575856be958389b.zip |
Notes
Diffstat (limited to 'games/r1q2')
-rw-r--r-- | games/r1q2/Makefile | 7 | ||||
-rw-r--r-- | games/r1q2/distinfo | 6 | ||||
-rw-r--r-- | games/r1q2/files/patch-ref_gl__gl_local.h | 14 |
3 files changed, 18 insertions, 9 deletions
diff --git a/games/r1q2/Makefile b/games/r1q2/Makefile index 639d1548c9c7..12f5b50f7a20 100644 --- a/games/r1q2/Makefile +++ b/games/r1q2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= r1q2 -PORTVERSION= 7187 +PORTVERSION= 7322 CATEGORIES= games MASTER_SITES= http://www.r1ch.net/stuff/r1q2/src/ DISTNAME= ${PORTNAME}-b${PORTVERSION}-src @@ -18,7 +18,6 @@ LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo USE_ZIP= yes USE_DOS2UNIX= yes -USE_GCC= 3.4+ USE_GMAKE= yes NO_WRKSUBDIR= yes BUILD_WRKSRC= ${WRKSRC}/binaries @@ -77,10 +76,6 @@ PLIST_SUB+= REF_GL="@comment " post-patch: @${REINPLACE_CMD} -e 's|game$$(ARCH)|game|g' \ ${BUILD_WRKSRC}/game/Makefile -.if ${OSVERSION} < 500000 - @${REINPLACE_CMD} -e 's|<stdint\.h>|<inttypes.h>|' \ - ${WRKSRC}/game/q_shared.h -.endif pre-build: @${FIND} ${BUILD_WRKSRC} -type d -depth 1 -exec ${MKDIR} {}/.depends \; diff --git a/games/r1q2/distinfo b/games/r1q2/distinfo index f9cd87a9625a..634979975f78 100644 --- a/games/r1q2/distinfo +++ b/games/r1q2/distinfo @@ -1,3 +1,3 @@ -MD5 (r1q2-b7187-src.zip) = 66669adc5a114387e3eb6c3baa661ec2 -SHA256 (r1q2-b7187-src.zip) = a35505e7eab93a4fee0d10cd54ca4faa5405426d3a18bbb4a92b2b38e1490f39 -SIZE (r1q2-b7187-src.zip) = 1127727 +MD5 (r1q2-b7322-src.zip) = 1063441d2a99175898ee5695c5cd5f8b +SHA256 (r1q2-b7322-src.zip) = 853d3e2392b195a64838c28cf95fd22faaef14911a353d093271fe0b347a0f45 +SIZE (r1q2-b7322-src.zip) = 1133586 diff --git a/games/r1q2/files/patch-ref_gl__gl_local.h b/games/r1q2/files/patch-ref_gl__gl_local.h new file mode 100644 index 000000000000..268045252357 --- /dev/null +++ b/games/r1q2/files/patch-ref_gl__gl_local.h @@ -0,0 +1,14 @@ +--- ref_gl/gl_local.h.orig Mon Apr 23 17:46:04 2007 ++++ ref_gl/gl_local.h Mon Apr 23 18:59:06 2007 +@@ -138,6 +138,11 @@ + #define VID_ERR_FULLSCREEN_FAILED 4 + #define VID_ERR_INVALID_MODE 8 + ++typedef int rserr_t; ++ ++#define rserr_ok VID_ERR_NONE ++#define rserr_invalid_mode VID_ERR_INVALID_MODE ++ + #include "gl_model.h" + + void GL_BeginRendering (int *x, int *y, int *width, int *height); |