aboutsummaryrefslogtreecommitdiffstats
path: root/editors/koffice-kde4
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-05-29 00:00:17 +0800
committerlofi <lofi@FreeBSD.org>2007-05-29 00:00:17 +0800
commit5388f617662bf94beb56c813ec45f487a151d482 (patch)
tree544c9be10aca9f86cf9e286870d0ee9f73b3df69 /editors/koffice-kde4
parent09c70c20d8d5fb30137bc76dcc5353672a24e7f2 (diff)
downloadfreebsd-ports-gnome-5388f617662bf94beb56c813ec45f487a151d482.tar.gz
freebsd-ports-gnome-5388f617662bf94beb56c813ec45f487a151d482.tar.zst
freebsd-ports-gnome-5388f617662bf94beb56c813ec45f487a151d482.zip
Fix koffice on current/amd64
Diffstat (limited to 'editors/koffice-kde4')
-rw-r--r--editors/koffice-kde4/files/patch-filters_krita_tiff-kis_tiff_reader.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/editors/koffice-kde4/files/patch-filters_krita_tiff-kis_tiff_reader.h b/editors/koffice-kde4/files/patch-filters_krita_tiff-kis_tiff_reader.h
new file mode 100644
index 000000000000..21642547bfec
--- /dev/null
+++ b/editors/koffice-kde4/files/patch-filters_krita_tiff-kis_tiff_reader.h
@@ -0,0 +1,25 @@
+--- filters/krita/tiff/kis_tiff_reader.h 2006/10/15 22:49:50 595862
++++ filters/krita/tiff/kis_tiff_reader.h 2007/05/26 10:45:29 668416
+@@ -20,15 +20,15 @@
+ #ifndef _KIS_TIFF_READER_H_
+ #define _KIS_TIFF_READER_H_
+
++// On some platforms, tiffio.h #defines NULL in a bad
++// way for C++, as (void *)0 instead of using the correct
++// C++ value 0. Include stdio.h first to get the right one.
++#include <stdio.h>
+ #include <tiffio.h>
+
+-/*#include <stdio.h>
+-
+-#include <qvaluevector.h>
+-
+-#include <kio/job.h>
+-
+-#include <kis_progress_subject.h> */
++// #include <qvaluevector.h>
++// #include <kio/job.h>
++// #include <kis_progress_subject.h>
+
+ #include <kis_paint_device.h>
+