Author: justin
Date: 2005-09-24 19:41:46 -0600 (Sat, 24 Sep 2005)
New Revision: 753

Added:
   x86/trunk/packages/nfs-utils/nfs-utils-1.0.7-gcc4_fixes-1.patch
Modified:
   x86/trunk/packages/nfs-utils/Makefile
Log:
Messages/Logging update for nfs-utils, added patch for gcc4 compile error.

Modified: x86/trunk/packages/nfs-utils/Makefile
===================================================================
--- x86/trunk/packages/nfs-utils/Makefile       2005-09-25 01:30:29 UTC (rev 
752)
+++ x86/trunk/packages/nfs-utils/Makefile       2005-09-25 01:41:46 UTC (rev 
753)
@@ -1,5 +1,4 @@
 # NFS Utilities Makefile
-#==============================================================================
 
 NM= nfs-utils
 VRS= 1.0.7
@@ -9,51 +8,28 @@
 URL-$(FILE)= $(HTTPBLFS)/M-P/$(FILE)
 SHA-$(FILE)= dd84793fbfb88098da4242ec70844604652602c4
 
+PATCH1= $(DIR)-gcc4_fixes-1.patch
+
 # Targets
-# =============================================================================
 
 include $(ROOT)/scripts/functions
 
 chroot:
-       @chroot "$(MP)" $(chenv-blfs) \
+       chroot "$(MP)" $(chenv-blfs) \
        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
 stage2: Makefile $(FILE)
-       @$(std_build)
+       $(std_build)
 
 compile-stage2:
-       @$(call echo_message, Configuring)
-#==============================================================================
-# Configure commands below \/
-#==============================================================================
-       @groupadd -g 99 nogroup
-       @useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup -s /bin/false 
-u 99 nobody
-       @./configure --prefix=/usr --sysconfdir=/etc --disable-nfsv4 \
-        --disable-gss >../$(DIR)[EMAIL PROTECTED] 2>&1
-#
-#==Status Messages==========================================
-#
-       @$(OK)
-       @$(call echo_message, Making)
-#==============================================================================
-# Make commands below \/
-#==============================================================================
-       @make >>../$(DIR)[EMAIL PROTECTED] 2>&1
-#
-#==Status Messages===========================================
-#
-       @$(OK)
-       @$(call echo_message, Installing)
-#==============================================================================
-# Install commands below \/
-#==============================================================================
-       @make install >>../$(DIR)[EMAIL PROTECTED] 2>&1
-#
-#==Status Messages===========================================
-#
-       @$(OK)
+       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
+       make install
 
 clean:
-       @-rm -rf $(DIR)
+       -rm -rf $(DIR)
 
 .PHONY: clean chroot compile-stage2

Added: x86/trunk/packages/nfs-utils/nfs-utils-1.0.7-gcc4_fixes-1.patch
===================================================================
--- x86/trunk/packages/nfs-utils/nfs-utils-1.0.7-gcc4_fixes-1.patch     
2005-09-25 01:30:29 UTC (rev 752)
+++ x86/trunk/packages/nfs-utils/nfs-utils-1.0.7-gcc4_fixes-1.patch     
2005-09-25 01:41:46 UTC (rev 753)
@@ -0,0 +1,19 @@
+Submitted By: Justin Knierim <justin at linuxfromscratch dot org>
+Date: 2005-09-24
+Initial Package Version: 1.0.7
+Upstream Status: Applied
+Origin: Andreas Jochens
+Description: Fixes a compilation problem with gcc-4.0.x. Bug #297729: invalid 
lvalue in assignment.
+
+diff -Naur nfs-utils-orig/support/rpc/svc_auth_gss.c 
nfs-utils-1.0.7/support/rpc/svc_auth_gss.c
+--- nfs-utils-orig/support/rpc/svc_auth_gss.c  2004-10-18 17:23:05.000000000 
-0700
++++ nfs-utils-1.0.7/support/rpc/svc_auth_gss.c 2005-09-24 18:26:01.000000000 
-0700
+@@ -382,7 +382,7 @@
+                       return (AUTH_FAILED);
+               }
+               auth->svc_ah_ops = &svc_auth_gss_ops;
+-              SVCAUTH_PRIVATE(auth) = gd;
++              auth->svc_ah_private = gd;
+               rqst->rq_xprt->xp_auth = auth;
+       }
+       else gd = SVCAUTH_PRIVATE(rqst->rq_xprt->xp_auth);

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

Reply via email to