aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2001-04-17 07:18:01 +0800
committerBill Fenner <fenner@FreeBSD.org>2001-04-17 07:18:01 +0800
commitd01a564de88251bbc444531a52da49273edce7e1 (patch)
tree50004c94b4b3ecbd034ae79bb919d60eb745726f /x11-toolkits
parent487c6c9b9810544f48e5684415a7860af63d6a2f (diff)
downloadfreebsd-ports-gnome-d01a564de88251bbc444531a52da49273edce7e1.tar.gz
freebsd-ports-gnome-d01a564de88251bbc444531a52da49273edce7e1.tar.zst
freebsd-ports-gnome-d01a564de88251bbc444531a52da49273edce7e1.zip
Fix patches to build libunidraw properly (these changes were in
rev 1.2 and somewhat undone by rev 1.3) on FreeBSD 4. This results in build and installing idraw and ibuild as well. (This fixes the bento packaging problem.)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/iv/files/patch-bd11
1 files changed, 10 insertions, 1 deletions
diff --git a/x11-toolkits/iv/files/patch-bd b/x11-toolkits/iv/files/patch-bd
index c2c7d5ac422c..daa474d17f6a 100644
--- a/x11-toolkits/iv/files/patch-bd
+++ b/x11-toolkits/iv/files/patch-bd
@@ -6,10 +6,19 @@
#include <ctype.h>
-#ifndef __DECCXX
+/*#ifndef __DECCXX*/
-+#if !defined(__DECCXX) || (__FreeBSD_cc_version < 400002)
++#if !defined(__DECCXX) && (__FreeBSD_cc_version < 400002)
#include <osfcn.h>
#endif
#include <stdio.h>
+@@ -66,7 +67,7 @@
+ #include <string.h>
+ #include <stream.h>
+ #include <strstream.h>
+-#ifdef SYSV
++#if defined(SYSV) || (__FreeBSD_cc_version >= 400002)
+ #include <unistd.h>
+ #endif
+ #include <sys/file.h>
@@ -1504,7 +1505,8 @@
in >> graylevel;