diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-09-28 19:28:48 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-09-28 19:28:48 +0000 |
commit | b3d1c539a2aa44173c1cd8029279806bdbd45e71 (patch) | |
tree | 2803d58c5ba78bfb85b6b651c84f3565f1ff2d4a | |
parent | a887b1ca8a5511de45908716a14c3c1f9fd86f32 (diff) | |
download | netpbm-mirror-stable.tar.gz netpbm-mirror-stable.tar.xz netpbm-mirror-stable.zip |
Release 11.02.11 stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@4950 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rwxr-xr-x | buildtools/configure.pl | 12 | ||||
-rw-r--r-- | doc/HISTORY | 5 | ||||
-rw-r--r-- | version.mk | 2 |
3 files changed, 12 insertions, 7 deletions
diff --git a/buildtools/configure.pl b/buildtools/configure.pl index aa94a6bb..42cdc9a2 100755 --- a/buildtools/configure.pl +++ b/buildtools/configure.pl @@ -2489,14 +2489,14 @@ if ($platform eq "GNU") { push(@config_mk, "CC = cc -no-cpp-precomp\n"); push(@config_mk, gnuCflags('cc')); push(@config_mk, 'CFLAGS_SHLIB = -fno-common', "\n"); - # -D_DARWIN_SOURCE is a hack. We've seen build fail on MacOS because the - # C library erroneously neglects to include 'sprintf' and 'vasprintf' in - # <stdio.h> under the conditions under which Netpbm includes it. - # -D_DARWIN_SOURCE makes it include them. *_SOURCE macros are supposed to - # be defined in the source code to which they apply, but since this is + # -D_DARWIN_C_SOURCE is a hack. We've seen build fail on MacOS because + # the C library erroneously neglects to include 'sprintf' and 'vasprintf' + # in <stdio.h> under the conditions under which Netpbm includes it. + # -D_DARWIN_C_SOURCE makes it include them. *_SOURCE macros are supposed + # to be defined in the source code to which they apply, but since this is # just a hack, we prefer to do it with a compiler option and leave the # source code unsullied. - push(@config_mk, "CFLAGS += -D_DARWIN_SOURCE\n"); + push(@config_mk, "CFLAGS += -D_DARWIN_C_SOURCE\n"); my $installNameOpt; if ($netpbmlib_runtime_path eq '') { diff --git a/doc/HISTORY b/doc/HISTORY index 97378618..09e200b8 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -4,6 +4,11 @@ Netpbm. CHANGE HISTORY -------------- +24.09.28 BJH Release 11.02.11 + + build: fix typo in check of DARWIN_C_SOURCE so strdup, etc. + are properly defined on OS X. + 24.09.04 BJH Release 11.02.10 libnetpbm color name parsing: Fix handling of rgb: color names diff --git a/version.mk b/version.mk index 7cafd6bd..b85cdef9 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 11 NETPBM_MINOR_RELEASE = 2 -NETPBM_POINT_RELEASE = 10 +NETPBM_POINT_RELEASE = 11 |