pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/xpaint



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Mar 18 15:14:35 UTC 2026

Modified Files:
        pkgsrc/graphics/xpaint: distinfo
        pkgsrc/graphics/xpaint/patches: patch-fileBrowser.c
Added Files:
        pkgsrc/graphics/xpaint/patches: patch-brushOp.c patch-print.c
            patch-xpaintrw_readWriteBMP.c patch-xpaintrw_readWriteSGI.c

Log Message:
xpaint: Fix implicit declarations.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/graphics/xpaint/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/xpaint/patches/patch-brushOp.c \
    pkgsrc/graphics/xpaint/patches/patch-print.c \
    pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteBMP.c \
    pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteSGI.c
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/xpaint/patches/patch-fileBrowser.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/xpaint/distinfo
diff -u pkgsrc/graphics/xpaint/distinfo:1.30 pkgsrc/graphics/xpaint/distinfo:1.31
--- pkgsrc/graphics/xpaint/distinfo:1.30        Mon Dec  8 21:05:41 2025
+++ pkgsrc/graphics/xpaint/distinfo     Wed Mar 18 15:14:35 2026
@@ -1,15 +1,19 @@
-$NetBSD: distinfo,v 1.30 2025/12/08 21:05:41 vins Exp $
+$NetBSD: distinfo,v 1.31 2026/03/18 15:14:35 nia Exp $
 
 BLAKE2s (xpaint-3.1.4.tar.bz2) = 70c36e6d8c61aa215cc291d08fb4de9515d719dff276b8abeb2f6187d75e9b06
 SHA512 (xpaint-3.1.4.tar.bz2) = ea81f0f0eaad2072fe487efba933b6f0a4f2a4d8ae7548169b8e765cf1232c9944149a822173350af91309535d8f3625b8e58814811a5f4491fa3e2fcdf92e1d
 Size (xpaint-3.1.4.tar.bz2) = 1630009 bytes
 SHA1 (patch-Makefile.am) = 7cb1373eb79a8fe9ff823351cd1c65261acc9166
+SHA1 (patch-brushOp.c) = ed370343091cf240336d333b7ec1765006a6348d
 SHA1 (patch-dynPenOp.c) = 847dd5da0f393a2c414dd8799f84c77e5d15e063
-SHA1 (patch-fileBrowser.c) = c4e9d3ee66b5bfadac4e138c4dd7dd471dc946df
+SHA1 (patch-fileBrowser.c) = b6da916ef0b11057d1b20213c17048cb99128a37
 SHA1 (patch-main.c) = 5d764c282b2e8798e3690ff99bea7117a83df4a8
 SHA1 (patch-misc.h) = a4a3b037880062a2bd5310cbbe045ceabeeaa7b4
+SHA1 (patch-print.c) = 47eb6695332cf04672f1b225f68e145a89cf89d0
 SHA1 (patch-util_Makefile) = b885c20eaaff01f9a6ee15796f041d5a753c371a
 SHA1 (patch-vxp2ps_Makefile) = 30ef714b8541c551fd520956bda7aab7e90a6d77
 SHA1 (patch-vxp2ps_vxp2ps.c) = cbf9205b87ba71dba1ed3720704e95247ffbd1c0
 SHA1 (patch-vxp2ps_vxp2tex.c) = 7a6fbe40723e417261e31b3cafbfef73820e14a1
+SHA1 (patch-xpaintrw_readWriteBMP.c) = 0c6dc93bd4e9ea84e1274fd2950017ee9e26eca4
+SHA1 (patch-xpaintrw_readWriteSGI.c) = 812c87cb69427f3ef9a9671e92547e0a165509a2
 SHA1 (patch-xpaintrw_rwTable.c) = 784fd7c3831dc9b17efe60ab3ae439c7601b6894

Index: pkgsrc/graphics/xpaint/patches/patch-fileBrowser.c
diff -u pkgsrc/graphics/xpaint/patches/patch-fileBrowser.c:1.1 pkgsrc/graphics/xpaint/patches/patch-fileBrowser.c:1.2
--- pkgsrc/graphics/xpaint/patches/patch-fileBrowser.c:1.1      Sun Jan 22 17:41:52 2023
+++ pkgsrc/graphics/xpaint/patches/patch-fileBrowser.c  Wed Mar 18 15:14:35 2026
@@ -1,24 +1,26 @@
-$NetBSD: patch-fileBrowser.c,v 1.1 2023/01/22 17:41:52 vins Exp $
+$NetBSD: patch-fileBrowser.c,v 1.2 2026/03/18 15:14:35 nia Exp $
 
 Suppport dirent(3) if defined.
 
---- fileBrowser.c.orig 2021-01-21 22:38:23.000000000 +0100
-+++ fileBrowser.c      2021-05-19 10:27:34.463903000 +0200
-@@ -48,7 +48,7 @@
- #include <stdio.h>
+--- fileBrowser.c.orig 2021-01-21 21:38:23.000000000 +0000
++++ fileBrowser.c
+@@ -17,4 +17,5 @@
+ 
+ #include <ctype.h>
++#include <strings.h>
+ #include <X11/StringDefs.h>
+ #include <X11/Intrinsic.h>
+@@ -49,5 +50,5 @@ extern Xaw3dXftData *xaw3dxft_data;
  #include <sys/types.h>
  #include <sys/stat.h>
 -#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS )
 +#if HAVE_DIRENT_H
  #include <dirent.h>
  #else
- #include <sys/dir.h>
-@@ -563,7 +563,7 @@
- setCWD(arg_t * arg, char *dir)
+@@ -564,5 +565,5 @@ setCWD(arg_t * arg, char *dir)
  {
      DIR *dirp;
 -#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__)
 +#if HAVE_DIRENT_H
      struct dirent *e;
  #else
-     struct direct *e;

Added files:

Index: pkgsrc/graphics/xpaint/patches/patch-brushOp.c
diff -u /dev/null pkgsrc/graphics/xpaint/patches/patch-brushOp.c:1.1
--- /dev/null   Wed Mar 18 15:14:35 2026
+++ pkgsrc/graphics/xpaint/patches/patch-brushOp.c      Wed Mar 18 15:14:35 2026
@@ -0,0 +1,12 @@
+$NetBSD: patch-brushOp.c,v 1.1 2026/03/18 15:14:35 nia Exp $
+
+Fix implicit function declarations.
+
+--- brushOp.c.orig     2026-03-18 14:42:35.525192591 +0000
++++ brushOp.c
+@@ -17,4 +17,5 @@
+ 
+ #include <stdlib.h>
++#include <strings.h>
+ #include <math.h>
+ 
Index: pkgsrc/graphics/xpaint/patches/patch-print.c
diff -u /dev/null pkgsrc/graphics/xpaint/patches/patch-print.c:1.1
--- /dev/null   Wed Mar 18 15:14:35 2026
+++ pkgsrc/graphics/xpaint/patches/patch-print.c        Wed Mar 18 15:14:35 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-print.c,v 1.1 2026/03/18 15:14:35 nia Exp $
+
+Fix implicit function declarations.
+
+--- print.c.orig       2026-03-18 14:43:02.275295827 +0000
++++ print.c
+@@ -19,6 +19,7 @@
+ #include <sys/stat.h>
+ #include <ctype.h>
+ #include <stdio.h>
++#include <strings.h>
+ #include <math.h>
+ 
+ #include <X11/IntrinsicP.h>
Index: pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteBMP.c
diff -u /dev/null pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteBMP.c:1.1
--- /dev/null   Wed Mar 18 15:14:35 2026
+++ pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteBMP.c        Wed Mar 18 15:14:35 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-xpaintrw_readWriteBMP.c,v 1.1 2026/03/18 15:14:35 nia Exp $
+
+Fix implicit declaration of bzero(3).
+
+--- xpaintrw/readWriteBMP.c.orig       2026-03-18 14:26:40.326026936 +0000
++++ xpaintrw/readWriteBMP.c
+@@ -10,6 +10,7 @@
+  
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <strings.h>
+ 
+ #include <X11/Intrinsic.h>
+ #include <X11/xpm.h>
Index: pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteSGI.c
diff -u /dev/null pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteSGI.c:1.1
--- /dev/null   Wed Mar 18 15:14:35 2026
+++ pkgsrc/graphics/xpaint/patches/patch-xpaintrw_readWriteSGI.c        Wed Mar 18 15:14:35 2026
@@ -0,0 +1,10 @@
+$NetBSD: patch-xpaintrw_readWriteSGI.c,v 1.1 2026/03/18 15:14:35 nia Exp $
+
+Fix implicit function declarations.
+
+--- xpaintrw/readWriteSGI.c.orig       2026-03-18 14:43:21.865503593 +0000
++++ xpaintrw/readWriteSGI.c
+@@ -16,2 +16,3 @@
+ 
++#include <fcntl.h>
+ #include <unistd.h>



Home | Main Index | Thread Index | Old Index