[libpng15] Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in

scripts/makefile.vcwin32.
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
This commit is contained in:
Cosmin Truta 2014-11-16 19:42:08 -06:00 committed by Glenn Randers-Pehrson
parent 55246f5ed6
commit f3c2a77175
4 changed files with 25 additions and 18 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.5.20rc02 - November 14, 2014 Libpng 1.5.20rc03 - November 17, 2014
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@ -9,21 +9,21 @@ Files available for download:
Source files with LF line endings (for Unix/Linux) and with a Source files with LF line endings (for Unix/Linux) and with a
"configure" script "configure" script
1.5.20rc02.tar.xz (LZMA-compressed, recommended) 1.5.20rc03.tar.xz (LZMA-compressed, recommended)
1.5.20rc02.tar.gz 1.5.20rc03.tar.gz
1.5.20rc02.tar.bz2 1.5.20rc03.tar.bz2
Source files with CRLF line endings (for Windows), without the Source files with CRLF line endings (for Windows), without the
"configure" script "configure" script
lp1520r02.7z (LZMA-compressed, recommended) lp1520r03.7z (LZMA-compressed, recommended)
lp1520r02.zip lp1520r03.zip
Other information: Other information:
1.5.20rc02-README.txt 1.5.20rc03-README.txt
1.5.20rc02-LICENSE.txt 1.5.20rc03-LICENSE.txt
libpng-1.5.20rc02-*.asc (armored detached GPG signatures) libpng-1.5.20rc03-*.asc (armored detached GPG signatures)
Changes since the last public release (1.5.19): Changes since the last public release (1.5.19):
@ -39,14 +39,18 @@ Version 1.5.20beta02 [November 10, 2014]
Version 1.5.20rc01 [November 13, 2014] Version 1.5.20rc01 [November 13, 2014]
Version 1.5.20rc02 [November 14, 2014] Version 1.5.20rc02 [November 14, 2014]]
The macros passed in the command line to Borland make are ignored if The macros passed in the command line to Borland make were ignored if
similarly-named macros are already defined in makefiles. This behavior similarly-named macros were already defined in makefiles. This behavior
is different from POSIX make and other make programs. Surround the is different from POSIX make and other make programs. Surround the
macro definitions with ifndef guards (Cosmin). macro definitions with ifndef guards (Cosmin).
Use memcpy instead of CopyMemory in the definition of png_memcpy. Use memcpy instead of CopyMemory in the definition of png_memcpy.
The Borland C++ build breaks otherwise (Cosmin). The Borland C++ build breaks otherwise (Cosmin).
Version 1.5.20rc03 [November 17, 2014]
Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in scripts/makefile.vcwin32
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -4258,7 +4258,7 @@ Version 1.5.20beta02 [November 10, 2014]
Version 1.5.20rc01 [November 13, 2014] Version 1.5.20rc01 [November 13, 2014]
Version 1.5.20rc02 [November 14, 2014] Version 1.5.20rc02 [November 14, 2014]]
The macros passed in the command line to Borland make were ignored if The macros passed in the command line to Borland make were ignored if
similarly-named macros were already defined in makefiles. This behavior similarly-named macros were already defined in makefiles. This behavior
is different from POSIX make and other make programs. Surround the is different from POSIX make and other make programs. Surround the
@ -4266,6 +4266,10 @@ Version 1.5.20rc02 [November 14, 2014]
Use memcpy instead of CopyMemory in the definition of png_memcpy. Use memcpy instead of CopyMemory in the definition of png_memcpy.
The Borland C++ build breaks otherwise (Cosmin). The Borland C++ build breaks otherwise (Cosmin).
Version 1.5.20rc03 [November 17, 2014]
Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in scripts/makefile.vcwin32
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement https://lists.sourceforge.net/lists/listinfo/png-mng-implement

View File

@ -36,12 +36,11 @@ LN_SF=ln -sf
RANLIB=ranlib RANLIB=ranlib
CP=cp CP=cp
RM_F=/bin/rm -f RM_F=/bin/rm -f
ARCH=-arch ppc -arch i386 -arch x86_64
CPPFLAGS=-I$(ZLIBINC) CPPFLAGS=-I$(ZLIBINC)
# CFLAGS=-W -Wall -O3 -funroll-loops # CFLAGS=-W -Wall -O3 -funroll-loops
CFLAGS=-W -Wall -O -funroll-loops $(ARCH) CFLAGS=-W -Wall -O -funroll-loops
LDFLAGS=-L. -L$(ZLIBLIB) -lpng15 -lz $(ARCH) LDFLAGS=-L. -L$(ZLIBLIB) -lpng15 -lz
INCPATH=$(prefix)/include INCPATH=$(prefix)/include
LIBPATH=$(exec_prefix)/lib LIBPATH=$(exec_prefix)/lib
@ -113,7 +112,7 @@ $(LIBSOMAJ): $(OBJSDLL)
$(CC) -dynamiclib \ $(CC) -dynamiclib \
-install_name $(LIBPATH)/$(LIBSOMAJ) \ -install_name $(LIBPATH)/$(LIBSOMAJ) \
-current_version 15 -compatibility_version 15 \ -current_version 15 -compatibility_version 15 \
$(ARCH) -o $(LIBSOMAJ) \ -o $(LIBSOMAJ) \
$(OBJSDLL) -L$(ZLIBLIB) -lz $(OBJSDLL) -L$(ZLIBLIB) -lz
pngtest: pngtest.o $(LIBSO) pngtest: pngtest.o $(LIBSO)

View File

@ -16,7 +16,7 @@ CC = cl
LD = link LD = link
AR = lib AR = lib
CPPFLAGS = -I..\zlib CPPFLAGS = -I..\zlib
CFLAGS = -nologo -D_CRT_SECURE_NO_DEPRECATE -MD -O2 -W3 CFLAGS = -nologo -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -MD -O2 -W3
LDFLAGS = -nologo LDFLAGS = -nologo
ARFLAGS = -nologo ARFLAGS = -nologo
CP = copy CP = copy