Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/base
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22688

Modified Files:
        dpkg.info dpkg.patch 
Log Message:
new version; resolves problems with latest tar


Index: dpkg.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/base/dpkg.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dpkg.patch  19 Dec 2006 01:34:43 -0000      1.3
+++ dpkg.patch  12 Mar 2007 21:56:10 -0000      1.4
@@ -2570,3 +2570,17 @@
      ohshite(_("failed to exec tar -cf"));
    }
    close(p1[0]);
+diff -Naur dpkg-1.10.21/lib/mlib.c dpkg-new/lib/mlib.c
+--- dpkg-1.10.21/lib/mlib.c    2007-03-10 12:20:35.000000000 -0500
++++ dpkg-new/lib/mlib.c        2007-03-10 15:13:48.000000000 -0500
+@@ -110,7 +110,9 @@
+   if (WIFEXITED(status)) {
+     n= WEXITSTATUS(status); if (!n) return n;
+     if(!(flags & PROCNOERR)) {
+-      if(flags & PROCWARN)
++      /* FINK LOCAL: Tar status 1 is a warning. */
++      if((flags & PROCWARN) || (n == 1 && strncmp(description, "tar", 3) == 
0))
++      /* FINK LOCAL */
+         fprintf(stderr, _("dpkg: warning - %s returned error exit status 
%d\n"),description,n);
+       else
+         ohshit(_("subprocess %s returned error exit status 
%d"),description,n);

Index: dpkg.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/base/dpkg.info,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- dpkg.info   12 Jan 2007 19:13:22 -0000      1.9
+++ dpkg.info   12 Mar 2007 21:56:10 -0000      1.10
@@ -1,6 +1,6 @@
 Package: dpkg
 Version: 1.10.21
-Revision: 1220
+Revision: 1221
 GCC: 4.0
 BuildDepends: fink (>= 0.24.12)
 Depends: libgettext3-shlibs, libiconv, gzip, tar, libncurses5-shlibs (>= 
5.4-20041023-1006)
@@ -12,7 +12,7 @@
 Source2: mirror:sourceforge:fink/gettext-0.14.5.tar.gz
 Source2-MD5: e2f6581626a22a0de66dce1d81d00de3
 PatchFile: %n.patch
-PatchFile-MD5: 1932e930ef89ef8e6e65bc7e304dd788
+PatchFile-MD5: 49fc7cb90bb3ae0aa64c359044461699
 PatchScript: <<
  cd %b/..; sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p0
  cd %b/../gettext-0.14.5/build-aux; perl -pi -e 's/.*chmod.*777.*$//g' 
ltmain.sh
@@ -82,8 +82,11 @@
 Patched to hardcode complete paths to our component executables
 instead of relying on PATH
 
-Patch 'dpkg -b' tar invovation to avoid warning under tar>=1.16
+Patch 'dpkg -b' tar invocation to avoid warning under tar>=1.16
 See: http://permalink.gmane.org/gmane.os.apple.fink.core/1281
+
+Patch 'dpkg -b' tar invocation to not die if tar returns exit code 1.  
+(Exit 1 is a non-fatal error for tar; exit 2 is fatal.)  patch written by vasi
 <<
 #
 PostInstScript: <<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to