pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/pciutils
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Jan 31 13:21:55 UTC 2018
Modified Files:
pkgsrc/sysutils/pciutils: distinfo
Added Files:
pkgsrc/sysutils/pciutils/patches: patch-lib_i386-io-sunos.h
Log Message:
pciutils: Fix SunOS/clang.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/sysutils/pciutils/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/pciutils/patches/patch-lib_i386-io-sunos.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/pciutils/distinfo
diff -u pkgsrc/sysutils/pciutils/distinfo:1.27 pkgsrc/sysutils/pciutils/distinfo:1.28
--- pkgsrc/sysutils/pciutils/distinfo:1.27 Mon Nov 20 03:14:42 2017
+++ pkgsrc/sysutils/pciutils/distinfo Wed Jan 31 13:21:55 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2017/11/20 03:14:42 msaitoh Exp $
+$NetBSD: distinfo,v 1.28 2018/01/31 13:21:55 jperkin Exp $
SHA1 (pciutils-3.5.6.tar.gz) = 9f22fe9fccf1c5089167dc534409df8bd724f43d
RMD160 (pciutils-3.5.6.tar.gz) = d4c89bdcff620646de5cc847f93d598822799168
@@ -7,3 +7,4 @@ Size (pciutils-3.5.6.tar.gz) = 436463 by
SHA1 (patch-aa) = d8caa8b69987d14397fd863d776a533e4c19b26e
SHA1 (patch-ab) = 881db39792c9d72f527438e2b475ac2ea842b536
SHA1 (patch-ac) = 4b90e99c051391b9cd3a6c1f5781f41b4a855c29
+SHA1 (patch-lib_i386-io-sunos.h) = afb666796a6b220d868a41e4fb9fd9e42152faed
Added files:
Index: pkgsrc/sysutils/pciutils/patches/patch-lib_i386-io-sunos.h
diff -u /dev/null pkgsrc/sysutils/pciutils/patches/patch-lib_i386-io-sunos.h:1.1
--- /dev/null Wed Jan 31 13:21:55 2018
+++ pkgsrc/sysutils/pciutils/patches/patch-lib_i386-io-sunos.h Wed Jan 31 13:21:55 2018
@@ -0,0 +1,53 @@
+$NetBSD: patch-lib_i386-io-sunos.h,v 1.1 2018/01/31 13:21:55 jperkin Exp $
+
+Fix assembly syntax to work with clang.
+
+--- lib/i386-io-sunos.h.orig 2011-01-07 21:04:28.000000000 +0000
++++ lib/i386-io-sunos.h
+@@ -27,7 +27,7 @@ static inline u8
+ inb (u16 port)
+ {
+ u8 v;
+- __asm__ __volatile__ ("inb (%w1)":"=a" (v):"Nd" (port));
++ __asm__ __volatile__ ("inb %w1":"=a" (v):"Nd" (port));
+ return v;
+ }
+
+@@ -35,7 +35,7 @@ static inline u16
+ inw (u16 port)
+ {
+ u16 v;
+- __asm__ __volatile__ ("inw (%w1)":"=a" (v):"Nd" (port));
++ __asm__ __volatile__ ("inw %w1":"=a" (v):"Nd" (port));
+ return v;
+ }
+
+@@ -43,24 +43,24 @@ static inline u32
+ inl (u16 port)
+ {
+ u32 v;
+- __asm__ __volatile__ ("inl (%w1)":"=a" (v):"Nd" (port));
++ __asm__ __volatile__ ("inl %w1":"=a" (v):"Nd" (port));
+ return v;
+ }
+
+ static inline void
+ outb (u8 value, u16 port)
+ {
+- __asm__ __volatile__ ("outb (%w1)": :"a" (value), "Nd" (port));
++ __asm__ __volatile__ ("outb %w1": :"a" (value), "Nd" (port));
+ }
+
+ static inline void
+ outw (u16 value, u16 port)
+ {
+- __asm__ __volatile__ ("outw (%w1)": :"a" (value), "Nd" (port));
++ __asm__ __volatile__ ("outw %w1": :"a" (value), "Nd" (port));
+ }
+
+ static inline void
+ outl (u32 value, u16 port)
+ {
+- __asm__ __volatile__ ("outl (%w1)": :"a" (value), "Nd" (port));
++ __asm__ __volatile__ ("outl %w1": :"a" (value), "Nd" (port));
+ }
Home |
Main Index |
Thread Index |
Old Index