aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-10-16 06:05:11 +0800
committeracm <acm@FreeBSD.org>2007-10-16 06:05:11 +0800
commitbfb5f71015dc853907db0adbf9f8a1e17f751110 (patch)
tree29b2af8f9129d8cac0b27e797aa66872d414014e
parent2790329e695df9add9e0a97230586d3932e265e2 (diff)
downloadfreebsd-ports-gnome-bfb5f71015dc853907db0adbf9f8a1e17f751110.tar.gz
freebsd-ports-gnome-bfb5f71015dc853907db0adbf9f8a1e17f751110.tar.zst
freebsd-ports-gnome-bfb5f71015dc853907db0adbf9f8a1e17f751110.zip
- Fix build with GCC 4.x
- Bump PORTREVISION PR: 116933 Reported by: nrgmilk__ at_gmail.com
-rw-r--r--emulators/mupen64-base/Makefile.common1
-rw-r--r--emulators/mupen64-gln64/Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/emulators/mupen64-base/Makefile.common b/emulators/mupen64-base/Makefile.common
index da71d5559f56..98bf4d146809 100644
--- a/emulators/mupen64-base/Makefile.common
+++ b/emulators/mupen64-base/Makefile.common
@@ -106,6 +106,7 @@ post-configure:
.for f in ${FIXFILES}
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/${f}
+ @${REINPLACE_CMD} -e 's|(GLvoid)|(void)|' ${WRKSRC}/${f}
.endfor
.if ${PKGNAMESUFFIX} != "-base"
diff --git a/emulators/mupen64-gln64/Makefile b/emulators/mupen64-gln64/Makefile
index 19823e9bb693..240c0dfe4147 100644
--- a/emulators/mupen64-gln64/Makefile
+++ b/emulators/mupen64-gln64/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mupen64
PORTVERSION= 0.4.1
-PORTREVISION= 4
+PORTREVISION= 5
PKGNAMESUFFIX= -gln64
COMMENT= The glN64 graphics plugin for Mupen64
@@ -15,7 +15,7 @@ COMMENT= The glN64 graphics plugin for Mupen64
USE_GL= yes
USE_SDL= sdl
-FIXFILES= glN64/DepthBuffer.cpp
+FIXFILES= glN64/DepthBuffer.cpp glN64/glATI.h
PLUGIN_NAME= glN64