aboutsummaryrefslogtreecommitdiff
path: root/graphics/nvidia-texture-tools/files/patch-src-nvimage-ImageIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nvidia-texture-tools/files/patch-src-nvimage-ImageIO.cpp')
-rw-r--r--graphics/nvidia-texture-tools/files/patch-src-nvimage-ImageIO.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/nvidia-texture-tools/files/patch-src-nvimage-ImageIO.cpp b/graphics/nvidia-texture-tools/files/patch-src-nvimage-ImageIO.cpp
new file mode 100644
index 000000000000..b4e288d62c52
--- /dev/null
+++ b/graphics/nvidia-texture-tools/files/patch-src-nvimage-ImageIO.cpp
@@ -0,0 +1,11 @@
+--- src/nvimage/ImageIO.cpp.orig 2010-05-14 19:59:28.000000000 +0200
++++ src/nvimage/ImageIO.cpp 2012-05-06 20:50:40.000000000 +0200
+@@ -599,6 +599,8 @@
+
+ #if defined(HAVE_PNG)
+
++#include "pngpriv.h"
++
+ static void user_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
+ {
+ nvDebugCheck(png_ptr != NULL);