pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gcc14-gnat/patches
Module Name: pkgsrc
Committed By: dkazankov
Date: Mon Oct 20 14:24:50 UTC 2025
Added Files:
pkgsrc/lang/gcc14-gnat/patches: patch-isl_configure patch-zlib_zutil.h
Log Message:
gcc14-gnat: add missing patches
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc14-gnat/patches/patch-isl_configure \
pkgsrc/lang/gcc14-gnat/patches/patch-zlib_zutil.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/lang/gcc14-gnat/patches/patch-isl_configure
diff -u /dev/null pkgsrc/lang/gcc14-gnat/patches/patch-isl_configure:1.1
--- /dev/null Mon Oct 20 14:24:50 2025
+++ pkgsrc/lang/gcc14-gnat/patches/patch-isl_configure Mon Oct 20 14:24:50 2025
@@ -0,0 +1,24 @@
+$NetBSD: patch-isl_configure,v 1.1 2025/10/20 14:24:50 dkazankov Exp $
+
+Fix unportable test(1) operator.
+
+--- isl/configure.orig 2021-04-26 09:13:19.000000000 +0000
++++ isl/configure
+@@ -20657,7 +20657,7 @@ else
+ HAVE_CXX11_FALSE=
+ fi
+
+- if test "x$with_int" == "ximath-32"; then
++ if test "x$with_int" = "ximath-32"; then
+ SMALL_INT_OPT_TRUE=
+ SMALL_INT_OPT_FALSE='#'
+ else
+@@ -20665,7 +20665,7 @@ else
+ SMALL_INT_OPT_FALSE=
+ fi
+
+-if test "x$with_int" == "ximath-32"; then :
++if test "x$with_int" = "ximath-32"; then :
+
+
+ $as_echo "#define USE_SMALL_INT_OPT /**/" >>confdefs.h
Index: pkgsrc/lang/gcc14-gnat/patches/patch-zlib_zutil.h
diff -u /dev/null pkgsrc/lang/gcc14-gnat/patches/patch-zlib_zutil.h:1.1
--- /dev/null Mon Oct 20 14:24:50 2025
+++ pkgsrc/lang/gcc14-gnat/patches/patch-zlib_zutil.h Mon Oct 20 14:24:50 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-zlib_zutil.h,v 1.1 2025/10/20 14:24:50 dkazankov Exp $
+
+Fix build with Xcode 16.3.
+https://www.mail-archive.com/gcc-bugs%gcc.gnu.org@localhost/msg860049.html
+
+--- zlib/zutil.h.orig 2025-06-20 06:34:52.537143884 +0000
++++ zlib/zutil.h
+@@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10]
+ # endif
+ #endif
+
+-#if defined(MACOS) || defined(TARGET_OS_MAC)
++#if defined(MACOS)
+ # define OS_CODE 7
+ # ifndef Z_SOLO
+ # if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
Home |
Main Index |
Thread Index |
Old Index