diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2001-04-16 23:18:01 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2001-04-16 23:18:01 +0000 |
commit | d01a564de88251bbc444531a52da49273edce7e1 (patch) | |
tree | 50004c94b4b3ecbd034ae79bb919d60eb745726f /x11-toolkits/iv | |
parent | More 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.)
Diffstat (limited to 'x11-toolkits/iv')
-rw-r--r-- | x11-toolkits/iv/files/patch-bd | 11 |
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; |