]> git.sesse.net Git - vlc/commitdiff
contribs: update libpng patch for OSX
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 19 Aug 2008 23:59:37 +0000 (01:59 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 20 Aug 2008 00:00:29 +0000 (02:00 +0200)
extras/contrib/src/Patches/libpng-osx.patch

index f85f06587e75bcb7c7a21b2e20e9a2fbb9e3ef32..f88c55ac283f12a8cdc1f70f137f0e07462684e7 100644 (file)
@@ -1,6 +1,6 @@
-diff -ruN libpng-1.2.20/scripts/makefile.darwin libpng/scripts/makefile.darwin
---- libpng-1.2.20/scripts/makefile.darwin      2007-09-08 05:23:01.000000000 +0200
-+++ libpng/scripts/makefile.darwin     2007-09-23 15:31:21.000000000 +0200
+diff -ruN libpng-1.2.30/scripts/makefile.darwin libpng/scripts/makefile.darwin
+--- libpng-1.2.30/scripts/makefile.darwin      2008-08-15 16:14:44.000000000 +0200
++++ libpng/scripts/makefile.darwin     2008-08-20 01:48:40.000000000 +0200
 @@ -7,14 +7,14 @@
  # For conditions of distribution and use, see copyright notice in png.h
  
@@ -24,10 +24,10 @@ diff -ruN libpng-1.2.20/scripts/makefile.darwin libpng/scripts/makefile.darwin
 @@ -39,8 +39,8 @@
  RM_F=/bin/rm -f
  
- # CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE
--CFLAGS=-I$(ZLIBINC) -Wall -O -funroll-loops
+ # CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE
+-CFLAGS=-I$(ZLIBINC) -W -Wall -O -funroll-loops
 -LDFLAGS=-L. -L$(ZLIBLIB) -lpng12 -lz
-+CFLAGS=??EXTRA_CFLAGS?? -I$(ZLIBINC) -Wall -O3 -funroll-loops
++CFLAGS=??EXTRA_CFLAGS?? -I$(ZLIBINC) -W -Wall -O -funroll-loops
 +LDFLAGS=??EXTRA_LDFLAGS?? -L. -L$(ZLIBLIB) -lpng12 -lz
  
  INCPATH=$(prefix)/include
@@ -41,7 +41,7 @@ diff -ruN libpng-1.2.20/scripts/makefile.darwin libpng/scripts/makefile.darwin
  
  libpng.a: $(OBJS)
        $(AR_RC) $@ $(OBJS)
-@@ -179,7 +179,7 @@
+@@ -182,7 +182,7 @@
        chmod 755 $(DB)/$(LIBNAME)-config
        (cd $(DB); $(LN_SF) $(LIBNAME)-config libpng-config)