summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/twinkle/files/twinkle-0.4.1-badcflags.patch')
-rw-r--r--net-im/twinkle/files/twinkle-0.4.1-badcflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-im/twinkle/files/twinkle-0.4.1-badcflags.patch b/net-im/twinkle/files/twinkle-0.4.1-badcflags.patch
new file mode 100644
index 000000000000..5b45ef1776df
--- /dev/null
+++ b/net-im/twinkle/files/twinkle-0.4.1-badcflags.patch
@@ -0,0 +1,15 @@
+--- src/parser/Makefile.in.orig 2005-11-20 11:33:48.000000000 +1100
++++ src/parser/Makefile.in 2005-11-20 11:36:14.000000000 +1100
+@@ -127,11 +127,7 @@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXDEPMODE = @CXXDEPMODE@
+-
+-# The output of bison cannot be compiled with the -O2 flag.
+-# With the -O2 flag g++ crashes. The -O2 flag is stripped from
+-# CXXFLAGS by configure.
+-CXXFLAGS = @PARSER_CXXFLAGS@
++CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DCOPIDL = @DCOPIDL@
+ DCOPIDL2CPP = @DCOPIDL2CPP@