aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/paintlib
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-04-06 03:16:14 +0800
committerdinoex <dinoex@FreeBSD.org>2010-04-06 03:16:14 +0800
commitcaa5d814a7f7d2d8f2d8476ff01989448a264aa3 (patch)
treef95f2f13618fb635b8a8b2107e2a5f756172c0ea /graphics/paintlib
parentf1beefc64c275f12d921f6088805ba3306811269 (diff)
downloadfreebsd-ports-graphics-caa5d814a7f7d2d8f2d8476ff01989448a264aa3.tar.gz
freebsd-ports-graphics-caa5d814a7f7d2d8f2d8476ff01989448a264aa3.tar.zst
freebsd-ports-graphics-caa5d814a7f7d2d8f2d8476ff01989448a264aa3.zip
- fix build with gcc4i.x for png-1.4.1
Diffstat (limited to 'graphics/paintlib')
-rw-r--r--graphics/paintlib/files/patch-plpngdec.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/paintlib/files/patch-plpngdec.cpp b/graphics/paintlib/files/patch-plpngdec.cpp
new file mode 100644
index 00000000000..51f76c1cd92
--- /dev/null
+++ b/graphics/paintlib/files/patch-plpngdec.cpp
@@ -0,0 +1,11 @@
+--- common/plpngdec.cpp.orig 2004-10-03 19:49:22.000000000 +0200
++++ common/plpngdec.cpp 2010-04-05 21:15:31.000000000 +0200
+@@ -108,7 +108,7 @@
+
+ SetBmpInfo (PLPoint (width, height), PLPoint(0,0), pf);
+
+- PLULONG XRes, YRes;
++ png_uint_32 XRes, YRes;
+ int UnitType;
+ png_get_pHYs (m_png_ptr, m_info_ptr, &XRes, &YRes,
+ &UnitType);