Wichert Akkerman лет назад: 27
Родитель
Сommit
7cfc8c3d2e
5 измененных файлов с 34 добавлено и 2 удалено
  1. 11 0
      ChangeLog
  2. 6 0
      archtable
  3. 11 0
      debian/changelog
  4. 2 2
      scripts/dpkg-architecture.1
  5. 4 0
      scripts/dpkg-source.pl

+ 11 - 0
ChangeLog

@@ -1,3 +1,14 @@
+dpkg (1.4.1.11) unstable; urgency=low
+
+  * Non-maintainer release.
+  * Added sparc64 to archtable
+  * Added entries for newer alpha architectures to the archtable
+  * Always run patch and diff with LANG set to C.
+  * Handle diff warning for files with no newline at the end of file
+    Closes: Bug#45642
+
+ -- Wichert Akkerman <wakkerma@debian.org>  Fri, 24 Sep 1999 03:23:54 +0200
+
 dpkg (1.4.1.10) unstable; urgency=low
 
   * Non-maintainer release.

+ 6 - 0
archtable

@@ -19,7 +19,13 @@ i586	i386	i486
 i686	i386	i486
 pentium	i386	i486
 sparc	sparc	sparc
+sparc64	sparc64	sparc64
 alpha	alpha	alpha
+alphaev4	alpha	alpha
+alphaev5	alpha	alpha
+alphaev56	alpha	alpha
+alphaev6	alpha	alpha
+alphapca56	alpha	alpha
 m68k	m68k	m68k
 arm	arm	arm
 ppc	powerpc	powerpc

+ 11 - 0
debian/changelog

@@ -1,3 +1,14 @@
+dpkg (1.4.1.11) unstable; urgency=low
+
+  * Non-maintainer release.
+  * Added sparc64 to archtable
+  * Added entries for newer alpha architectures to the archtable
+  * Always run patch and diff with LANG set to C.
+  * Handle diff warning for files with no newline at the end of file
+    Closes: Bug#45642
+
+ -- Wichert Akkerman <wakkerma@debian.org>  Fri, 24 Sep 1999 03:23:54 +0200
+
 dpkg (1.4.1.10) unstable; urgency=low
 
   * Non-maintainer release.

+ 2 - 2
scripts/dpkg-architecture.1

@@ -2,8 +2,8 @@
 ''' $RCSfile$$Revision$$Date$
 '''
 ''' $Log$
-''' Revision 1.3  1999-09-27 01:31:19  wakkerma
-''' Updated to dpkg 1.4.1.10
+''' Revision 1.4  1999-09-27 01:37:25  wakkerma
+''' Updated to dpkg 1.4.1.11
 '''
 '''
 .de Sh

+ 4 - 0
scripts/dpkg-source.pl

@@ -361,6 +361,7 @@ if ($opmode eq 'build') {
                 }
                 defined($c3= open(DIFFGEN,"-|")) || &syserr("fork for diff");
                 if (!$c3) {
+		    $ENV{'LANG'}= 'C';
                     exec('diff','-u',
                          '-L',"$basedirname.orig/$fn",
                          '-L',"$basedirname/$fn",
@@ -535,6 +536,7 @@ if ($opmode eq 'build') {
 	    while (($_ = <GZIP>) && !/^--- /) {
 		# read hunk header (@@)
 		s/\n$// or &error("diff is missing trailing newline");
+		next if /^\\ No newline/;
 		/^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@$/ or
 		    &error("Expected ^@@ in line $. of diff");
 		my ($olines, $nlines) = ($1 ? $2 : 1, $3 ? $4 : 1);
@@ -543,6 +545,7 @@ if ($opmode eq 'build') {
 		while ($olines || $nlines) {
 		    $_ = <GZIP> or &error("unexpected end of diff");
 		    s/\n$// or &error("diff is missing trailing newline");
+		    next if /^\\ No newline/;
 		    if (/^ /) { --$olines; --$nlines; }
 		    elsif (/^-/) { --$olines; }
 		    elsif (/^\+/) { --$nlines; }
@@ -626,6 +629,7 @@ if ($opmode eq 'build') {
         if (!$c2) {
             open(STDIN,"<&GZIP") || &syserr("reopen gzip for patch");
             chdir($newdirectory) || &syserr("chdir to $newdirectory for patch");
+	    $ENV{'LANG'}= 'C';
             exec('patch','-s','-t','-F','0','-N','-p1','-u',
                  '-V','never','-g0','-b','-z','.dpkg-orig');
             &syserr("exec patch");