pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/radiance



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Dec  9 10:48:24 UTC 2020

Modified Files:
        pkgsrc/graphics/radiance: distinfo
Added Files:
        pkgsrc/graphics/radiance/patches: patch-src_meta_mgvars.c
            patch-src_meta_plotin.c

Log Message:
radiance: Don't declare own fgets. Fixes build on NetBSD-current.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/graphics/radiance/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/radiance/patches/patch-src_meta_mgvars.c \
    pkgsrc/graphics/radiance/patches/patch-src_meta_plotin.c

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

Modified files:

Index: pkgsrc/graphics/radiance/distinfo
diff -u pkgsrc/graphics/radiance/distinfo:1.18 pkgsrc/graphics/radiance/distinfo:1.19
--- pkgsrc/graphics/radiance/distinfo:1.18      Tue Nov  3 21:34:18 2015
+++ pkgsrc/graphics/radiance/distinfo   Wed Dec  9 10:48:24 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2015/11/03 21:34:18 agc Exp $
+$NetBSD: distinfo,v 1.19 2020/12/09 10:48:24 nia Exp $
 
 SHA1 (rad3R6P1.tar.gz) = 71f46abd1c30be282a93237fa0c162d3bf0b1f99
 RMD160 (rad3R6P1.tar.gz) = 3bcf40518a57cdb5455264c83a3e206b67b3d1fa
@@ -32,7 +32,9 @@ SHA1 (patch-au) = 35660480163fb7444ebbdb
 SHA1 (patch-av) = 0bfd2ec0fb16f3c106a285b49f1cf48a29274fbb
 SHA1 (patch-aw) = 6b57d85e4c4ef4a3501f4a0263ef8a47fbac8958
 SHA1 (patch-src_common_readmesh.c) = 1e5b2a0abd5f50c69ccccb5db28688e914c3cc0a
+SHA1 (patch-src_meta_mgvars.c) = 5493db60499a87bec7232871e4f185c05e8a5329
 SHA1 (patch-src_meta_plot.h) = b6959e2d349dc25abbde816f4b128a2fb0218200
+SHA1 (patch-src_meta_plotin.c) = 236a63b5d0791c29349b068837e30048f2872bdc
 SHA1 (patch-src_meta_xmeta.c) = 360c282bd9adf376ea86140d6c63af523114618d
 SHA1 (patch-src_ot_writemesh.c) = 109266d289720ed6760f430ab7a7637312ac9c3d
 SHA1 (patch-src_ot_writeoct.c) = b6f6426ef6abf731cd5c9735e6012c07f5e9ff35

Added files:

Index: pkgsrc/graphics/radiance/patches/patch-src_meta_mgvars.c
diff -u /dev/null pkgsrc/graphics/radiance/patches/patch-src_meta_mgvars.c:1.1
--- /dev/null   Wed Dec  9 10:48:24 2020
+++ pkgsrc/graphics/radiance/patches/patch-src_meta_mgvars.c    Wed Dec  9 10:48:24 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_meta_mgvars.c,v 1.1 2020/12/09 10:48:24 nia Exp $
+
+Don't declare own fgets.
+
+--- src/meta/mgvars.c.orig     2004-04-10 02:54:06.000000000 +0000
++++ src/meta/mgvars.c
+@@ -175,7 +175,7 @@ char  *file
+ )
+ {
+       FILE  *fp;
+-      char  sbuf[MAXLINE], *fgets();
++      char  sbuf[MAXLINE];
+       int  inquote;
+       register char  *cp, *cp2;
+ 
+@@ -521,7 +521,7 @@ FILE  *fp,
+ register DARRAY  *dp
+ )
+ {
+-      char  sbuf[MAXLINE], *fgets();
++      char  sbuf[MAXLINE];
+       register char  *cp;
+ 
+       dp->size = 0;
Index: pkgsrc/graphics/radiance/patches/patch-src_meta_plotin.c
diff -u /dev/null pkgsrc/graphics/radiance/patches/patch-src_meta_plotin.c:1.1
--- /dev/null   Wed Dec  9 10:48:24 2020
+++ pkgsrc/graphics/radiance/patches/patch-src_meta_plotin.c    Wed Dec  9 10:48:24 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_meta_plotin.c,v 1.1 2020/12/09 10:48:24 nia Exp $
+
+Don't declare own fgets.
+
+--- src/meta/plotin.c.orig     2003-11-15 16:51:42.000000000 +0000
++++ src/meta/plotin.c
+@@ -90,7 +90,7 @@ convert(             /* convert to meta-file */
+       FILE  *infp
+ )
+ {
+-    char  *fgets(), sbuf[BUFSIZ];
++    char  sbuf[BUFSIZ];
+     int  command;
+     int  a1, a2, a3, a4, a5, a6;
+ 



Home | Main Index | Thread Index | Old Index