summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-07-22 17:41:46 +0000
committerdinoex <dinoex@FreeBSD.org>2002-07-22 17:41:46 +0000
commit3448ea2eb14abab938e2e7b31c57c8ea7518cd8d (patch)
tree12d4ea2cff3286ee6f3bcbcada412a05037282d7 /news
parent3efe1c7d82dd340f7356100ab7c519a474911f9d (diff)
downloadFreeBSD-ports-3448ea2eb14abab938e2e7b31c57c8ea7518cd8d.zip
FreeBSD-ports-3448ea2eb14abab938e2e7b31c57c8ea7518cd8d.tar.gz
Fix a build problem on STABLE/CURRENT
Diffstat (limited to 'news')
-rw-r--r--news/ifmail/files/patch-clibrary.h40
1 files changed, 25 insertions, 15 deletions
diff --git a/news/ifmail/files/patch-clibrary.h b/news/ifmail/files/patch-clibrary.h
index 24658ca..0f7546e 100644
--- a/news/ifmail/files/patch-clibrary.h
+++ b/news/ifmail/files/patch-clibrary.h
@@ -1,15 +1,25 @@
-*** iflib/clibrary.h Sat Sep 11 17:16:11 1993
---- iflib/clibrary.h.neu Wed Feb 19 20:53:56 1997
-***************
-*** 121,128 ****
---- 121,130 ----
- extern void exit();
- /* =()<extern @<GETPIDVAL>@ getpid();>()= */
- extern int getpid();
-+ #ifndef __FreeBSD__
- /* =()<extern @<LSEEKVAL>@ lseek();>()= */
- extern long lseek();
-+ #endif
- /* =()<extern @<QSORTVAL>@ qsort();>()= */
- extern int qsort();
- /* =()<extern @<SLEEPVAL>@ sleep();>()= */
+--- iflib/clibrary.h.orig Sat Sep 11 17:16:11 1993
++++ iflib/clibrary.h Mon Jul 22 19:38:20 2002
+@@ -102,9 +102,11 @@
+ extern FREEVAL free();
+ extern POINTER malloc();
+ extern POINTER realloc();
++#ifndef __FreeBSD__
+ #if defined(ACT_MMAP)
+ extern char *mmap();
+ #endif /* defined(ACT_MMAP) */
++#endif
+
+ /* Some backward systems need this. */
+ extern FILE *popen();
+@@ -121,8 +123,10 @@
+ extern void exit();
+ /* =()<extern @<GETPIDVAL>@ getpid();>()= */
+ extern int getpid();
++#ifndef __FreeBSD__
+ /* =()<extern @<LSEEKVAL>@ lseek();>()= */
+ extern long lseek();
++#endif
+ /* =()<extern @<QSORTVAL>@ qsort();>()= */
+ extern int qsort();
+ /* =()<extern @<SLEEPVAL>@ sleep();>()= */
OpenPOWER on IntegriCloud