]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/libpng.patch
* modules/stream_out/transcode.c: fixed small memleak.
[vlc] / extras / contrib / src / Patches / libpng.patch
1 diff -ruN libpng.orig/scripts/makefile.macosx libpng/scripts/makefile.macosx
2 --- libpng.orig/scripts/makefile.macosx Thu Oct  3 13:32:34 2002
3 +++ libpng/scripts/makefile.macosx      Thu Apr  7 01:00:51 2005
4 @@ -6,7 +6,7 @@
5  # For conditions of distribution and use, see copyright notice in png.h
6  
7  # where make install puts libpng.a and png.h
8 -prefix=/usr/local
9 +prefix=PREFIX
10  
11  # Where the zlib library and include files are located
12  #ZLIBLIB=/usr/local/lib
13 @@ -21,7 +21,7 @@
14  PNGVER = $(PNGMAJ).$(PNGMIN)
15  
16  CFLAGS=-fno-common -I$(ZLIBINC) -O # -g -DPNG_DEBUG=5
17 -LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -current_version $(PNGVER)
18 +LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz
19  
20  LIBNAME=libpng12
21  SHAREDLIB_POSTFIX=dylib
22 @@ -52,7 +52,7 @@
23         pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
24         pngwtran.o pngmem.o pngerror.o pngpread.o
25  
26 -all: libpng.a pngtest shared libpng.pc libpng-config
27 +all: libpng.a pngtest libpng.pc libpng-config
28  
29  shared: $(LIBNAME).$(PNGVER).$(SHAREDLIB_POSTFIX)
30  
31 @@ -153,7 +153,7 @@
32         chmod 755 $(DB)/$(LIBNAME)-config
33         (cd $(DB); ln -sf $(LIBNAME)-config libpng-config)
34  
35 -install: install-static install-shared install-man install-config
36 +install: install-static install-man install-config
37  
38  # If you installed in $(DESTDIR), test-installed won't work until you
39  # move the library to its final location.