summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/patches/libpng-1.2.20-elf-visibility.patch
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-04-24 11:34:15 (GMT)
committeraxis <qt-info@nokia.com>2009-04-24 11:34:15 (GMT)
commit8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76 (patch)
treea17e1a767a89542ab59907462206d7dcf2e504b2 /src/3rdparty/patches/libpng-1.2.20-elf-visibility.patch
downloadQt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.zip
Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.tar.gz
Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.tar.bz2
Long live Qt for S60!
Diffstat (limited to 'src/3rdparty/patches/libpng-1.2.20-elf-visibility.patch')
-rw-r--r--src/3rdparty/patches/libpng-1.2.20-elf-visibility.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/3rdparty/patches/libpng-1.2.20-elf-visibility.patch b/src/3rdparty/patches/libpng-1.2.20-elf-visibility.patch
new file mode 100644
index 0000000..a374cbf
--- /dev/null
+++ b/src/3rdparty/patches/libpng-1.2.20-elf-visibility.patch
@@ -0,0 +1,17 @@
+--- pngconf.h.orig 2007-09-08 05:22:56.000000000 +0200
++++ pngconf.h 2007-09-09 00:00:00.000000000 +0200
+@@ -1375,6 +1375,14 @@
+ # if 0 /* ... other platforms, with other meanings */
+ # endif
+ # endif
++
++# if !defined(PNG_IMPEXP)
++# include <qconfig.h>
++# if defined(QT_VISIBILITY_AVAILABLE)
++# define PNG_IMPEXP __attribute__((visibility("default")))
++# endif
++# endif
++
+ #endif
+
+ #ifndef PNGAPI