Source-Changes archive

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

CVS commit: src/external/gpl3



Module Name:    src
Committed By:   bad
Date:           Fri May  9 20:18:10 UTC 2025

Modified Files:
        src/external/gpl3/binutils.old/dist/zlib: zutil.h
        src/external/gpl3/binutils/dist/zlib: zutil.h
        src/external/gpl3/gdb.old/dist/zlib: zutil.h
        src/external/gpl3/gdb/dist/zlib: zutil.h

Log Message:
binutils, gdb: fix build und Xcode 16.3

Apply https://github.com/madler/zlib/commit/4bd9a71f3539b5ce47f0c67ab5e01f3196dc8ef9
This removes the #defines for fdopen which isn't used by the zlib code anymore.
It also removes a bogus use of "|| defined(TARGET_OS_MAC)" (now defined by
default by the Xcode compiler) which caused a redefinition of OS_CODE.

First reported by Greg Woods:
https://mail-index.netbsd.org/current-users/2025/04/04/msg046361.html

Probably worth pulling up to -10 and -9 but very likely needs to be done via
a patch.

Only tested by a full amd64 build.  So the {binutils,gdb}.old change is
untested, but the diff looks good to me and I don't expect any failures.

We probably should have 6 copies of zlib in the tree, all of slightly
different version.

Fixes PR toolchain/59413.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/binutils.old/dist/zlib/zutil.h
cvs rdiff -u -r1.1.1.5 -r1.2 src/external/gpl3/binutils/dist/zlib/zutil.h
cvs rdiff -u -r1.1.1.5 -r1.2 src/external/gpl3/gdb.old/dist/zlib/zutil.h
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/dist/zlib/zutil.h

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




Home | Main Index | Thread Index | Old Index