pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gcc16: remove obsolete patches
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Mon Aug 10 10:55:22 2026 +0200
Changeset: 21b9e062e45df49f6ec17765fd9b4a3af1d350e8
Removed Files:
gcc16/patches/patch-gmp_acinclude.m4
gcc16/patches/patch-gmp_configure.ac
gcc16/patches/patch-libgcobol_posix_shim_open.cc
gcc16/patches/patch-mpc_src_get__x.c
Log Message:
gcc16: remove obsolete patches
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=21b9e062e45df49f6ec17765fd9b4a3af1d350e8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gcc16/patches/patch-gmp_acinclude.m4 | 21 --------------
gcc16/patches/patch-gmp_configure.ac | 13 ---------
gcc16/patches/patch-libgcobol_posix_shim_open.cc | 35 ------------------------
gcc16/patches/patch-mpc_src_get__x.c | 18 ------------
4 files changed, 87 deletions(-)
diffs:
diff --git a/gcc16/patches/patch-gmp_acinclude.m4 b/gcc16/patches/patch-gmp_acinclude.m4
deleted file mode 100644
index 48399f8908..0000000000
--- a/gcc16/patches/patch-gmp_acinclude.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD$
-
---- gmp/acinclude.m4.orig 2023-07-29 13:42:16.000000000 +0000
-+++ gmp/acinclude.m4
-@@ -3191,7 +3191,15 @@ AC_DEFUN([GMP_C_ATTRIBUTE_MODE],
- AC_DEFUN([GMP_C_ATTRIBUTE_MODE],
- [AC_CACHE_CHECK([whether gcc __attribute__ ((mode (XX))) works],
- gmp_cv_c_attribute_mode,
--[AC_TRY_COMPILE([typedef int SItype __attribute__ ((mode (SI)));], ,
-+[AC_TRY_COMPILE([
-+ typedef int SItype __attribute__ ((mode (SI)));
-+ typedef int QItype __attribute__ ((mode (QI)));
-+], [
-+ switch (1) {
-+ case sizeof(SItype):
-+ case sizeof(QItype): ;
-+ }
-+],
- gmp_cv_c_attribute_mode=yes, gmp_cv_c_attribute_mode=no)
- ])
- if test $gmp_cv_c_attribute_mode = yes; then
diff --git a/gcc16/patches/patch-gmp_configure.ac b/gcc16/patches/patch-gmp_configure.ac
deleted file mode 100644
index 8542a27737..0000000000
--- a/gcc16/patches/patch-gmp_configure.ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- gmp/configure.ac.orig 2023-07-29 13:42:16.000000000 +0000
-+++ gmp/configure.ac
-@@ -1044,7 +1044,7 @@ case $host in
- GMP_INCLUDE_MPN(mips32/mips-defs.m4)
-
- case $host in
-- [mips64*-*-* | mipsisa64*-*-* | mips*-*-irix[6789]*])
-+ [mips64*-*-* | mipsn64*-*-* | mipsisa64*-*-* | mips*-*-irix[6789]*])
- abilist="n32 64 o32"
-
- cclist_n32="gcc cc"
diff --git a/gcc16/patches/patch-libgcobol_posix_shim_open.cc b/gcc16/patches/patch-libgcobol_posix_shim_open.cc
deleted file mode 100644
index 3fc4a35b6f..0000000000
--- a/gcc16/patches/patch-libgcobol_posix_shim_open.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD$
-
-Guard Linux-specific open(2) flags (O_DIRECT, O_LARGEFILE, O_NOATIME,
-O_PATH, O_TMPFILE) with #ifdef so libgcobol builds on NetBSD, where
-these flags are not defined.
-
-
---- libgcobol/posix/shim/open.cc.ORIG 2026-04-30 09:33:28.000000000 +0100
-+++ libgcobol/posix/shim/open.cc 2026-05-11 11:31:52.302652073 +0100
-@@ -29,15 +29,25 @@
- { cbl::PSX_O_APPEND, O_APPEND },
- { cbl::PSX_O_NONBLOCK, O_NONBLOCK },
- { cbl::PSX_O_DSYNC, O_DSYNC },
-+#ifdef O_DIRECT
- { cbl::PSX_O_DIRECT, O_DIRECT },
-+#endif
-+#ifdef O_LARGEFILE
- { cbl::PSX_O_LARGEFILE, O_LARGEFILE },
-+#endif
- { cbl::PSX_O_DIRECTORY, O_DIRECTORY },
- { cbl::PSX_O_NOFOLLOW, O_NOFOLLOW },
-+#ifdef O_NOATIME
- { cbl::PSX_O_NOATIME, O_NOATIME },
-+#endif
- { cbl::PSX_O_CLOEXEC, O_CLOEXEC },
- { cbl::PSX_O_SYNC, O_SYNC },
-+#ifdef O_PATH
- { cbl::PSX_O_PATH, O_PATH },
-+#endif
-+#ifdef O_TMPFILE
- { cbl::PSX_O_TMPFILE, O_TMPFILE },
-+#endif
- };
-
- static const std::map<int, int> mode_bits {
diff --git a/gcc16/patches/patch-mpc_src_get__x.c b/gcc16/patches/patch-mpc_src_get__x.c
deleted file mode 100644
index f5f4bd547c..0000000000
--- a/gcc16/patches/patch-mpc_src_get__x.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
---- mpc/src/get_x.c.orig 2022-12-12 09:22:59.000000000 +0000
-+++ mpc/src/get_x.c
-@@ -32,6 +32,13 @@ along with this program. If not, see http://www.gnu.or
- #include "mpc-impl.h"
-
- #ifdef HAVE_COMPLEX_H
-+
-+#if defined(__sun) && defined(__GNUC__) && defined(_Imaginary_I)
-+#undef I
-+#define I (__extension__ 1.0iF)
-+
-+#endif
-+
- double _Complex
- mpc_get_dc (mpc_srcptr op, mpc_rnd_t rnd) {
- return I * mpfr_get_d (mpc_imagref (op), MPC_RND_IM (rnd))
Home |
Main Index |
Thread Index |
Old Index