Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209811 Details for
Bug 292643
new games-puzzle/syasokoban-2.0.1.ebuild - Still Yet Another Sokoban :)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentoo.patch
gentoo.patch (text/plain), 1.32 KB, created by
K. Posern
on 2009-11-10 07:39:51 UTC
(
hide
)
Description:
gentoo.patch
Filename:
MIME Type:
Creator:
K. Posern
Created:
2009-11-10 07:39:51 UTC
Size:
1.32 KB
patch
obsolete
>diff -ru syasokoban-2.0.1 /tmp/syasokoban-2.0.1 >--- syasokoban-2.0.1/Makefile 2006-06-18 19:59:38.000000000 -0400 >+++ /tmp/syasokoban-2.0.1/Makefile 2009-11-10 00:44:51.289520601 -0500 >@@ -6,7 +6,7 @@ > > CPP=gcc > BIN=syasokoban >-CFLAGS= -ansi -Wall -I/usr/local/include $(shell sdl-config --cflags) >+CFLAGS= -ansi -Wall -I/usr/include $(shell sdl-config --cflags) > > OBJFILES=src/djFont.o src/Games.o src/GameRegistry.o src/djUtils.o src/Sokoban.o src/Game.o src/djMenu.o src/Main.o src/djControls.o src/djItem.o src/djDesktop.o src/djGraph.o src/djSettings.o > >@@ -22,7 +22,6 @@ > rm -f $(BIN) $(OBJFILES) *~ core #* > > install: >- cp $(BIN) /usr/local/bin > > %.o: %.cpp > $(CPP) $(CFLAGS) -c $< -o $@diff -ru syasokoban-2.0.1/src/djSettings.cpp /tmp/syasokoban-2.0.1/src/djSettings.cpp >--- syasokoban-2.0.1/src/Main.cpp 2007-07-21 16:22:10.000000000 -0400 >+++ /tmp/syasokoban-2.0.1/src/Main.cpp 2009-11-10 01:24:38.444523128 -0500 >@@ -20,11 +20,8 @@ > > int main(int, char**) > { >-#ifndef WIN32 // <- This is not right, will be wrong on Linux, how to test for Mac? >- // If on Mac OS X, change into .app directory so we can find data files. >- chdir("SYASokoban.app"); >- //chdir("FallingBlocks.app"); >-#endif >+ // On Gentoo, change into share directory so we can find data files. >+ chdir("/usr/share/games/syasokoban"); > > RegisterGames(); >
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 292643
:
209808
|
209809
| 209811