summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/warsow/files/warsow-0.5-build.patch')
-rw-r--r--games-fps/warsow/files/warsow-0.5-build.patch18
1 files changed, 6 insertions, 12 deletions
diff --git a/games-fps/warsow/files/warsow-0.5-build.patch b/games-fps/warsow/files/warsow-0.5-build.patch
index 84666db65b5f..b5989e582786 100644
--- a/games-fps/warsow/files/warsow-0.5-build.patch
+++ b/games-fps/warsow/files/warsow-0.5-build.patch
@@ -1,17 +1,17 @@
--- libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile
+++ libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile
-@@ -12,8 +12,8 @@
+@@ -12,7 +12,9 @@
INCDIR = ../../include
OBJDIR = obj
-CXX = gcc
--CXXFLAGS = -g -Wall -fPIC
-+CC ?= gcc
-+CFLAGS += -Wall -fPIC -fno-strict-aliasing
++CXX ?= g++
++# FIXME: https://bugs.gentoo.org/show_bug.cgi?id=285448
++#CXXFLAGS += -Wall -fPIC -fno-strict-aliasing
+ CXXFLAGS = -g -Wall -fPIC
DELETER = rm -f
COPIER = cp
-
-@@ -59,13 +59,13 @@
+@@ -59,8 +61,8 @@
all: $(BIN)
$(BIN): $(OBJ)
@@ -22,12 +22,6 @@
@echo -------------------------------------------------------------------
@echo Done. As root, type 'make install' to install the library.
- $(OBJDIR)/%.o: $(SRCDIR)/%.cpp
-- $(CXX) $(CXXFLAGS) -o $@ -c $<
-+ $(CC) $(CFLAGS) -o $@ -c $<
-
-
- clean:
--- source/Makefile
+++ source/Makefile
@@ -52,7 +52,7 @@