summaryrefslogtreecommitdiff
path: root/graphics/pixieplus/files/patch-misc_qxcfi.cpp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-09-20 00:08:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-09-20 00:08:56 +0000
commitb4db9b9ff19f759aac53acb2c493c07904f6d8e7 (patch)
tree5eaeacef87beedd002947386e9b4eaf7243b5ba6 /graphics/pixieplus/files/patch-misc_qxcfi.cpp
parentIn latest CVS entry, remove the reference to the exploit. It does (diff)
- Fix build on 5.x
PR: ports/71913 Submitted by: Arjan van Leeuwen <avleeuwen@piwebs.com> (maintainer) Approved by: portmgr (marcus, wca)
Diffstat (limited to 'graphics/pixieplus/files/patch-misc_qxcfi.cpp')
-rw-r--r--graphics/pixieplus/files/patch-misc_qxcfi.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/pixieplus/files/patch-misc_qxcfi.cpp b/graphics/pixieplus/files/patch-misc_qxcfi.cpp
new file mode 100644
index 000000000000..1602b63068e5
--- /dev/null
+++ b/graphics/pixieplus/files/patch-misc_qxcfi.cpp
@@ -0,0 +1,11 @@
+--- misc/qxcfi.cpp.orig Sat Sep 18 21:59:48 2004
++++ misc/qxcfi.cpp Sat Sep 18 22:00:16 2004
+@@ -1342,7 +1342,7 @@
+ bool XCFImageFormat::loadProperty ( QDataStream& xcf_io, PropType& type,
+ QByteArray& bytes )
+ {
+- xcf_io >> (Q_UINT32)type;
++ xcf_io >> (Q_UINT32&)type;
+
+ if ( xcf_io.device()->status() != IO_Ok ) {
+ qDebug( "XCF: read failure on property type" );