pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/zzuf
Module Name: pkgsrc
Committed By: he
Date: Mon Apr 22 09:59:21 UTC 2024
Modified Files:
pkgsrc/devel/zzuf: Makefile distinfo
pkgsrc/devel/zzuf/patches: patch-configure patch-configure.ac
Log Message:
devel/zzuf: Fix build on powerpc, where you need gnu99 for alloca().
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/zzuf/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/zzuf/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/zzuf/patches/patch-configure \
pkgsrc/devel/zzuf/patches/patch-configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/zzuf/Makefile
diff -u pkgsrc/devel/zzuf/Makefile:1.9 pkgsrc/devel/zzuf/Makefile:1.10
--- pkgsrc/devel/zzuf/Makefile:1.9 Sun Apr 25 07:52:38 2021
+++ pkgsrc/devel/zzuf/Makefile Mon Apr 22 09:59:20 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2021/04/25 07:52:38 nia Exp $
+# $NetBSD: Makefile,v 1.10 2024/04/22 09:59:20 he Exp $
#
DISTNAME= zzuf-0.15
+PKGREVISION= 1
CATEGORIES= devel security
MASTER_SITES= ${MASTER_SITE_GITHUB:=samhocevar/zzuf/releases/download/v${DISTNAME:C:zzuf-::}/}
@@ -9,7 +10,7 @@ MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://caca.zoy.org/wiki/zzuf/
COMMENT= Transparent application input fuzzer
-USE_LANGUAGES= c99
+USE_LANGUAGES= gnu99
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
Index: pkgsrc/devel/zzuf/distinfo
diff -u pkgsrc/devel/zzuf/distinfo:1.7 pkgsrc/devel/zzuf/distinfo:1.8
--- pkgsrc/devel/zzuf/distinfo:1.7 Tue Oct 26 10:20:11 2021
+++ pkgsrc/devel/zzuf/distinfo Mon Apr 22 09:59:20 2024
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:20:11 nia Exp $
+$NetBSD: distinfo,v 1.8 2024/04/22 09:59:20 he Exp $
BLAKE2s (zzuf-0.15.tar.gz) = 6a94c6acac04d25d02331714fd828e82449be8da82eb77954dacfa71e8932da0
SHA512 (zzuf-0.15.tar.gz) = f5b26f630343d4e0d87705df26b2fa01059ea7ffd7a4970a353014f9e59bc31526edde675de6a4dab9372e39d762cfd180a38990e498f609a3c7ae7fe44ba487
Size (zzuf-0.15.tar.gz) = 493559 bytes
SHA1 (patch-config.h.in) = 517bc764b4b53b15e189fe39322341fe50af3ec8
-SHA1 (patch-configure) = e6797a1b4f90ebb41ea86e7d99241ca78b9b0ad9
-SHA1 (patch-configure.ac) = d236876a47c3df13b6a82dda5c941f7a314b1abc
+SHA1 (patch-configure) = a8eb51b90566efd44874e6e154628115205618a9
+SHA1 (patch-configure.ac) = b1cb0190a86621dd8ee47a400700cb1abaf11a67
SHA1 (patch-src_util_md5.c) = 12c0068355fb8c3a63f329e5774aa0cebcad7b44
SHA1 (patch-src_zzuf.c) = 28a1223a7a4d4a3d6a0320910b7c782ce202c8d0
Index: pkgsrc/devel/zzuf/patches/patch-configure
diff -u pkgsrc/devel/zzuf/patches/patch-configure:1.1 pkgsrc/devel/zzuf/patches/patch-configure:1.2
--- pkgsrc/devel/zzuf/patches/patch-configure:1.1 Sun Apr 16 21:46:12 2017
+++ pkgsrc/devel/zzuf/patches/patch-configure Mon Apr 22 09:59:20 2024
@@ -1,11 +1,38 @@
-$NetBSD: patch-configure,v 1.1 2017/04/16 21:46:12 khorben Exp $
+$NetBSD: patch-configure,v 1.2 2024/04/22 09:59:20 he Exp $
Build fix for NetBSD, where:
* <alloca.h> does not exist but alloca(3) is available in <stdlib.h> instead
* <sys/select.h> is not automatically visible
+* probe for gnu99 not c99 for more universal alloca() availability
--- configure.orig 2016-05-03 06:12:05.000000000 +0000
+++ configure
+@@ -12352,10 +12352,10 @@ _ACEOF
+ $as_echo "$ac_v_func" >&6; }
+
+ # C99 support (mandatory)
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -std=c99 flags" >&5
+-$as_echo_n "checking if $CC supports -std=c99 flags... " >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -std=gnu99 flags" >&5
++$as_echo_n "checking if $CC supports -std=gnu99 flags... " >&6; }
+ SAVE_CFLAGS="$CFLAGS"
+- CFLAGS="-std=c99"
++ CFLAGS="-std=gnu99"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -12377,9 +12377,9 @@ rm -f core conftest.err conftest.$ac_obj
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_try_cflags_ok" >&5
+ $as_echo "$ac_cv_try_cflags_ok" >&6; }
+ if test x"$ac_cv_try_cflags_ok" = x"yes"; then
+- CFLAGS="${CFLAGS} -std=c99"
++ CFLAGS="${CFLAGS} -std=gnu99"
+ else
+- as_fn_error $? "support for C99 (-std=c99) required" "$LINENO" 5
++ as_fn_error $? "support for GNU C99 (-std=gnu99) required" "$LINENO" 5
+ fi
+
+ # Library suffix
@@ -12561,7 +12561,7 @@ fi
done
Index: pkgsrc/devel/zzuf/patches/patch-configure.ac
diff -u pkgsrc/devel/zzuf/patches/patch-configure.ac:1.1 pkgsrc/devel/zzuf/patches/patch-configure.ac:1.2
--- pkgsrc/devel/zzuf/patches/patch-configure.ac:1.1 Sun Apr 16 21:46:12 2017
+++ pkgsrc/devel/zzuf/patches/patch-configure.ac Mon Apr 22 09:59:20 2024
@@ -1,11 +1,25 @@
-$NetBSD: patch-configure.ac,v 1.1 2017/04/16 21:46:12 khorben Exp $
+$NetBSD: patch-configure.ac,v 1.2 2024/04/22 09:59:20 he Exp $
Build fix for NetBSD, where:
* <alloca.h> does not exist but alloca(3) is available in <stdlib.h> instead
* <sys/select.h> is not automatically visible
+* probe for gnu99 not c99 for more universal alloca() availability
--- configure.ac.orig 2016-05-03 06:11:49.000000000 +0000
+++ configure.ac
+@@ -26,9 +26,9 @@ AC_C_INLINE
+ AC_C_FUNC
+
+ # C99 support (mandatory)
+-AC_TRY_CFLAGS(-std=c99,
+- [CFLAGS="${CFLAGS} -std=c99"],
+- [AC_MSG_ERROR(support for C99 (-std=c99) required)])
++AC_TRY_CFLAGS(-std=gnu99,
++ [CFLAGS="${CFLAGS} -std=gnu99"],
++ [AC_MSG_ERROR(support for GNU C99 (-std=gnu99) required)])
+
+ # Library suffix
+ AC_MSG_CHECKING(for libzzuf full name)
@@ -65,9 +65,9 @@ AC_SUBST(DLL_LDFLAGS)
AC_CHECK_HEADERS(unistd.h inttypes.h stdint.h endian.h libc.h)
Home |
Main Index |
Thread Index |
Old Index