]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added a patch for new CFLAGS to lfs/libpng.
authorStefan Schantl <Stevee@ipfire.org>
Thu, 7 May 2009 21:19:25 +0000 (23:19 +0200)
committerStefan Schantl <Stevee@ipfire.org>
Thu, 7 May 2009 21:19:25 +0000 (23:19 +0200)
lfs/libpng

index d49c7baa6f94e18aebd561bf437521e5bbde887e..a6dff22bb577d7cfd26ca110c27042df86956c21 100644 (file)
@@ -57,7 +57,8 @@ endef
 # Top-level Rules
 ###############################################################################
 
-objects = $(DL_FILE)
+objects = $(DL_FILE) \
+       $(THISAPP)-pngconf.patch
 
 download: $(objects)
 
@@ -79,6 +80,10 @@ $(objects):
 $(OBJECT): $(objects)
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+       
+       #This patch adds new CFLAGS for compiling.
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-pngconf.patch
+
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \