pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/25760



The following reply was made to PR pkg/25760; it has been noted by GNATS.

From: Jeff Rizzo <riz%netbsd.org@localhost>
To: gnats%netbsd.org@localhost
Cc: 
Subject: Re: pkg/25760
Date: Thu, 14 Apr 2005 13:08:35 -0700

 This patch, from Kailash Sethuraman via port-i386 and adapted to
 pkgsrc by me, allows sysutils/toshutils to build on NetBSD-2.0/i386.
 Apply in pkgsrc/sysutils/toshutils.
 
 
 --- /dev/null  2005-04-14 13:00:29.000000000 -0700
 +++ patches/patch-an   2005-04-14 11:31:18.000000000 -0700
 @@ -0,0 +1,14 @@
 +$NetBSD$
 +--- src/hci.c.orig    2005-04-14 10:44:42.000000000 -0700
 ++++ src/hci.c 2005-04-14 11:10:30.000000000 -0700
 +@@ -115,8 +115,8 @@
 +              ax = 0x0000;            
 +      } else {
 +              asm ("inb $0xb2,%%al\n" \
 +-                     :"=ax" (ax), "=bx" (bx), "=cx" (cx), "=dx" (dx) \
 +-                     :"ax" (ax), "bx" (bx), "cx" (cx), "dx" (dx) \
 ++                     :"=a" (ax), "=b" (bx), "=c" (cx), "=d" (dx) \
 ++                     :"a" (ax), "b" (bx), "c" (cx), "d" (dx) \
 +                      : "memory" );
 +      }
 +      
 --- /dev/null  2005-04-14 13:00:29.000000000 -0700
 +++ patches/patch-ao   2005-04-14 11:31:11.000000000 -0700
 @@ -0,0 +1,43 @@
 +$NetBSD$
 +--- src/sci.c.orig    1999-12-17 05:07:03.000000000 -0800
 ++++ src/sci.c 2005-04-14 11:25:05.000000000 -0700
 +@@ -98,7 +98,7 @@
 +              "popl %%ecx\n\t" \
 +              "popl %%ebx\n\t" \
 +              "popl %%eax\n" \
 +-             :"=dx" (dx), "=ah" (ah) : : "memory" );
 ++             :"=d" (dx), "=a" (ah) : : "memory" );
 + 
 +      *version = (int) dx;
 + 
 +@@ -149,7 +149,7 @@
 +              "popl %%ecx\n\t" \
 +              "popl %%ebx\n\t" \
 +              "popl %%eax\n" \
 +-             :"=ah" (ah) : : "memory" );
 ++             :"=a" (ah) : : "memory" );
 + 
 +      return (int) (ah & 0xff);
 + }
 +@@ -173,8 +173,8 @@
 +              "inb $0xb2,%%al\n\t" \
 +              "popl %%edi\n\t" \
 +              "popl %%esi\n" \
 +-             :"=ax" (ax), "=bx" (bx), "=cx" (cx), "=dx" (dx) \
 +-             :"bx" (bx), "cx" (cx) \
 ++             :"=a" (ax), "=b" (bx), "=c" (cx), "=d" (dx) \
 ++             :"b" (bx), "c" (cx) \
 +              : "memory" );
 + 
 +      reg->attribute = (ax & 0xff);
 +@@ -205,8 +205,8 @@
 +              "inb $0xb2,%%al\n\t" \
 +              "popl %%edi\n\t" \
 +              "popl %%esi\n" \
 +-             :"=ax" (ax) \
 +-             :"bx" (bx), "cx" (cx), "dx" (dx) \
 ++             :"=a" (ax) \
 ++             :"b" (bx), "c" (cx), "d" (dx) \
 +              : "memory" );
 + 
 +      reg->attribute = (ax & 0xff);
 ? patches/patch-an
 ? patches/patch-ao
 Index: distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/sysutils/toshutils/distinfo,v
 retrieving revision 1.4
 diff -u -r1.4 distinfo
 --- distinfo   24 Feb 2005 13:40:58 -0000      1.4
 +++ distinfo   14 Apr 2005 20:01:33 -0000
 @@ -16,3 +16,5 @@
  SHA1 (patch-ak) = c9ede3de555ab14c8a0702a80e904547f31da386
  SHA1 (patch-al) = f2a06cf56e11a4ebb95a6d7ebda4b1c15dd0733d
  SHA1 (patch-am) = 43bba59c837c951e0b71c80365cf620ff3e05419
 +SHA1 (patch-an) = 4d682ceb01d89ae676ba2fd1b342a50979c8694e
 +SHA1 (patch-ao) = ce863073a18463643a8c02b1d81efa3e8c31d805
 



Home | Main Index | Thread Index | Old Index