pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/sunclock
Module Name: pkgsrc
Committed By: nia
Date: Mon Mar 16 11:24:48 UTC 2026
Modified Files:
pkgsrc/time/sunclock: distinfo
pkgsrc/time/sunclock/patches: patch-readvmf.c
Log Message:
sunclock: Fix implicit declaration of alloca
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/time/sunclock/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/sunclock/patches/patch-readvmf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/sunclock/distinfo
diff -u pkgsrc/time/sunclock/distinfo:1.11 pkgsrc/time/sunclock/distinfo:1.12
--- pkgsrc/time/sunclock/distinfo:1.11 Thu Dec 18 13:18:18 2025
+++ pkgsrc/time/sunclock/distinfo Mon Mar 16 11:24:47 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2025/12/18 13:18:18 nia Exp $
+$NetBSD: distinfo,v 1.12 2026/03/16 11:24:47 nia Exp $
BLAKE2s (sunclock-3.57.tar.bz2) = fa7713e5b1bd87851c64919e59deb07601c93aed1820fb4b6fea87903d664f56
SHA512 (sunclock-3.57.tar.bz2) = cfb99ecf29d9230335af59d0e6056d51c9922a50e8749708f237676cd81f346de66b66801079b6032880b88ba8242432dc8cb65c51c866577e0be51be30cb13a
@@ -9,7 +9,7 @@ SHA1 (patch-ab) = a23897d0144639899dd3e5
SHA1 (patch-editkit_Imakefile) = 697c48887a706a0211b2a0fdfd6fd042d99085f8
SHA1 (patch-editkit_edit.c) = ed6bde0c2740547593c4813c7030abc7a4afbada
SHA1 (patch-readpng.c) = 7c0d3a17be546bb158bc525aae9158c4472e0cfd
-SHA1 (patch-readvmf.c) = ce94c97ece858f963fcbc7f08a3551425667a38b
+SHA1 (patch-readvmf.c) = ad1e91b6f4435284418a3dd55b0d9f74214cf326
SHA1 (patch-sunclock.h) = 2e45807196e1b5a48602f80bc842d87b435c0574
SHA1 (patch-version.h) = 0c743fc66a578f847704203ffb0b78f050cf30d3
SHA1 (patch-widgets.c) = fbf63768264ef1bd7c11da1b612a6d187c7b5cbc
Index: pkgsrc/time/sunclock/patches/patch-readvmf.c
diff -u pkgsrc/time/sunclock/patches/patch-readvmf.c:1.1 pkgsrc/time/sunclock/patches/patch-readvmf.c:1.2
--- pkgsrc/time/sunclock/patches/patch-readvmf.c:1.1 Fri Dec 9 14:13:00 2022
+++ pkgsrc/time/sunclock/patches/patch-readvmf.c Mon Mar 16 11:24:48 2026
@@ -1,11 +1,26 @@
-$NetBSD: patch-readvmf.c,v 1.1 2022/12/09 14:13:00 vins Exp $
+$NetBSD: patch-readvmf.c,v 1.2 2026/03/16 11:24:48 nia Exp $
+
+Fix implicit declaration of alloca.
Fix incorrect type usage (gzFile is already a pointer type).
Don't use data read from file as a format string.
--- readvmf.c.orig 2008-08-22 13:58:52.000000000 +0000
+++ readvmf.c
-@@ -340,7 +340,7 @@ pixmap_image()
+@@ -25,8 +25,12 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <math.h>
++#if defined(__sun) || defined(__linux__)
++#include <alloca.h>
++#endif
+ #ifdef ZLIB
+ #include <zlib.h>
+ #include <errno.h>
+@@ -340,7 +344,7 @@ pixmap_image()
char *
getdata(fd)
#ifdef ZLIB
@@ -14,7 +29,7 @@ Don't use data read from file as a forma
#else
FILE *fd;
#endif
-@@ -433,7 +433,7 @@ struct Sundata * Context;
+@@ -433,7 +437,7 @@ struct Sundata * Context;
double theta, phi;
char *str, *ptr;
#ifdef ZLIB
@@ -23,7 +38,7 @@ Don't use data read from file as a forma
int plen;
char *zpath;
#else
-@@ -505,7 +505,7 @@ struct Sundata * Context;
+@@ -505,7 +509,7 @@ struct Sundata * Context;
ret_value = 5;
goto abort;
}
Home |
Main Index |
Thread Index |
Old Index