svn commit: r433026 - branches/2017Q1/graphics/svgalib/files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 12:53:44 UTC 2017
Author: jbeich
Date: Wed Feb 1 12:53:42 2017
New Revision: 433026
URL: https://svnweb.freebsd.org/changeset/ports/433026
Log:
MFH: r432966
graphics/svgalib: unbreak with clang 4.0
In file included from gl/grlib.c:7:
gl/inlstring.h:71:9: error: asm-specifier for input or output variable conflicts with asm clobber list
: "cx", "di");
^
gl/inlstring.h:281:17: error: asm-specifier for input or output variable conflicts with asm clobber list
:"ax", "0", "1", "2");
^
gl/inlstring.h:297:17: error: asm-specifier for input or output variable conflicts with asm clobber list
:"ax", "0", "1", "2");
^
gl/inlstring.h:314:17: error: asm-specifier for input or output variable conflicts with asm clobber list
:"ax", "0", "1", "2");
^
PR: 216154
Reported by: antoine (via exp-run)
Submitted by: dim
Approved by: portmgr blanket
Approved by: ports-secteam blanket
Modified:
branches/2017Q1/graphics/svgalib/files/patch-gl-inlstring.h
Directory Properties:
branches/2017Q1/ (props changed)
Modified: branches/2017Q1/graphics/svgalib/files/patch-gl-inlstring.h
==============================================================================
--- branches/2017Q1/graphics/svgalib/files/patch-gl-inlstring.h Wed Feb 1 12:42:16 2017 (r433025)
+++ branches/2017Q1/graphics/svgalib/files/patch-gl-inlstring.h Wed Feb 1 12:53:42 2017 (r433026)
@@ -8,3 +8,39 @@
#if defined(__alpha__) || defined (NO_ASSEMBLY)
+@@ -68,7 +68,7 @@ static inline void *
+ "rep\n\t"
+ "stosb"
+ : : "a"(c), "D"(s), "c"(count)
+- : "cx", "di");
++ );
+ return s;
+ }
+
+@@ -278,7 +278,7 @@ static inline void *
+ "1:call __memcpyasm_regargs\n\t"
+ "2:":
+ :"S"(dest), "d"(src), "c"(n)
+- :"ax", "0", "1", "2");
++ :"ax");
+ return dest;
+ }
+
+@@ -294,7 +294,7 @@ static inline void *
+ "1:call __memcpyasm_regargs_aligned\n\t"
+ "2:\n\t":
+ :"S"(dest), "d"(src), "c"(n)
+- :"ax", "0", "1", "2");
++ :"ax");
+ return dest;
+ }
+
+@@ -311,7 +311,7 @@ static inline void *
+ "2:\n\t"
+ :
+ :"S"((long) dest), "d"((long) src), "c"((long) n)
+- :"ax", "0", "1", "2");
++ :"ax");
+ return dest;
+ }
+
More information about the svn-ports-branches
mailing list