]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Finally, updated util-linux-ng to 2.15.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 13 May 2009 13:07:31 +0000 (15:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 13 May 2009 13:07:31 +0000 (15:07 +0200)
Added some patches that fix the lack of the PIE code.
The rest of the patches fixes build error.

lfs/util-linux-ng

index 85d1d06ee291844a6706fc99b62534df2d247e7f..25c6f942e220cc466073ea7a091ffe44f5be5e5a 100644 (file)
@@ -25,7 +25,7 @@
 include Config
 
 PKG_NAME   = util-linux-ng
-PKG_VER    = 2.14.2
+PKG_VER    = 2.15
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -44,7 +44,10 @@ CFLAGS    += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 # Top-level Rules
 ###############################################################################
 
-objects = $(DL_FILE)
+objects = $(DL_FILE) \
+       $(THISAPP)-compile_fix-1.patch \
+       $(THISAPP)-blkid_detection-1.patch \
+       $(THISAPP)-pic-fix-1.patch
 
 download: $(objects)
 
@@ -67,9 +70,11 @@ $(OBJECT): $(objects)
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
 
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-compile_fix-1.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-blkid_detection-1.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-pic-fix-1.patch
+
 ifeq "$(STAGE)" "toolchain"
-       # There's a bug with this version of Util-linux-ng and the E2fsprogs version
-       # we installed, so -luuid needs to be added.
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \