diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-19 05:10:16 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-19 05:10:16 +0000 |
commit | 04708e08bf5322b1b91418d2dbfb232ba26a83dc (patch) | |
tree | f3a6d816edc8674e4678e8a27e004f2303ae82ca | |
parent | (it might be a smart thing to also commit the new files too) (diff) |
Update patch-files to build again on -current.
Noticed by: bento
Notes
Notes:
svn path=/head/; revision=70455
-rw-r--r-- | games/flying/Makefile | 1 | ||||
-rw-r--r-- | games/flying/files/patch-aa | 11 | ||||
-rw-r--r-- | games/flying/files/patch-ac | 13 |
3 files changed, 22 insertions, 3 deletions
diff --git a/games/flying/Makefile b/games/flying/Makefile index e5fb554cdaad..fb3b3296b2d8 100644 --- a/games/flying/Makefile +++ b/games/flying/Makefile @@ -7,6 +7,7 @@ PORTNAME= flying PORTVERSION= 6.20 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= games/arcade diff --git a/games/flying/files/patch-aa b/games/flying/files/patch-aa index 79f7245d1216..bf31279122f0 100644 --- a/games/flying/files/patch-aa +++ b/games/flying/files/patch-aa @@ -1,5 +1,5 @@ --- Imakefile.orig Tue Oct 3 16:01:36 1995 -+++ Imakefile Wed Aug 7 20:53:56 1996 ++++ Imakefile Tue Nov 19 06:08:52 2002 @@ -1,6 +1,6 @@ XCOMM ##### where to put temporary data and pixmap files ... @@ -8,6 +8,15 @@ XCOMM ##### parameter type of the system call select(), which usually is XCOMM ##### fd_set, but at least on HP-UX, it is int ... I am still +@@ -12,7 +12,7 @@ + XCOMM ##### There is an optimization bug in gcc-2.7.0. Therefore the CXX_NOOPT + XCOMM ##### macro should be set when using gcc-2.7.0 to create target + XCOMM ##### pball.o without optimization +-CXX = gcc ++CXX = g++ + XCOMM # CXX_NOOPT = -O0 + + XCOMM ####################################################################### @@ -30,7 +30,7 @@ CCOPTIONS = #-Wall -g diff --git a/games/flying/files/patch-ac b/games/flying/files/patch-ac index 3cd229238fce..5df22e61b4e7 100644 --- a/games/flying/files/patch-ac +++ b/games/flying/files/patch-ac @@ -1,5 +1,5 @@ ---- xgraph.C.orig Sun Jan 9 01:11:55 2000 -+++ xgraph.C Sun Jan 9 01:12:25 2000 +--- xgraph.C.orig Mon Aug 7 23:26:57 1995 ++++ xgraph.C Tue Nov 19 06:05:22 2002 @@ -603,7 +603,7 @@ XSizeHints hints; XEvent event; @@ -9,3 +9,12 @@ hints.flags = PPosition | PSize | PAspect | PMinSize | PMaxSize; hints.x = DisplayWidth(dpy,scr) -offx-width-frame; +@@ -918,7 +918,7 @@ + XFillPolygon( dpy,win,gc_current,p,n,0,0); + + if (p!=buffer) delete p; +- va_end(arg_ptr); ++ va_end(argptr); + } + + void FillPoly( int n, Vec2 v[] ) { |