FreeBSD Bugzilla – Attachment 164682 Details for
Bug 205630
games/xbat: fix segfault and highscore handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
xbat.patch (text/plain), 2.74 KB, created by
Dmitry Marakasov
on 2015-12-26 14:01:28 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-12-26 14:01:28 UTC
Size:
2.74 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 404247) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= xbat > PORTVERSION= 1.11 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= games > MASTER_SITES= LOCAL/hrs > DISTNAME= xev111 >@@ -19,5 +19,6 @@ > USE_XORG= x11 xext > WRKSRC= ${WRKDIR}/Xev111 > ALL_TARGET= xbat >+USE_GCC= yes # segfaults when compiled with clang > > .include <bsd.port.mk> >Index: files/patch-Imakefile >=================================================================== >--- files/patch-Imakefile (revision 404247) >+++ files/patch-Imakefile (working copy) >@@ -1,10 +1,10 @@ >---- Imakefile.orig Mon Mar 17 12:32:22 1997 >-+++ Imakefile Tue Jul 1 18:37:39 1997 >+--- Imakefile.orig 1997-03-17 12:32:22 UTC >++++ Imakefile > @@ -1,24 +1,24 @@ > # TOP10 DIR : directory for socre files > # > -SCORE_DIR = /usr/local/games/Xbat/Score >-+SCORE_DIR = ${PREFIX}/lib/X11/Xbat/Score >++SCORE_DIR = /var/games/xbat/Score > > # IMAGE DIR : directory for image files > -IMAGE_DIR = /usr/local/games/Xbat/Image >@@ -32,3 +32,15 @@ > > ####################################################################### > >+@@ -48,9 +48,8 @@ DependTarget() >+ CleanTarget() >+ >+ install:: >+- MakeDir($(DESTDIR)$(SCORE_DIR)) >+- chmod 777 $(DESTDIR)$(SCORE_DIR); >+- @case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Score/?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR) ; \ >++ MakeDir($(DESTDIR)$(SCORE_DIR)) >++ @case '${MFLAGS}' in *[i]*) set +e;; esac; cd Score; for i in ?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR)/$$i.sample ; \ >+ done; >+ >+ MakeDir($(DESTDIR)$(IMAGE_DIR)) >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 404247) >+++ pkg-plist (working copy) >@@ -1,8 +1,4 @@ >-@owner root >-@group games >-@mode 2755 >-bin/xbat >-@mode 0664 >+@(,games,2755) bin/xbat > lib/X11/Xbat/Domo/domoX0201.dat > lib/X11/Xbat/Domo/domoX0202.dat > lib/X11/Xbat/Domo/domoX0203.dat >@@ -694,14 +690,10 @@ > lib/X11/Xbat/Map/kuuchuu_map7.dat > lib/X11/Xbat/Map/kuuchuu_map8.dat > lib/X11/Xbat/Map/kuuchuu_map9.dat >-@mode 0755 >-lib/X11/Xbat/Score/top10-0.txt >-lib/X11/Xbat/Score/top10-1.txt >-lib/X11/Xbat/Score/top10-2.txt >-lib/X11/Xbat/Score/top10-3.txt >-lib/X11/Xbat/Score/top10-4.txt >-@dirrm lib/X11/Xbat/Domo >-@dirrm lib/X11/Xbat/Image >-@dirrm lib/X11/Xbat/Map >-@dirrm lib/X11/Xbat/Score >-@dirrm lib/X11/Xbat >+@sample(,games,664) /var/games/xbat/Score/top10-0.txt.sample >+@sample(,games,664) /var/games/xbat/Score/top10-1.txt.sample >+@sample(,games,664) /var/games/xbat/Score/top10-2.txt.sample >+@sample(,games,664) /var/games/xbat/Score/top10-3.txt.sample >+@sample(,games,664) /var/games/xbat/Score/top10-4.txt.sample >+@dir(,games,775) /var/games/xbat/Score >+@dir /var/games/xbat
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205630
: 164682