forked from I2P_Developers/i2p.i2p
Cherry-picked out of https://launchpad.net/~i2p.packages/+archive/ubuntu/i2p/+files/i2p_0.9.24-1ubuntu1.debian.tar.xz The files in http://deb.i2p2.no/pool/main/i/i2p/i2p_0.9.24-1~deb8u+1.debian.tar.xz are somewhat different. Note that some files out of that tarball are apparently older than what is in our debian/ directory and were not copied over. Some of the changes may be for Ubuntu and will not work for Debian. Kytv may have had a local debian/ directory for Ubuntu builds that was not checked in anywhere. Untested. Another patch refresh for 0.9.25 may be required. To be fixed up after the 0.9.25 release.
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From: Kill Your TV <killyourtv@i2pmail.org>
|
|
Date: Wed, 11 May 2011 00:12:04 +0000
|
|
Subject: jbigi soname
|
|
|
|
The purpose of this patch is to change the path that build_jbigi.sh
|
|
expects to find the source files at. At the same time I'm specifying
|
|
a soname to shut lintian up.
|
|
---
|
|
core/c/jbigi/build_jbigi.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/core/c/jbigi/build_jbigi.sh b/core/c/jbigi/build_jbigi.sh
|
|
index 1521392..6a89c92 100755
|
|
--- a/core/c/jbigi/build_jbigi.sh
|
|
+++ b/core/c/jbigi/build_jbigi.sh
|
|
@@ -39,7 +39,7 @@ SunOS*|OpenBSD*|NetBSD*|*FreeBSD*|Linux*)
|
|
UNIXTYPE="linux"
|
|
fi
|
|
COMPILEFLAGS="-fPIC -Wall $CFLAGS"
|
|
- INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE} -I/usr/local/include"
|
|
+ INCLUDES="-I. -I./jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE} -I/usr/local/include"
|
|
LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
|
|
LIBFILE="libjbigi.so";;
|
|
*)
|
|
@@ -58,7 +58,7 @@ fi
|
|
|
|
echo "Compiling C code..."
|
|
rm -f jbigi.o $LIBFILE
|
|
-$CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c || exit 1
|
|
+$CC -c $COMPILEFLAGS $INCLUDES ./jbigi/src/jbigi.c || exit 1
|
|
$CC $LINKFLAGS $INCLUDES -o $LIBFILE jbigi.o $INCLUDELIBS $STATICLIBS $LIBPATH || exit 1
|
|
|
|
exit 0
|