Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
syasokoban
syasokoban-iconsdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File syasokoban-iconsdir.patch of Package syasokoban
--- syasokoban-2.0.1/Makefile 2006-06-19 00:59:38.000000000 +0100 +++ syasokoban-2.0.1-cm14/Makefile 2010-05-01 22:09:50.000000000 +0100 @@ -13,7 +13,10 @@ LIBS= -lstdc++ $(shell sdl-config --libs) -lm -default: syasokoban +default: prep syasokoban + +prep: + echo "#define DATADIR \"$(DATADIR)\"" > src/config.h syasokoban: $(OBJFILES) $(CPP) -o $(BIN) $(OBJFILES) $(LIBS) @@ -22,7 +25,7 @@ rm -f $(BIN) $(OBJFILES) *~ core #* install: - cp $(BIN) /usr/local/bin + cp $(BIN) $(BINDIR) %.o: %.cpp $(CPP) $(CFLAGS) -c $< -o $@ --- /home/aguerreiro/syasokoban-2.0.1/src/djDesktop.cpp 2007-07-21 21:22:10.000000000 +0100 +++ syasokoban-2.0.1-cm14/src/djDesktop.cpp 2010-05-01 21:51:01.000000000 +0100 @@ -7,6 +7,7 @@ #include "djDesktop.h" #include "djSettings.h" +#include "config.h" CdjDesktop *g_pScreen = NULL; @@ -15,7 +16,7 @@ std::string GetDataPath() { - return std::string("data/"); + return std::string(DATADIR); } CdjDesktop::CdjDesktop()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor