r755 - x86/branches/utf8-newmake/packages/nfs-utils

justin at linuxfromscratch.org justin at linuxfromscratch.org
Sat Sep 24 18:57:29 PDT 2005


Author: justin
Date: 2005-09-24 19:57:28 -0600 (Sat, 24 Sep 2005)
New Revision: 755

Modified:
   x86/branches/utf8-newmake/packages/nfs-utils/Makefile
Log:
Added nfs-utils patch for gcc4 compile error.

Modified: x86/branches/utf8-newmake/packages/nfs-utils/Makefile
===================================================================
--- x86/branches/utf8-newmake/packages/nfs-utils/Makefile	2005-09-25 01:46:32 UTC (rev 754)
+++ x86/branches/utf8-newmake/packages/nfs-utils/Makefile	2005-09-25 01:57:28 UTC (rev 755)
@@ -8,6 +8,10 @@
 URL-$(FILE)= $(HTTPBLFS)/M-P/$(FILE)
 SHA-$(FILE)= dd84793fbfb88098da4242ec70844604652602c4
 
+PATCH1= $(DIR)-gcc4_fixes-1.patch
+URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/downloads/$(NM)/$(PATCH1)
+SHA-$(FILE)= 9ccb151f6270aff4c5346ccc6ba50d5e7577ca65
+
 # Targets
 
 include $(ROOT)/scripts/functions
@@ -16,12 +20,13 @@
 	chroot "$(MP)" $(chenv-blfs) \
 	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2: Makefile $(FILE)
+stage2: Makefile $(FILE) $(PATCH1)
 	$(std_build)
 
 compile-stage2:
 	groupadd -g 99 nogroup
 	useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup -s /bin/false -u 99 nobody
+	patch -Np1 -i ../$(PATCH1)
 	./configure --prefix=/usr --sysconfdir=/etc --disable-nfsv4 \
 	 --disable-gss
 	make




More information about the livecd mailing list