summaryrefslogtreecommitdiff
path: root/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-08-21 17:27:23 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 15:36:50 -0500
commit48264f82812465dd9ee149eb6d9bf6145864c323 (patch)
treea80a1f9d7806bfdfc8b9752b8f3186d1cfd77648 /multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
parent2a67646695cf8d3f81087ca426836cd035f23244 (diff)
downloadslackbuilds-48264f82812465dd9ee149eb6d9bf6145864c323.tar.gz
multimedia/mpgtx: Included some patches from gentoo + small cleanups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch')
-rw-r--r--multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch b/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
new file mode 100644
index 0000000000..dc53dfd7e6
--- /dev/null
+++ b/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
@@ -0,0 +1,12 @@
+diff -Naur mpgtx-1.3.1.orig/configure mpgtx-1.3.1/configure
+--- mpgtx-1.3.1.orig/configure 2010-11-28 11:58:58.000000000 +0100
++++ mpgtx-1.3.1/configure 2010-11-28 12:00:00.000000000 +0100
+@@ -11,7 +11,7 @@
+ #compiler flags
+ common_cflags="-Wall"
+ devel_cflags="-g -Werror -fno-builtin"
+-optimization_cflags="-O3"
++optimization_cflags="${CXXFLAGS}"
+ release_cflags=$optimization_cflags
+ OFLAGS="-ansi"
+ cflags=$common_cflags