pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts/ttftot42



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Dec 22 23:22:02 UTC 2025

Modified Files:
        pkgsrc/fonts/ttftot42: distinfo
Added Files:
        pkgsrc/fonts/ttftot42/patches: patch-configure patch-write__afm.c
            patch-write__t42.c

Log Message:
ttftot42: fix build with gcc 14


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/fonts/ttftot42/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/fonts/ttftot42/patches/patch-configure \
    pkgsrc/fonts/ttftot42/patches/patch-write__afm.c \
    pkgsrc/fonts/ttftot42/patches/patch-write__t42.c

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

Modified files:

Index: pkgsrc/fonts/ttftot42/distinfo
diff -u pkgsrc/fonts/ttftot42/distinfo:1.5 pkgsrc/fonts/ttftot42/distinfo:1.6
--- pkgsrc/fonts/ttftot42/distinfo:1.5  Tue Oct 26 10:28:38 2021
+++ pkgsrc/fonts/ttftot42/distinfo      Mon Dec 22 23:22:02 2025
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:28:38 nia Exp $
+$NetBSD: distinfo,v 1.6 2025/12/22 23:22:02 wiz Exp $
 
 BLAKE2s (ttftot42-0.3.1.tar.gz) = 6925a724f4e315c9cf6d6df7dc218e151c282943a2292e02e1d4db581c790a13
 SHA512 (ttftot42-0.3.1.tar.gz) = 6b49abb764817e6d4f3ec0c9ec1cd9971d681c186910881c187b7947e27cd8c0cb4eb4283adb2c8466c1d8b2a3a669aca399ad7aaf9ef813a56fed753fae2506
 Size (ttftot42-0.3.1.tar.gz) = 54489 bytes
+SHA1 (patch-configure) = 0269c6bdc96e4e1deacd18378156158c09c88a4d
+SHA1 (patch-write__afm.c) = 662885fa3f570e54a7a2d00860ab6d77a630b12c
+SHA1 (patch-write__t42.c) = ef90be355cd50e2f1ba15cd8b7a8571e8461df80

Added files:

Index: pkgsrc/fonts/ttftot42/patches/patch-configure
diff -u /dev/null pkgsrc/fonts/ttftot42/patches/patch-configure:1.1
--- /dev/null   Mon Dec 22 23:22:02 2025
+++ pkgsrc/fonts/ttftot42/patches/patch-configure       Mon Dec 22 23:22:02 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2025/12/22 23:22:02 wiz Exp $
+
+Add missing 'int' to fix configure test.
+
+--- configure.orig     1999-03-08 17:42:12.000000000 +0000
++++ configure
+@@ -922,7 +922,7 @@ cat > conftest.$ac_ext << EOF
+ #line 923 "configure"
+ #include "confdefs.h"
+ 
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
Index: pkgsrc/fonts/ttftot42/patches/patch-write__afm.c
diff -u /dev/null pkgsrc/fonts/ttftot42/patches/patch-write__afm.c:1.1
--- /dev/null   Mon Dec 22 23:22:02 2025
+++ pkgsrc/fonts/ttftot42/patches/patch-write__afm.c    Mon Dec 22 23:22:02 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-write__afm.c,v 1.1 2025/12/22 23:22:02 wiz Exp $
+
+Add missing header for strcmp().
+
+--- write_afm.c.orig   2025-12-22 23:20:36.763159800 +0000
++++ write_afm.c
+@@ -24,6 +24,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <limits.h>
+ #include <time.h>
+ #include <ftxpost.h>
Index: pkgsrc/fonts/ttftot42/patches/patch-write__t42.c
diff -u /dev/null pkgsrc/fonts/ttftot42/patches/patch-write__t42.c:1.1
--- /dev/null   Mon Dec 22 23:22:02 2025
+++ pkgsrc/fonts/ttftot42/patches/patch-write__t42.c    Mon Dec 22 23:22:02 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-write__t42.c,v 1.1 2025/12/22 23:22:02 wiz Exp $
+
+Add missing header for strcmp().
+
+--- write_t42.c.orig   2025-12-22 23:20:20.695179043 +0000
++++ write_t42.c
+@@ -24,6 +24,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <time.h>
+ #include <ftxpost.h>
+ 



Home | Main Index | Thread Index | Old Index