pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/aalib



Module Name:    pkgsrc
Committed By:   mrg
Date:           Sun Oct 12 01:32:11 UTC 2025

Modified Files:
        pkgsrc/graphics/aalib: Makefile distinfo
        pkgsrc/graphics/aalib/patches: patch-ac
Added Files:
        pkgsrc/graphics/aalib/patches: patch-src_aafire.c patch-src_aainfo.c
            patch-src_aakbdreg.c patch-src_aamoureg.c patch-src_aaregist.c
            patch-src_aasavefont.c patch-src_aatest.c patch-src_aaxkbd.c

Log Message:
fix build with GCC 14:

- configure needed a main() return type.
- several missing headers for standard functions


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/graphics/aalib/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/aalib/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/aalib/patches/patch-ac
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/aalib/patches/patch-src_aafire.c \
    pkgsrc/graphics/aalib/patches/patch-src_aainfo.c \
    pkgsrc/graphics/aalib/patches/patch-src_aakbdreg.c \
    pkgsrc/graphics/aalib/patches/patch-src_aamoureg.c \
    pkgsrc/graphics/aalib/patches/patch-src_aaregist.c \
    pkgsrc/graphics/aalib/patches/patch-src_aasavefont.c \
    pkgsrc/graphics/aalib/patches/patch-src_aatest.c \
    pkgsrc/graphics/aalib/patches/patch-src_aaxkbd.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/aalib/Makefile
diff -u pkgsrc/graphics/aalib/Makefile:1.31 pkgsrc/graphics/aalib/Makefile:1.32
--- pkgsrc/graphics/aalib/Makefile:1.31 Mon Jan  6 21:49:19 2025
+++ pkgsrc/graphics/aalib/Makefile      Sun Oct 12 01:32:11 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2025/01/06 21:49:19 ktnb Exp $
+# $NetBSD: Makefile,v 1.32 2025/10/12 01:32:11 mrg Exp $
 
 DISTNAME=      aalib-1.4rc5
 PKGNAME=       ${DISTNAME:S/rc5/.0.5/}
@@ -29,4 +29,6 @@ SUBST_SED.malloc=     -e 's|<malloc.h>|<stdl
 
 .include "options.mk"
 
+#CFLAGS.NetBSD+= -Wno-implicit-int -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-incompatible-pointer-types -Wno-int-conversion
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/aalib/distinfo
diff -u pkgsrc/graphics/aalib/distinfo:1.10 pkgsrc/graphics/aalib/distinfo:1.11
--- pkgsrc/graphics/aalib/distinfo:1.10 Tue Oct 26 10:45:58 2021
+++ pkgsrc/graphics/aalib/distinfo      Sun Oct 12 01:32:11 2025
@@ -1,8 +1,16 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:45:58 nia Exp $
+$NetBSD: distinfo,v 1.11 2025/10/12 01:32:11 mrg Exp $
 
 BLAKE2s (aalib-1.4rc5.tar.gz) = 51b1456f242fbeaa6a8d98045ba40a4a942412d9fbb12dfa6cf8118ee125a09d
 SHA512 (aalib-1.4rc5.tar.gz) = 3e4506eccce3b81ccbbb79a4a1b90abd39e2259e6043fde90f70b9ca279bd4c37758a047167267b97c4ec92f64fb17c7c8f548114f0d0c6e78ddb9463b5f1299
 Size (aalib-1.4rc5.tar.gz) = 391028 bytes
 SHA1 (patch-aa) = 927d69a8f499b99f0bd5f13cf220ce8cbb7ea591
 SHA1 (patch-ab) = 272f6f10dbe7a525c582a9b4c865f0ab9b2f9fba
-SHA1 (patch-ac) = 8d9c812b9b871f44dd1285d6a635eeab6e49bf49
+SHA1 (patch-ac) = fec94beac4e94d555e8e39f9b461484ba342182f
+SHA1 (patch-src_aafire.c) = ebcf38a572b19785e04414b1116dcb3c01dc445a
+SHA1 (patch-src_aainfo.c) = bb5077e15cc5eb930c7cda22ae5944249788eacc
+SHA1 (patch-src_aakbdreg.c) = 5b8fa4679519ddd10a55284a13f77f1ae02857dc
+SHA1 (patch-src_aamoureg.c) = dc0dd704b59a02d4468c109830049ab49d3ed689
+SHA1 (patch-src_aaregist.c) = 82abe30099cadbd26e382e566069c0a41983f2a3
+SHA1 (patch-src_aasavefont.c) = 54d983a0cc890343be003eece209da4b443e1c88
+SHA1 (patch-src_aatest.c) = d967f8c8a56713ff0576d4c240e97f7f453a4913
+SHA1 (patch-src_aaxkbd.c) = 441a3538fcd9752c9d6c5857b290296616255376

Index: pkgsrc/graphics/aalib/patches/patch-ac
diff -u pkgsrc/graphics/aalib/patches/patch-ac:1.2 pkgsrc/graphics/aalib/patches/patch-ac:1.3
--- pkgsrc/graphics/aalib/patches/patch-ac:1.2  Fri Mar 31 17:11:54 2006
+++ pkgsrc/graphics/aalib/patches/patch-ac      Sun Oct 12 01:32:11 2025
@@ -1,7 +1,16 @@
-$NetBSD: patch-ac,v 1.2 2006/03/31 17:11:54 jlam Exp $
+$NetBSD: patch-ac,v 1.3 2025/10/12 01:32:11 mrg Exp $
 
---- configure.orig     2001-04-26 10:44:54.000000000 -0400
-+++ configure
+--- configure.orig     2001-04-26 07:44:54.000000000 -0700
++++ configure  2025-10-11 18:05:18.572989322 -0700
+@@ -1005,7 +1005,7 @@ cat > conftest.$ac_ext << EOF
+ #line 1006 "configure"
+ #include "confdefs.h"
+ 
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
 @@ -1957,6 +1957,9 @@ if test "${with_curses_driver+set}" = se
  
  fi

Added files:

Index: pkgsrc/graphics/aalib/patches/patch-src_aafire.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aafire.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aafire.c    Sun Oct 12 01:32:11 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_aafire.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aafire.c.orig  2001-04-26 08:30:03.000000000 -0700
++++ src/aafire.c       2025-10-11 18:24:48.142846732 -0700
+@@ -1,4 +1,5 @@
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "aalib.h"
+ 
+ #define XSIZ aa_imgwidth(context)
Index: pkgsrc/graphics/aalib/patches/patch-src_aainfo.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aainfo.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aainfo.c    Sun Oct 12 01:32:11 2025
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_aainfo.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aainfo.c.orig  2001-04-26 07:37:31.000000000 -0700
++++ src/aainfo.c       2025-10-11 18:23:19.636856818 -0700
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ 
+ #include "aalib.h"
+ #include "aaint.h"
Index: pkgsrc/graphics/aalib/patches/patch-src_aakbdreg.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aakbdreg.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aakbdreg.c  Sun Oct 12 01:32:11 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_aakbdreg.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aakbdreg.c.orig        2025-10-11 18:15:55.419041548 -0700
++++ src/aakbdreg.c     2025-10-11 18:16:32.655834758 -0700
+@@ -1,4 +1,5 @@
+ #include <malloc.h>
++#include <string.h>
+ #include "config.h"
+ #include "aalib.h"
+ #include "aaint.h"
Index: pkgsrc/graphics/aalib/patches/patch-src_aamoureg.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aamoureg.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aamoureg.c  Sun Oct 12 01:32:11 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_aamoureg.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aamoureg.c.orig        2025-10-11 18:20:28.987180916 -0700
++++ src/aamoureg.c     2025-10-11 18:20:54.713495805 -0700
+@@ -1,4 +1,5 @@
+ #include <malloc.h>
++#include <string.h>
+ #include "config.h"
+ #include "aalib.h"
+ #include "aaint.h"
Index: pkgsrc/graphics/aalib/patches/patch-src_aaregist.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aaregist.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aaregist.c  Sun Oct 12 01:32:11 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_aaregist.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aaregist.c.orig        2001-04-26 07:37:31.000000000 -0700
++++ src/aaregist.c     2025-10-11 18:15:05.227568205 -0700
+@@ -1,4 +1,5 @@
+ #include <malloc.h>
++#include <string.h>
+ #include "config.h"
+ #include "aalib.h"
+ #include "aaint.h"
Index: pkgsrc/graphics/aalib/patches/patch-src_aasavefont.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aasavefont.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aasavefont.c        Sun Oct 12 01:32:11 2025
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_aasavefont.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aasavefont.c.orig      2001-04-26 07:37:31.000000000 -0700
++++ src/aasavefont.c   2025-10-11 18:27:01.386739535 -0700
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #include "aalib.h"
+ int main(int argc, char **argv)
+ {
Index: pkgsrc/graphics/aalib/patches/patch-src_aatest.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aatest.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aatest.c    Sun Oct 12 01:32:11 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_aatest.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aatest.c.orig  2001-04-26 07:37:31.000000000 -0700
++++ src/aatest.c       2025-10-11 18:24:00.561876515 -0700
+@@ -1,3 +1,5 @@
++#include <stdlib.h>
++#include <string.h>
+ #include "aalib.h"
+ int main(int argc, char **argv)
+ {
Index: pkgsrc/graphics/aalib/patches/patch-src_aaxkbd.c
diff -u /dev/null pkgsrc/graphics/aalib/patches/patch-src_aaxkbd.c:1.1
--- /dev/null   Sun Oct 12 01:32:11 2025
+++ pkgsrc/graphics/aalib/patches/patch-src_aaxkbd.c    Sun Oct 12 01:32:11 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_aaxkbd.c,v 1.1 2025/10/12 01:32:11 mrg Exp $
+
+Add missing headers.
+
+
+--- src/aaxkbd.c.orig  2025-10-11 18:05:49.048397110 -0700
++++ src/aaxkbd.c       2025-10-11 18:07:01.573645712 -0700
+@@ -5,6 +5,7 @@
+ #include "config.h"
+ #ifdef X11_KBDDRIVER
+ #include <X11/Xlib.h>
++#include <X11/Xutil.h>
+ #include <X11/keysymdef.h>
+ #include <X11/keysym.h>
+ #include "aalib.h"



Home | Main Index | Thread Index | Old Index