summaryrefslogtreecommitdiff
path: root/editors/sam
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-09 14:48:33 +0000
committeragc <agc@pkgsrc.org>1997-10-09 14:48:33 +0000
commitc273f936d2200bb66d52b6320e6db561a6830c87 (patch)
tree13303594d8951c465238527f9a0d206dc8daca01 /editors/sam
parent1b4219d1674653bd526c71a3d87b2e49a8882d5a (diff)
downloadpkgsrc-c273f936d2200bb66d52b6320e6db561a6830c87.tar.gz
Shut up a compiler warning - only define NOFILE if it's not defined
elsewhere.
Diffstat (limited to 'editors/sam')
-rw-r--r--editors/sam/patches/patch-ag14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/sam/patches/patch-ag b/editors/sam/patches/patch-ag
new file mode 100644
index 00000000000..e946bab2bbd
--- /dev/null
+++ b/editors/sam/patches/patch-ag
@@ -0,0 +1,14 @@
+*** sam/io.c 1997/10/01 08:25:28 1.1
+--- sam/io.c 1997/10/01 08:25:59
+***************
+*** 2,8 ****
+--- 2,10 ----
+ #include "sam.h"
+
+ #define NSYSFILE 3
++ #ifndef NOFILE
+ #define NOFILE 128
++ #endif
+
+ void
+ checkqid(File *f)