summaryrefslogtreecommitdiff
path: root/devel/sfio/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sfio/patches/patch-ac')
-rw-r--r--devel/sfio/patches/patch-ac44
1 files changed, 44 insertions, 0 deletions
diff --git a/devel/sfio/patches/patch-ac b/devel/sfio/patches/patch-ac
new file mode 100644
index 00000000000..82c1001cbf7
--- /dev/null
+++ b/devel/sfio/patches/patch-ac
@@ -0,0 +1,44 @@
+$NetBSD: patch-ac,v 1.1.1.1 1998/11/02 14:43:17 agc Exp $
+
+We install the sfio header files into their own directory, to protect
+any casual compilation which includes the standard include/ directory,
+and so update the documentation to reflect this.
+
+--- man/man3/sfio.3 1998/11/02 14:29:31 1.1
++++ man/man3/sfio.3 1998/11/02 14:29:57
+@@ -15,7 +15,7 @@
+ .ta 1.0i 2.0i 3.0i 4.0i 5.0i
+ .nf
+ .ft 5
+-#include <sfio.h>
++#include <sfio/sfio.h>
+ .ft 1
+ .fi
+ .Ss "DATA TYPES"
+@@ -175,7 +175,7 @@
+ .Ss "FULL STRUCTURE SFIO_T"
+ .nf
+ .ft 5
+-#include <sfio_t.h>
++#include <sfio/sfio_t.h>
+ #define SFNEW(buf,size,file,flags,disc)
+ .ft 1
+ .fi
+@@ -197,7 +197,7 @@
+ .Ss "STDIO-COMPATIBILITY"
+ .nf
+ .ft 5
+-#include <stdio.h>
++#include <sfio/stdio.h>
+ cc ... -lstdio -lsfio
+ .ft 1
+ .fi
+@@ -1642,7 +1642,7 @@
+ .PP
+ .Ss "FULL STRUCTURE SFIO_T"
+ .PP
+-.Ss " #include <sfio_t.h>"
++.Ss " #include <sfio/sfio_t.h>"
+ Most applications based on \fISfio\fP only need to include
+ the header file \f5sfio.h\fP which defines an abbreviated \f5Sfio_t\fP
+ structure without certain fields private to \fISfio\fP.