summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-03-21 20:56:02 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-03-21 20:56:02 +0000
commita502dbc4d6c7fc75be064057e8991096d6f7d624 (patch)
tree2eee57ee64ff3c60a6f4349ac1875e55ff4f128f /games-strategy/widelands/files
parentStable on sparc wrt security #171681 (diff)
downloadgentoo-2-a502dbc4d6c7fc75be064057e8991096d6f7d624.tar.gz
gentoo-2-a502dbc4d6c7fc75be064057e8991096d6f7d624.tar.bz2
gentoo-2-a502dbc4d6c7fc75be064057e8991096d6f7d624.zip
Version bump
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-strategy/widelands/files')
-rw-r--r--games-strategy/widelands/files/digest-widelands-0.0.103
-rw-r--r--games-strategy/widelands/files/widelands-0.0.10-build.patch51
2 files changed, 54 insertions, 0 deletions
diff --git a/games-strategy/widelands/files/digest-widelands-0.0.10 b/games-strategy/widelands/files/digest-widelands-0.0.10
new file mode 100644
index 000000000000..02b6abd30744
--- /dev/null
+++ b/games-strategy/widelands/files/digest-widelands-0.0.10
@@ -0,0 +1,3 @@
+MD5 9e452baf7b8f22a27b4e371e2150e017 widelands-build10-source.tar.bz2 28526726
+RMD160 65f85d7b7ab756560bd0bc1a470ac2b8775caadc widelands-build10-source.tar.bz2 28526726
+SHA256 f67508066db1739839945f8c814a71a0e4a43904ff4a7f4e7cd3c269bcda18af widelands-build10-source.tar.bz2 28526726
diff --git a/games-strategy/widelands/files/widelands-0.0.10-build.patch b/games-strategy/widelands/files/widelands-0.0.10-build.patch
new file mode 100644
index 000000000000..2695b9d393e6
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-0.0.10-build.patch
@@ -0,0 +1,51 @@
+--- Makefile
++++ Makefile
+@@ -26,7 +26,7 @@
+
+ #most current glibc systems implicitly contain libintl.so
+ ifndef IMPLICIT_LIBINTL
+-IMPLICIT_LIBINTL:=NO
++IMPLICIT_LIBINTL:=YES
+ endif
+
+ # Is this a cross compile?
+@@ -106,11 +106,9 @@
+ BUILD:=$(strip $(BUILD))
+
+ ifeq ($(BUILD),release)
+-OPTIMIZE:=yes
+ # heavy optimization
+ #ADD_CFLAGS:=$(ADD_CFLAGS) -fomit-frame-pointer -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations
+ # !!!! -fomit-frame-pointer breaks execeptions !!!!
+-ADD_CFLAGS:=$(ADD_CFLAGS) -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations
+ else
+ ifeq ($(BUILD),profile)
+ OPTIMIZE:=yes
+@@ -160,9 +158,8 @@
+ # Object files and directories, final compilation flags
+
+ OBJECT_DIR:=src/$(TARGET)-$(BUILD)
+-CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS)
+-CXXFLAGS:=$(CFLAGS)
+-LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net
++CXXFLAGS+=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS)
++LDFLAGS+=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net
+
+ ##############################################################################
+ # Building
+@@ -217,13 +214,13 @@
+
+ $(OBJECT_DIR)/widelands: $(OBJ)
+ @echo "===> LD $@"
+- $(Q)$(CXX) $(OBJ) -o $@ $(LDFLAGS) $(CFLAGS)
++ $(CXX) $(OBJ) -o $@ $(LDFLAGS) $(CXXFLAGS)
+
+ -include $(DEP)
+
+ $(OBJECT_DIR)/%.o: src/%.cc src/build_id.h src/config.h
+ @echo "===> CXX $<"
+- $(Q)$(CXX) -pipe $(CXXFLAGS) -MMD -MP -MF $@.d -c -o $@ $<
++ $(CXX) $(CXXFLAGS) -MMD -MP -MF $@.d -c -o $@ $<
+ $(Q)sed -e 's@^\(.*\)\.o:@\1.d \1.o:@' $@.d > $(OBJECT_DIR)/$*.d
+ $(Q)rm $@.d
+