diff options
author | tharvik <tharvik@users.noreply.github.com> | 2018-08-26 16:18:14 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-09-07 10:23:50 +0200 |
commit | fd6e992a45c0835bca83f25237c2b928f743d57b (patch) | |
tree | c5028291b9a555ce7b0f0cc4400908f9f28c6971 /net-libs/nativebiginteger/files | |
parent | app-admin/cdist: version bump. (diff) | |
download | gentoo-fd6e992a45c0835bca83f25237c2b928f743d57b.tar.gz gentoo-fd6e992a45c0835bca83f25237c2b928f743d57b.tar.bz2 gentoo-fd6e992a45c0835bca83f25237c2b928f743d57b.zip |
net-libs/nativebiginteger: bump to 0.9.36.
Closes: https://github.com/gentoo/gentoo/pull/9702
Diffstat (limited to 'net-libs/nativebiginteger/files')
-rw-r--r-- | net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch new file mode 100644 index 000000000000..cdb8c7f64cbb --- /dev/null +++ b/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch @@ -0,0 +1,31 @@ +--- c/jcpuid/src/jcpuid.c 2008-10-06 09:44:53.000000000 -0400 ++++ c/jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.000000000 -0500 +@@ -19,6 +19,7 @@ + mov d, edx + } + #else ++ #ifdef _LP64 + //Use GCC assembler notation + asm + ( +@@ -29,6 +30,20 @@ + "=d"(d) + :"a"(iFunction) + ); ++ #elif defined(__i386__) ++ asm ++ ( ++ "pushl %%ebx\n\t" ++ "cpuid\n\t" ++ "movl %%ebx, %%edi\n\t" ++ "popl %%ebx" ++ : "=a" (a), ++ "=D" (b), ++ "=c" (c), ++ "=d" (d) ++ :"a"(iFunction) ++ ); ++ #endif + #endif + return (*env)->NewObject(env, clsResult,constructor,a,b,c,d); + } |