summaryrefslogtreecommitdiffstats
path: root/mageia/dependencies/qt3/qt-x11-free-3.3.8b-force-png12.patch
blob: 621b7c99699907c13c7c90916cb5207f55943ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- configure.libpng	2011-09-15 07:20:32.000000000 +0200
+++ configure	2011-09-15 07:21:36.000000000 +0200
@@ -2971,8 +2971,8 @@
 if [ "$CFG_LIBPNG" = "system" ]; then
     QMAKE_CONFIG="$QMAKE_CONFIG system-png"
     if [ "$CFG_PNG" = "yes" ]; then
-	QMAKE_VARS="$QMAKE_VARS \"QMAKE_LIBS_QT+=-lpng\""
-	QMAKE_VARS="$QMAKE_VARS \"QMAKE_LIBS_QT_THREAD+=-lpng\""
+	QMAKE_VARS="$QMAKE_VARS \"QMAKE_LIBS_QT+=-lpng12\""
+	QMAKE_VARS="$QMAKE_VARS \"QMAKE_LIBS_QT_THREAD+=-lpng12\""
     fi
 fi
 if [ "$CFG_PNG" = "no" ]; then
--- plugins/src/imageformats/png/png.pro.libpng	2011-09-15 07:20:46.000000000 +0200
+++ plugins/src/imageformats/png/png.pro	2011-09-15 07:21:56.000000000 +0200
@@ -10,7 +10,7 @@
 SOURCES += main.cpp
 
 system-png {
-        unix:LIBS  += -lpng
+        unix:LIBS  += -lpng12
         win32:LIBS += libpng.lib
 }
 !system-png {
--- src/kernel/qt_gfx.pri.libpng	2011-09-15 07:21:19.000000000 +0200
+++ src/kernel/qt_gfx.pri	2011-09-15 07:22:13.000000000 +0200
@@ -102,7 +102,7 @@
 SOURCES+=$$KERNEL_CPP/qpngio.cpp
 png {
         system-png {
-	    unix:LIBS  += -lpng
+	    unix:LIBS  += -lpng12
 	    win32:LIBS += libpng.lib
 	} else {
 	    INCLUDEPATH  += 3rdparty/libpng