pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Wed Feb 25 08:27:41 UTC 2026

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

Log Message:
arm-none-eabi-binutils: Fix build on Darwin

pkgsrc changes:
---------------
  * Remove fdopen #defines in zutil.h on macOS.
  * Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/cross/arm-none-eabi-binutils/Makefile \
    pkgsrc/cross/arm-none-eabi-binutils/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cross/arm-none-eabi-binutils/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-binutils/Makefile
diff -u pkgsrc/cross/arm-none-eabi-binutils/Makefile:1.13 pkgsrc/cross/arm-none-eabi-binutils/Makefile:1.14
--- pkgsrc/cross/arm-none-eabi-binutils/Makefile:1.13   Thu Sep  4 23:06:24 2025
+++ pkgsrc/cross/arm-none-eabi-binutils/Makefile        Wed Feb 25 08:27:41 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2025/09/04 23:06:24 lloyd Exp $
+# $NetBSD: Makefile,v 1.14 2026/02/25 08:27:41 triaxx Exp $
 
 DISTNAME=      binutils-2.45
 PKGNAME=       cross-arm-none-eabi-${DISTNAME}
-#PKGREVISION=  1
+PKGREVISION=   1
 CATEGORIES=    cross
 MASTER_SITES=  ${MASTER_SITE_GNU:=binutils/}
 EXTRACT_SUFX=  .tar.xz
Index: pkgsrc/cross/arm-none-eabi-binutils/distinfo
diff -u pkgsrc/cross/arm-none-eabi-binutils/distinfo:1.13 pkgsrc/cross/arm-none-eabi-binutils/distinfo:1.14
--- pkgsrc/cross/arm-none-eabi-binutils/distinfo:1.13   Thu Sep  4 23:06:24 2025
+++ pkgsrc/cross/arm-none-eabi-binutils/distinfo        Wed Feb 25 08:27:41 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2025/09/04 23:06:24 lloyd Exp $
+$NetBSD: distinfo,v 1.14 2026/02/25 08:27:41 triaxx Exp $
 
 BLAKE2s (binutils-2.45.tar.xz) = cb7c92ac2441421d9a054d8585456dba6e714aa6cb7392cdf561d55879bf24a8
 SHA512 (binutils-2.45.tar.xz) = c7b10a7466d9fd398d7a0b3f2a43318432668d714f2ec70069a31bdc93c86d28e0fe83792195727167743707fbae45337c0873a0786416db53bbf22860c16ce7
 Size (binutils-2.45.tar.xz) = 27868232 bytes
+SHA1 (patch-zlib_zutil.h) = 7e2367c285572c59831ce7c8098f22fa9fe02f47

Added files:

Index: pkgsrc/cross/arm-none-eabi-binutils/patches/patch-zlib_zutil.h
diff -u /dev/null pkgsrc/cross/arm-none-eabi-binutils/patches/patch-zlib_zutil.h:1.1
--- /dev/null   Wed Feb 25 08:27:41 2026
+++ pkgsrc/cross/arm-none-eabi-binutils/patches/patch-zlib_zutil.h      Wed Feb 25 08:27:41 2026
@@ -0,0 +1,26 @@
+$NetBSD: patch-zlib_zutil.h,v 1.1 2026/02/25 08:27:41 triaxx Exp $
+
+Remove fdopen #defines in zutil.h.
+https://github.com/madler/zlib/commit/4bd9a71
+
+--- zlib/zutil.h.orig  2026-02-25 06:00:37.313140454 +0000
++++ zlib/zutil.h
+@@ -137,17 +137,8 @@ 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
+-#      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