summaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-24 15:41:40 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-24 15:41:40 +0000
commitf6101b7378b8cf8456ba49345b159a92c6d03ea3 (patch)
treec54f7da8d550ec8e101189606af90c238234eb6b /x11-servers
parentTake into account the '-devel' package name suffix when registering CONFLICTS (diff)
Add missing prototype to fix the build with recent GCC.
Notes
Notes: svn path=/head/; revision=125078
Diffstat (limited to 'x11-servers')
-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 26d6bade7d63..28c84b085ca7 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 000000000000..e5a6541bc700
--- /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;