source: debian/patches/0002-jbigi-soname.patch @ 816149ef

Last change on this file since 816149ef was 816149ef, checked in by kytv <kytv@…>, 8 years ago

debian: refresh patches

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[b6fab82]1From: Kill Your TV <killyourtv@i2pmail.org>
2Date: Wed, 11 May 2011 00:12:04 +0000
[d2d2b1e]3Subject: jbigi soname
4
[b09071f]5The purpose of this patch is to change the path that build_jbigi.sh
[597fc55]6expects to find the source files at. At the same time I'm specifying
[d2d2b1e]7a soname to shut lintian up.
[b6fab82]8---
[816149ef]9 core/c/jbigi/build_jbigi.sh |    4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
[b6fab82]11
[816149ef]12diff --git a/core/c/jbigi/build_jbigi.sh b/core/c/jbigi/build_jbigi.sh
13index b1a68dd..99b31e4 100755
[b09071f]14--- a/core/c/jbigi/build_jbigi.sh
15+++ b/core/c/jbigi/build_jbigi.sh
[816149ef]16@@ -39,7 +39,7 @@ SunOS*|OpenBSD*|NetBSD*|*FreeBSD*|Linux*)
[d0a3c72]17             UNIXTYPE="linux"
[597fc55]18         fi
[43ba271]19         COMPILEFLAGS="-fPIC -Wall"
[597fc55]20-        INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
21+        INCLUDES="-I. -I./jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
22         LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
[43ba271]23         LIBFILE="libjbigi.so";;
[b6fab82]24 *)
[816149ef]25@@ -58,7 +58,7 @@ fi
[b6fab82]26 
27 echo "Compiling C code..."
28 rm -f jbigi.o $LIBFILE
29-$CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c || exit 1
30+$CC -c $COMPILEFLAGS $INCLUDES ./jbigi/src/jbigi.c || exit 1
[8c70af56]31 $CC $LINKFLAGS $INCLUDES -o $LIBFILE jbigi.o $INCLUDELIBS $STATICLIBS || exit 1
[b6fab82]32 
33 exit 0
Note: See TracBrowser for help on using the repository browser.