summaryrefslogtreecommitdiffstats
path: root/redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
commit23921d42c670b601f623ddf441bdddde446ddefc (patch)
tree6bb9ba394ed8bb782f68c4b651b84f20b189b4df /redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch
parent7336aed1c1722594a8e8ead94d7d1fec8e578743 (diff)
downloadtde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.tar.gz
tde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.zip
MGA2/MDV2012: add some applications ...
Diffstat (limited to 'redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch')
-rw-r--r--redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch
new file mode 100644
index 000000000..80ea42ef7
--- /dev/null
+++ b/redhat/applications/gwenview/gwenview-3.5.13-fix_libmng_check.patch
@@ -0,0 +1,27 @@
+commit 59c7639f5e9f3ef40b06cb0e011216cc748e3f85
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1337933593 -0500
+
+ Define QT_CLEAN_NAMESPACE during libmng checks
+
+diff --git a/configure.in.in b/configure.in.in
+index f5e959c..1cdda0b 100644
+--- a/configure.in.in
++++ b/configure.in.in
+@@ -98,6 +98,8 @@ AC_SUBST(GV_ASM_DEFS)
+ # libmng check (for gvmngformattype.*)
+ #
+ LIBMNG=
++CXXFLAGS_SAVE="$CXXFLAGS"
++CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE"
+ KDE_CHECK_HEADER(libmng.h,
+ [
+ KDE_CHECK_LIB(mng, mng_initialize,
+@@ -106,6 +108,7 @@ KDE_CHECK_HEADER(libmng.h,
+ LIBMNG="-lmng $LIBZ -lm"
+ ], [], $LIBZ -lm)
+ ])
++CXXFLAGS="$CXXFLAGS_SAVE"
+ AC_SUBST(LIBMNG)
+ if test -z "$LIBMNG"; then
+ AC_WARN([Can't find libmng.h, Gwenview won't be compiled with MNG support])