pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/arm-none-eabi-gdb



Module Name:    pkgsrc
Committed By:   yurix
Date:           Sat Oct  3 18:25:39 UTC 2026

Modified Files:
        pkgsrc/cross/arm-none-eabi-gdb: distinfo
Added Files:
        pkgsrc/cross/arm-none-eabi-gdb/patches: patch-zlib_zutil.h

Log Message:
cross/arm-none-eabi-gdb: fix build on macOS

This is the same issues as in PR 59701, but for gdb instead of gcc.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/cross/arm-none-eabi-gdb/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cross/arm-none-eabi-gdb/patches/patch-zlib_zutil.h

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

Modified files:

Index: pkgsrc/cross/arm-none-eabi-gdb/distinfo
diff -u pkgsrc/cross/arm-none-eabi-gdb/distinfo:1.5 pkgsrc/cross/arm-none-eabi-gdb/distinfo:1.6
--- pkgsrc/cross/arm-none-eabi-gdb/distinfo:1.5 Thu Sep  4 23:06:24 2025
+++ pkgsrc/cross/arm-none-eabi-gdb/distinfo     Sat Oct  3 18:25:39 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2025/09/04 23:06:24 lloyd Exp $
+$NetBSD: distinfo,v 1.6 2026/10/03 18:25:39 yurix Exp $
 
 BLAKE2s (gdb-16.3.tar.xz) = 27e5946391ec197b0a6487e2bfca2b66d4a96f44d5be10d5d19aaccdfdf0f10f
 SHA512 (gdb-16.3.tar.xz) = fffd6689c3405466a179670b04720dc825e4f210a761f63dd2b33027432f8cd5d1c059c431a5ec9e165eedd1901220b5329d73c522f9a444788888c731b29e9c
 Size (gdb-16.3.tar.xz) = 24434444 bytes
+SHA1 (patch-zlib_zutil.h) = 8031b05973fe8a27f08121bee4c11a53c08db4e6

Added files:

Index: pkgsrc/cross/arm-none-eabi-gdb/patches/patch-zlib_zutil.h
diff -u /dev/null pkgsrc/cross/arm-none-eabi-gdb/patches/patch-zlib_zutil.h:1.1
--- /dev/null   Sat Oct  3 18:25:40 2026
+++ pkgsrc/cross/arm-none-eabi-gdb/patches/patch-zlib_zutil.h   Sat Oct  3 18:25:39 2026
@@ -0,0 +1,22 @@
+$NetBSD: patch-zlib_zutil.h,v 1.1 2026/10/03 18:25:39 yurix Exp $
+
+Patch the build on macOS.
+
+--- zlib/zutil.h.orig  2026-09-30 10:45:58.123324424 +0000
++++ zlib/zutil.h
+@@ -139,15 +139,6 @@ extern z_const char * const z_errmsg[10]
+ 
+ #if defined(MACOS) || defined(TARGET_OS_MAC)
+ #  define OS_CODE  7
+-#  ifndef Z_SOLO
+-#    if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
+-#      include <unix.h> /* for fdopen */
+-#    else
+-#      ifndef fdopen
+-#        define fdopen(fd,mode) NULL /* No fdopen() */
+-#      endif
+-#    endif
+-#  endif
+ #endif
+ 
+ #ifdef __acorn



Home | Main Index | Thread Index | Old Index