]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/apcupsd
xz: Build xz in toolchain.
[people/teissler/ipfire-2.x.git] / lfs / apcupsd
index 4e664fef1a9d1319ed037490b5b1b7e34b6a3e28..a0da9357eb014413011ae86659d7cd98c2de5062 100644 (file)
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = apcupsd
-PAK_VER    = 3
+PAK_VER    = 4
 
 DEPS       = ""
 
@@ -77,6 +77,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/apcupsd-3.14.4-fix-gcc44.patch
        cd $(DIR_APP) && ./configure --prefix=/usr --enable-usb --enable-cgi \
                                        --with-cgi-bin=/srv/web/ipfire/cgi-bin
        cd $(DIR_APP) && make $(MAKETUNING)