aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-12-24 23:41:40 +0800
committerdanfe <danfe@FreeBSD.org>2004-12-24 23:41:40 +0800
commit506ae6f2baf9be231539888a0064e079fc3815e0 (patch)
tree224728b1bfa71dd3d002792c568f7746fc410fcc
parent6f766531fb0e17ee5fa03b5540f1837bd4f7bf6c (diff)
downloadfreebsd-ports-graphics-506ae6f2baf9be231539888a0064e079fc3815e0.tar.gz
freebsd-ports-graphics-506ae6f2baf9be231539888a0064e079fc3815e0.tar.zst
freebsd-ports-graphics-506ae6f2baf9be231539888a0064e079fc3815e0.zip
Add missing prototype to fix the build with recent GCC.
-rw-r--r--x11-servers/driglide/Makefile8
-rw-r--r--x11-servers/driglide/files/patch-h3_minihwc_linhwc.c10
2 files changed, 11 insertions, 7 deletions
diff --git a/x11-servers/driglide/Makefile b/x11-servers/driglide/Makefile
index 26d6bade7d6..28c84b085ca 100644
--- a/x11-servers/driglide/Makefile
+++ b/x11-servers/driglide/Makefile
@@ -30,13 +30,7 @@ ONLY_FOR_ARCHS= i386
# Glide DOES NOT work with CFLAGS greater than -O2
CFLAGS+= -O
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
pre-configure:
cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-servers/driglide/files/patch-h3_minihwc_linhwc.c b/x11-servers/driglide/files/patch-h3_minihwc_linhwc.c
new file mode 100644
index 00000000000..e5a6541bc70
--- /dev/null
+++ b/x11-servers/driglide/files/patch-h3_minihwc_linhwc.c
@@ -0,0 +1,10 @@
+--- h3/minihwc/linhwc.c.orig Sun Feb 2 00:56:37 2003
++++ h3/minihwc/linhwc.c Fri Dec 24 21:34:38 2004
+@@ -92,6 +92,7 @@
+ static FxU32 calcBufferSize(FxU32 xres, FxU32 yres, FxBool tiled);
+ static FxU32 calcBufferSizeInTiles(FxU32 xres, FxU32 yres);
+ static FxU32 calcBufferHeightInTiles(FxU32 yres);
++static FxU32 hwcBufferLfbAddr(const hwcBoardInfo *bInfo, FxU32 physAddress);
+
+ typedef struct envitem_t {
+ char *env;