Author: alexander
Date: 2007-04-25 08:53:58 -0600 (Wed, 25 Apr 2007)
New Revision: 1862

Modified:
   trunk/packages/cpio/Makefile
Log:
Applied upstream fixes to cpio-2.7. Unpatched cpio broke shutdown helper.


Modified: trunk/packages/cpio/Makefile
===================================================================
--- trunk/packages/cpio/Makefile        2007-04-25 14:06:38 UTC (rev 1861)
+++ trunk/packages/cpio/Makefile        2007-04-25 14:53:58 UTC (rev 1862)
@@ -8,6 +8,10 @@
 URL-$(FILE)= http://ftp.gnu.org/pub/gnu/cpio/$(FILE)
 SHA-$(FILE)= ce1c8ab703d62fc1d30ca59e044ba9f43c3db574
 
+PATCH1= $(DIR)-upstream_fixes-1.patch
+URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/blfs/svn/$(PATCH1)
+SHA-$(PATCH1)= 13e0944c9ff335f5afa9102061e499acde350909
+
 # Targets
 
 include $(ROOT)/scripts/functions
@@ -16,10 +20,11 @@
        chroot "$(MP)" $(chenv-blfs) \
        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2: Makefile $(FILE)
+stage2: Makefile $(FILE) $(PATCH1)
        $(std_build)
 
 compile-stage2:
+       patch -Np1 -i ../$(PATCH1)
        ./configure CPIO_MT_PROG=mt --prefix=/usr --bindir=/bin \
         --libexecdir=/tmp --with-rmt=/usr/sbin/rmt
        make

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to