pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/magicfilter



Module Name:    pkgsrc
Committed By:   mrg
Date:           Mon Sep 29 20:40:14 UTC 2025

Modified Files:
        pkgsrc/print/magicfilter: distinfo
        pkgsrc/print/magicfilter/patches: patch-ac

Log Message:
include <sys/stat.h> for umask(2) and give main a return type.

fixes build with GCC 14.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/print/magicfilter/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/magicfilter/patches/patch-ac

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

Modified files:

Index: pkgsrc/print/magicfilter/distinfo
diff -u pkgsrc/print/magicfilter/distinfo:1.10 pkgsrc/print/magicfilter/distinfo:1.11
--- pkgsrc/print/magicfilter/distinfo:1.10      Tue Oct 26 11:12:10 2021
+++ pkgsrc/print/magicfilter/distinfo   Mon Sep 29 20:40:14 2025
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 11:12:10 nia Exp $
+$NetBSD: distinfo,v 1.11 2025/09/29 20:40:14 mrg Exp $
 
 BLAKE2s (magicfilter-1.2.tar.gz) = 0a79ea22dbdfc2648d6b28e3ad412fe3a366fade93903f6a34a965ab7add9e65
 SHA512 (magicfilter-1.2.tar.gz) = 5a754abdb778e90880f51cad30b9b49652e49030cd766f989bd8fd3383e58ba8ce4a24b352f7dbd3460d430a7aa8f89643b94af6be9780f378ff2b22dfcfa8f2
 Size (magicfilter-1.2.tar.gz) = 53176 bytes
 SHA1 (patch-aa) = 6fe946d6adc7db746c4ff70ed6a946aebf115d5d
 SHA1 (patch-ab) = d55a2db4b9048a41be60c51f651ef0dfcb3f315e
-SHA1 (patch-ac) = eb8aad07704ebe1ab744307523c846827a6afe93
+SHA1 (patch-ac) = f6d604ffc83d2f4d5e8875646a1953792034bb76
 SHA1 (patch-ad) = 66e3e6396add9ac0739b837b58f1f524d0701867

Index: pkgsrc/print/magicfilter/patches/patch-ac
diff -u pkgsrc/print/magicfilter/patches/patch-ac:1.1 pkgsrc/print/magicfilter/patches/patch-ac:1.2
--- pkgsrc/print/magicfilter/patches/patch-ac:1.1       Sun Sep 21 18:56:41 2003
+++ pkgsrc/print/magicfilter/patches/patch-ac   Mon Sep 29 20:40:14 2025
@@ -1,8 +1,18 @@
-$NetBSD: patch-ac,v 1.1 2003/09/21 18:56:41 tron Exp $
+$NetBSD: patch-ac,v 1.2 2025/09/29 20:40:14 mrg Exp $
 
---- magicfilter.c.orig 1996-03-17 12:39:24.000000000 +0100
-+++ magicfilter.c      2003-09-21 20:54:38.000000000 +0200
-@@ -59,10 +59,9 @@
+Adjust for modern C.
+
+--- magicfilter.c.orig 1996-03-17 03:39:24.000000000 -0800
++++ magicfilter.c      2025-09-25 12:28:43.390857979 -0700
+@@ -23,6 +23,7 @@
+ #ifdef HAVE_SYS_WAIT_H
+ #include <sys/wait.h>
+ #endif
++#include <sys/stat.h>
+ 
+ char *inblock;                        /* Block read */
+ int inblock_size;             /* Bytes reserved for the inblock */
+@@ -59,10 +60,9 @@
  /* Header of mail message */
  #ifndef NOMAIL
  const char *mailheader =      /* Header of complaint message */
@@ -16,3 +26,11 @@ $NetBSD: patch-ac,v 1.1 2003/09/21 18:56
  #endif
  
  /* ------------------------------------------------------------------------- *
+@@ -835,6 +835,7 @@
+  * Analyze the input data and choose an appropriate way to handle it.
+  * ------------------------------------------------------------------------- */
+ 
++int
+ main(int argc, char *argv[])
+ {
+   int do_cat = 0;             /* True if -c option */



Home | Main Index | Thread Index | Old Index