diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-11-14 16:13:01 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-11-16 11:45:49 +0200 |
commit | 89b75db4314ab968739dc88bd0cec945a5d7d9ba (patch) | |
tree | bc090ffdfe04d4c0139f0ddc7670814b2cb6aef5 /net-libs/nativebiginteger | |
parent | dev-util/packer: version bump to 1.4.5 (diff) | |
download | gentoo-89b75db4314ab968739dc88bd0cec945a5d7d9ba.tar.gz gentoo-89b75db4314ab968739dc88bd0cec945a5d7d9ba.tar.bz2 gentoo-89b75db4314ab968739dc88bd0cec945a5d7d9ba.zip |
net-libs/nativebiginteger: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13650
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-libs/nativebiginteger')
5 files changed, 0 insertions, 122 deletions
diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-asmfix.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-asmfix.patch deleted file mode 100644 index 3443a91c288b..000000000000 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-asmfix.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- 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); - } diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-build-system.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-build-system.patch deleted file mode 100644 index ea298b5d0358..000000000000 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-build-system.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- i2p-0.8.7/core/c/jbigi/build_jbigi.sh.orig 2011-07-29 11:52:43.000000000 +0200 -+++ i2p-0.8.7/core/c/jbigi/build_jbigi.sh 2011-07-29 11:53:43.000000000 +0200 -@@ -3,8 +3,8 @@ - # When executed in Linux/FreeBSD: Produces an libjbigi.so - # Darwin produces libjbigi.jnilib, right? - --CC="gcc" -+test -z "$CC" && CC="gcc" - - case `uname -sr` in - MINGW*) - JAVA_HOME="c:/software/j2sdk1.4.2_05" -@@ -57,5 +55,7 @@ - - echo "Compiling C code..." - rm -f jbigi.o $LIBFILE --$CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c --$CC $LINKFLAGS $INCLUDES $INCLUDELIBS -o $LIBFILE jbigi.o $STATICLIBS -+echo $CC -c $COMPILEFLAGS $CFLAGS $CPPFLAGS $INCLUDES ../../jbigi/src/jbigi.c -+$CC -c $COMPILEFLAGS $CFLAGS $CPPFLAGS $INCLUDES ../../jbigi/src/jbigi.c -+echo $CC $LINKFLAGS $LDFLAGS $INCLUDES -o $LIBFILE jbigi.o $STATICLIBS $INCLUDELIBS -+$CC $LINKFLAGS $LDFLAGS $INCLUDES -o $LIBFILE jbigi.o $STATICLIBS $INCLUDELIBS diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch deleted file mode 100644 index 07dd05227582..000000000000 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- core/java/src/net/i2p/util/NativeBigInteger.java.orig 2011-07-29 13:14:05.000000000 +0200 -+++ core/java/src/net/i2p/util/NativeBigInteger.java 2011-07-29 13:15:16.000000000 +0200 -@@ -481,14 +481,12 @@ - - /** @since 0.8.7 */ - private static void debug(String s) { -- I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).debug(s); -+ System.err.println("DEBUG: " + s); - } - - - private static void info(String s) { -- if(_doLog) -- System.err.println("INFO: " + s); -- I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).info(s); -+ System.err.println("INFO: " + s); - _loadStatus = s; - } - -@@ -496,12 +496,9 @@ - - /** @since 0.8.7 */ - private static void warn(String s, Throwable t) { -- if(_doLog) { -- System.err.println("WARNING: " + s); -- if (t != null) -- t.printStackTrace(); -- } -- I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).warn(s, t); -+ System.err.println("WARNING: " + s); -+ if (t != null) -+ t.printStackTrace(); - if (t != null) - _loadStatus = s + ' ' + t; - else diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-jcpuid-build-system.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-jcpuid-build-system.patch deleted file mode 100644 index a4020a012b98..000000000000 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-jcpuid-build-system.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- i2p-0.8.7/core/c/jcpuid/build.sh.orig 2011-07-29 18:38:44.554000219 +0200 -+++ i2p-0.8.7/core/c/jcpuid/build.sh 2011-07-29 18:38:13.789000172 +0200 -@@ -24,8 +24,8 @@ - mkdir lib/freenet/support - mkdir lib/freenet/support/CPUInformation - --CC="gcc" -+test -z "$CC" && CC="gcc" - - case `uname -sr` in - MINGW*) - JAVA_HOME="/c/software/j2sdk1.4.2_05" -@@ -50,8 +52,8 @@ - - echo "Compiling C code..." - rm -f $LIBFILE --$CC $COMPILEFLAGS $LINKFLAGS $INCLUDES src/*.c -o $LIBFILE --strip $LIBFILE -+echo $CC $COMPILEFLAGS $CPPFLAGS $CFLAGS $LINKFLAGS $LDFLAGS $INCLUDES src/*.c -o $LIBFILE -+$CC $COMPILEFLAGS $CPPFLAGS $CFLAGS $LINKFLAGS $LDFLAGS $INCLUDES src/*.c -o $LIBFILE - echo Built $LIBFILE - - #g++ -shared -static -static-libgcc -Iinclude -I$JAVA_HOME/include \ diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-non-android-warnings.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-non-android-warnings.patch deleted file mode 100644 index 6240d25bcd9b..000000000000 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-non-android-warnings.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- core/java/src/net/i2p/util/NativeBigInteger.java.orig 2011-07-29 13:22:39.000000000 +0200 -+++ core/java/src/net/i2p/util/NativeBigInteger.java 2011-07-29 13:22:55.000000000 +0200 -@@ -526,7 +526,7 @@ - System.loadLibrary(name); - return true; - } catch (UnsatisfiedLinkError ule) { -- if (_isAndroid) { -+ if (!_isAndroid) { - // Unfortunately, - // this is not interesting on Android, it says "file not found" - // on link errors too. |