]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added C++ Patch to lfs/libjpeg.
authorStefan Schantl <Stevee@ipfire.org>
Sun, 3 May 2009 08:58:12 +0000 (10:58 +0200)
committerStefan Schantl <Stevee@ipfire.org>
Sun, 3 May 2009 08:58:12 +0000 (10:58 +0200)
lfs/libjpeg

index 19650a41e13d8404877abc25309b20221f3db061..e3b67a58d0b67011a81eb6c2db5512a97e53663d 100644 (file)
@@ -55,7 +55,8 @@ endef
 ###############################################################################
 
 objects = $(DL_FILE) \
-       libjpeg-6b-buffferoverflow.patch
+       libjpeg-6b-buffferoverflow.patch \
+       libjpeg-6b-c++.patch
        
 download: $(objects)
 
@@ -82,10 +83,9 @@ $(OBJECT): $(objects)
                        $(CONFIGURE_ARCH) \
                        --prefix=/usr \
                        --disable-static \
-                       --enable-shared
-       
-       cd $(DIR_APP) && patch -Np1 -i libjpeg-6b-buffferoverflow.patch
-
+                       --enable-shared 
+       cd $(DIR_PATCHES) && patch -Np1 -i libjpeg-6b-buffferoverflow.patch
+       cd $(DIR_PATCHES) && patch -Np1 -i libjpeg-6b-c++.patch
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)