pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/spiralsynth



Module Name:    pkgsrc
Committed By:   mrg
Date:           Tue Oct  7 03:56:16 UTC 2025

Modified Files:
        pkgsrc/audio/spiralsynth: Makefile distinfo
Added Files:
        pkgsrc/audio/spiralsynth/patches: patch-configure

Log Message:
Fix build with GCC 14: give main() a return type.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/audio/spiralsynth/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/audio/spiralsynth/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/spiralsynth/patches/patch-configure

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

Modified files:

Index: pkgsrc/audio/spiralsynth/Makefile
diff -u pkgsrc/audio/spiralsynth/Makefile:1.42 pkgsrc/audio/spiralsynth/Makefile:1.43
--- pkgsrc/audio/spiralsynth/Makefile:1.42      Thu Apr 24 14:13:17 2025
+++ pkgsrc/audio/spiralsynth/Makefile   Tue Oct  7 03:56:16 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2025/04/24 14:13:17 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2025/10/07 03:56:16 mrg Exp $
 #
 
 DISTNAME=              SpiralSynth-2.0.0
@@ -29,6 +29,8 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/.SpiralPatches.bank \
                ${WRKSRC}/.Spiralrc ${DESTDIR}${PREFIX}/share/spiralsynth
 
+#CFLAGS.NetBSD+=        -Wno-implicit-int -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-incompatible-pointer-types
+
 .include "../../x11/fltk13/buildlink3.mk"
 .include "../../mk/oss.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"

Index: pkgsrc/audio/spiralsynth/distinfo
diff -u pkgsrc/audio/spiralsynth/distinfo:1.17 pkgsrc/audio/spiralsynth/distinfo:1.18
--- pkgsrc/audio/spiralsynth/distinfo:1.17      Tue Oct 26 09:59:31 2021
+++ pkgsrc/audio/spiralsynth/distinfo   Tue Oct  7 03:56:16 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2021/10/26 09:59:31 nia Exp $
+$NetBSD: distinfo,v 1.18 2025/10/07 03:56:16 mrg Exp $
 
 BLAKE2s (SpiralSynth-2.0.0.tar.gz) = 161cbb848a8ec7785b52717b57306abf53b498c074476625c6d04379c460dee9
 SHA512 (SpiralSynth-2.0.0.tar.gz) = fb9b1c84d03120c372af344f1f3e6ec4bfecea8d2c2afed9f5484c13e453bf816cfa7429690d3a3356ca84a51df31fdbb3ca25d2d2b023aacacfea6ec4936244
@@ -18,3 +18,4 @@ SHA1 (patch-am) = 78ab70a1952f3897124125
 SHA1 (patch-an) = 2bafb1a9a959816af43a858fdb4a9df5586a91e9
 SHA1 (patch-ao) = 138f58bd7fae0226690747efcb8daf472e3a5337
 SHA1 (patch-ar) = 44ab335b5a7831080d58a952f3cc13e5795a3f0e
+SHA1 (patch-configure) = 2b7c1b47d3de0f725dd7c058d576f17442b61b2a

Added files:

Index: pkgsrc/audio/spiralsynth/patches/patch-configure
diff -u /dev/null pkgsrc/audio/spiralsynth/patches/patch-configure:1.1
--- /dev/null   Tue Oct  7 03:56:16 2025
+++ pkgsrc/audio/spiralsynth/patches/patch-configure    Tue Oct  7 03:56:16 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure,v 1.1 2025/10/07 03:56:16 mrg Exp $
+
+Give main() a return type for GCC 14.
+
+
+--- configure.orig     2000-11-26 09:31:50.000000000 -0800
++++ configure  2025-09-29 14:25:24.827542871 -0700
+@@ -652,7 +652,7 @@
+ #line 653 "configure"
+ #include "confdefs.h"
+ 
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes



Home | Main Index | Thread Index | Old Index