aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-04-11 09:38:58 +0800
committerclsung <clsung@FreeBSD.org>2007-04-11 09:38:58 +0800
commitf27f4647d2215ba804cf1d56a6303a30c809c29d (patch)
treec95e7ce6446acf3fedae7c1658fb11a9dd958c72 /textproc
parent1839aed0db031d3cb1d5c52418e5731ff28d2f2b (diff)
downloadfreebsd-ports-gnome-f27f4647d2215ba804cf1d56a6303a30c809c29d.tar.gz
freebsd-ports-gnome-f27f4647d2215ba804cf1d56a6303a30c809c29d.tar.zst
freebsd-ports-gnome-f27f4647d2215ba804cf1d56a6303a30c809c29d.zip
- fix build on sparc
Noted by: kris
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rtfx/files/patch-libs-domc-src-domc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/rtfx/files/patch-libs-domc-src-domc.h b/textproc/rtfx/files/patch-libs-domc-src-domc.h
new file mode 100644
index 000000000000..fbbb12f0f520
--- /dev/null
+++ b/textproc/rtfx/files/patch-libs-domc-src-domc.h
@@ -0,0 +1,13 @@
+--- libs/domc/src/domc.h.orig Tue Oct 17 01:25:18 2006
++++ libs/domc/src/domc.h Wed Apr 11 09:38:08 2007
+@@ -33,7 +33,9 @@
+ #include <errno.h>
+ #include <time.h>
+
+-#if defined(__sparc__)
++#if defined(__FreeBSD__)
++ #include <inttypes.h>
++#elif defined(__sparc__)
+ #include <sys/inttypes.h>
+ #elif defined(_WIN32)
+ typedef unsigned __int64 uint64_t;