summaryrefslogtreecommitdiffstats
path: root/src/openscenegraph-4-disable-png.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/openscenegraph-4-disable-png.patch')
-rw-r--r--src/openscenegraph-4-disable-png.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/openscenegraph-4-disable-png.patch b/src/openscenegraph-4-disable-png.patch
new file mode 100644
index 0000000..7a03a46
--- /dev/null
+++ b/src/openscenegraph-4-disable-png.patch
@@ -0,0 +1,16 @@
+This file is part of mingw-cross-env.
+See doc/index.html or doc/README for further information.
+
+diff -uNr OpenSceneGraph-2.8.2.orig/src/osgPlugins/CMakeLists.txt OpenSceneGraph-2.8.2/src/osgPlugins/CMakeLists.txt
+--- OpenSceneGraph-2.8.2.orig/src/osgPlugins/CMakeLists.txt 2009-01-14 21:32:06.000000000 +0100
++++ OpenSceneGraph-2.8.2/src/osgPlugins/CMakeLists.txt 2010-01-15 06:54:16.000000000 +0100
+@@ -96,9 +96,6 @@
+ IF(GIFLIB_FOUND)
+ ADD_SUBDIRECTORY(gif)
+ ENDIF(GIFLIB_FOUND)
+-IF(PNG_FOUND)
+- ADD_SUBDIRECTORY(png)
+-ENDIF(PNG_FOUND)
+ IF(TIFF_FOUND)
+ ADD_SUBDIRECTORY(tiff)
+ ENDIF(TIFF_FOUND)