pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/sfio



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sat Sep  9 20:12:50 UTC 2017

Modified Files:
        pkgsrc/devel/sfio: distinfo
        pkgsrc/devel/sfio/patches: patch-aa

Log Message:
Build for C89 (and later), not K&R C. Otherwise it tries to use varargs.h
and in many environments thereby croaks.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/sfio/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/sfio/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/sfio/distinfo
diff -u pkgsrc/devel/sfio/distinfo:1.10 pkgsrc/devel/sfio/distinfo:1.11
--- pkgsrc/devel/sfio/distinfo:1.10     Tue Nov  3 03:29:32 2015
+++ pkgsrc/devel/sfio/distinfo  Sat Sep  9 20:12:49 2017
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.10 2015/11/03 03:29:32 agc Exp $
+$NetBSD: distinfo,v 1.11 2017/09/09 20:12:49 dholland Exp $
 
 SHA1 (sfio_1999.src.unix.cpio) = 6fd3a711ca8f95190c0859934f57a66d02c842a4
 RMD160 (sfio_1999.src.unix.cpio) = 379148273c9979f7a5a921a338465b7579a6ac5e
 SHA512 (sfio_1999.src.unix.cpio) = 1983c7bd9c321080199a4d2828ee4c0e0d1cc0be1f840c244bfe8b1534b615d896e5bf9748781c209f1462da640a9017c63b3190ebbf1df62086c92c1b64f1ec
 Size (sfio_1999.src.unix.cpio) = 647168 bytes
-SHA1 (patch-aa) = 514aafe5eb5f97150742efa6a5b51644bf485bda
+SHA1 (patch-aa) = 6d4421b66b8534ba8f107d27d831b54d51ed7dfc
 SHA1 (patch-ab) = 184497c28da9db978c2b384d3be526d28e3ebae0
 SHA1 (patch-ac) = 0e3b0aae65393ce98fd086ec593dd73e2b41c283
 SHA1 (patch-ad) = 2e144ceabe9652e9acac8d08f6cf6ce8433425e6

Index: pkgsrc/devel/sfio/patches/patch-aa
diff -u pkgsrc/devel/sfio/patches/patch-aa:1.2 pkgsrc/devel/sfio/patches/patch-aa:1.3
--- pkgsrc/devel/sfio/patches/patch-aa:1.2      Mon Nov  2 21:18:14 1998
+++ pkgsrc/devel/sfio/patches/patch-aa  Sat Sep  9 20:12:49 2017
@@ -1,19 +1,22 @@
-$NetBSD: patch-aa,v 1.2 1998/11/02 21:18:14 agc Exp $
+$NetBSD: patch-aa,v 1.3 2017/09/09 20:12:49 dholland Exp $
 
 Make sure we get iffe from its correct location.
+Build for C89, not K&R C.
 
---- src/lib/sfio/Makefile      1998/10/27 17:01:58     1.1
-+++ src/lib/sfio/Makefile      1998/10/27 17:03:57
-@@ -9,6 +9,8 @@
+--- src/lib/sfio/Makefile.orig 1998-03-19 16:17:33.000000000 +0000
++++ src/lib/sfio/Makefile
+@@ -7,7 +7,9 @@ VERSION = 1.0
+ .INCLUDE : Stdio_b
+ ancestor = 2
  
- CCFLAGS = -O
- 
-+BINDIR=       ../../../bin
+-CCFLAGS = -O
++CCFLAGS = -O -D__STD_C
 +
++BINDIR=       ../../../bin
+ 
  SFIO= sfexit.c sfclose.c sfclrlock.c sfcvt.c sfdlen.c sfexcept.c sfextern.c \
        sffilbuf.c sfflsbuf.c sfprints.c sfgetd.c sfgetl.c sfgetr.c sfgetu.c \
-       sfllen.c sfmode.c sfmove.c sfnew.c sfnputc.c sfopen.c sfpeek.c \
-@@ -41,7 +43,7 @@
+@@ -41,7 +43,7 @@ sfio  $(VERSION) :LIBRARY:   $(SFIO) $(SFI
  stdio $(VERSION) :LIBRARY:    $(STDIO_B)
  
  ast_common.h : features/common



Home | Main Index | Thread Index | Old Index