diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-05-22 14:10:43 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-05-22 14:10:43 +0000 |
commit | 48c0986415529dd81ee3f6f731e3f8d8218e1d1c (patch) | |
tree | 77f76f57f241a7af41e25e9eb56dfe11c5007bd8 /x11/qrash | |
parent | Remove ftp.informatik.rwth-aachen.de from the SUNSITE list, because (diff) |
Kludge this so it compiles and runs on FreeBSD 5.1-BETA.
The video works but I don't know about the sound--I don't have sound
set up just now.
still to do: patch by use of sed
Notes
Notes:
svn path=/head/; revision=81702
Diffstat (limited to 'x11/qrash')
-rw-r--r-- | x11/qrash/Makefile | 10 | ||||
-rw-r--r-- | x11/qrash/files/patch-aa | 4 | ||||
-rw-r--r-- | x11/qrash/files/patch-sys_x11.cc | 13 |
3 files changed, 19 insertions, 8 deletions
diff --git a/x11/qrash/Makefile b/x11/qrash/Makefile index 916420e4263b..917aa01a01a7 100644 --- a/x11/qrash/Makefile +++ b/x11/qrash/Makefile @@ -18,15 +18,11 @@ EXTRACT_SUFX= .tgz MAINTAINER= trevor@FreeBSD.org COMMENT= Animated musical demo for X11 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif - GNU_CONFIGURE= yes ONLY_FOR_ARCHS= i386 +USE_GCC= 2.95 USE_GMAKE= yes +USE_PERL5= yes # XXX USE_X_PREFIX= yes ALL_TARGET= qrash @@ -37,4 +33,4 @@ post-patch: ${FIND} ${WRKSRC} -type f -exec ${PERL} -pi -e \ "s:<malloc.h>:<stdlib.h>:g" {} \; -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11/qrash/files/patch-aa b/x11/qrash/files/patch-aa index 40b2db07485f..ff1df9559736 100644 --- a/x11/qrash/files/patch-aa +++ b/x11/qrash/files/patch-aa @@ -1,3 +1,5 @@ +$FreeBSD$ + diff -ruN mikmod/drv_vox.c mikmod/drv_vox.c --- mikmod/drv_vox.c Mon Sep 22 11:05:26 1997 +++ mikmod/drv_vox.c Mon Jul 26 12:10:35 1999 @@ -6,7 +8,7 @@ diff -ruN mikmod/drv_vox.c mikmod/drv_vox.c #include <sys/types.h> #include <fcntl.h> -#include <linux/soundcard.h> -+#include <machine/soundcard.h> ++#include <sys/soundcard.h> #include <sys/ioctl.h> #include <sys/wait.h> #include "mikmod.h" diff --git a/x11/qrash/files/patch-sys_x11.cc b/x11/qrash/files/patch-sys_x11.cc new file mode 100644 index 000000000000..ef55b5b3024a --- /dev/null +++ b/x11/qrash/files/patch-sys_x11.cc @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- sys_x11.cc.orig Thu May 22 13:11:58 2003 ++++ sys_x11.cc Thu May 22 13:14:35 2003 +@@ -59,7 +59,7 @@ + + char cmdline[2048] = ""; + +-void main( int argc, char* argv[] ) ++int main( int argc, char* argv[] ) + { + for( int i=1; i<argc; i++ ) { + strcat( cmdline, argv[i] ); |