diff options
author | danfe <danfe@FreeBSD.org> | 2005-01-18 23:51:41 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-01-18 23:51:41 +0800 |
commit | 8cee49f0083b5b4f732c7655858fb9117906fa77 (patch) | |
tree | f831f61794f277320e0374aa88ed9c03d840d408 | |
parent | fbe5655318149066ef37c64ef3db76db40925dcb (diff) | |
download | freebsd-ports-gnome-8cee49f0083b5b4f732c7655858fb9117906fa77.tar.gz freebsd-ports-gnome-8cee49f0083b5b4f732c7655858fb9117906fa77.tar.zst freebsd-ports-gnome-8cee49f0083b5b4f732c7655858fb9117906fa77.zip |
Unbreak the build with latest GCC.
-rw-r--r-- | graphics/glide3/Makefile | 4 | ||||
-rw-r--r-- | graphics/glide3/files/patch-h3-minihwc-linhwc_c_dri | 10 | ||||
-rw-r--r-- | graphics/glide3/files/patch-h3-src-makefile | 2 | ||||
-rw-r--r-- | graphics/glide3/files/patch-h5-src-makefile | 2 |
4 files changed, 12 insertions, 6 deletions
diff --git a/graphics/glide3/Makefile b/graphics/glide3/Makefile index d97d92e51571..68d8cdcb4e12 100644 --- a/graphics/glide3/Makefile +++ b/graphics/glide3/Makefile @@ -40,10 +40,6 @@ OPTIONS= VOODOO3 "Enable this if you have a Voodoo3 or Banshee card" off .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile on FreeBSD ${OSVERSION}" -.endif - .if defined(WITH_VOODOO3) PKGNAMESUFFIX= -v3 CONFIGURE_ARGS+= --enable-fx-glide-hw=h3 diff --git a/graphics/glide3/files/patch-h3-minihwc-linhwc_c_dri b/graphics/glide3/files/patch-h3-minihwc-linhwc_c_dri new file mode 100644 index 000000000000..5d0447bfdf6a --- /dev/null +++ b/graphics/glide3/files/patch-h3-minihwc-linhwc_c_dri @@ -0,0 +1,10 @@ +--- h3/minihwc/linhwc.c.dri.orig Tue Jan 18 21:29:49 2005 ++++ h3/minihwc/linhwc.c.dri Tue Jan 18 21:30:23 2005 +@@ -91,6 +91,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; diff --git a/graphics/glide3/files/patch-h3-src-makefile b/graphics/glide3/files/patch-h3-src-makefile index ddfb8ef632ba..64ea6835edc0 100644 --- a/graphics/glide3/files/patch-h3-src-makefile +++ b/graphics/glide3/files/patch-h3-src-makefile @@ -16,7 +16,7 @@ -PREPROCESSOR=/lib/cpp -$$ -I. -xdraw2.o : xdraw2.S xdraw2.inc.S fxgasm.h - $(CC) $(AFLAGS) -c -o $@ xdraw2.S -+PREPROCESSOR=/usr/libexec/cpp0 -$$ -I. ++PREPROCESSOR=$(CPP) -$$ -I. +xdraw2.lo : xdraw2.S xdraw2.inc.S fxgasm.h + libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw2.S diff --git a/graphics/glide3/files/patch-h5-src-makefile b/graphics/glide3/files/patch-h5-src-makefile index 29e4c66344a5..07a35c8bbd20 100644 --- a/graphics/glide3/files/patch-h5-src-makefile +++ b/graphics/glide3/files/patch-h5-src-makefile @@ -5,7 +5,7 @@ # Special rules for assembly files. # -PREPROCESSOR=/lib/cpp -$$ -I. -+PREPROCESSOR=/usr/libexec/cpp0 -$$ -I. ++PREPROCESSOR=$(CPP) -$$ -I. xdraw2_def.o xdraw2_def.lo: xdraw2.s xdraw2.inc.s fxgasm.h $(PREPROCESSOR) $< > $*.tmp.s - $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s |