summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2001-04-16 23:18:01 +0000
committerBill Fenner <fenner@FreeBSD.org>2001-04-16 23:18:01 +0000
commitd01a564de88251bbc444531a52da49273edce7e1 (patch)
tree50004c94b4b3ecbd034ae79bb919d60eb745726f /x11-toolkits
parentMore bento debugging. (diff)
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.)
Notes
Notes: svn path=/head/; revision=41483
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;