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

Last change on this file since d9e4c4d was d9e4c4d, checked in by kytv <kytv@…>, 9 years ago

refresh patch

  • Property mode set to 100644
File size: 1.1 KB
  • core/c/jbigi/mbuild_jbigi.sh

    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 mbuild_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/mbuild_jbigi.sh |    6 +++---
     1 files changed, 3 insertions(+), 3 deletions(-)
    
    a b  
    4747                fi
    4848        fi
    4949        COMPILEFLAGS="-fPIC -Wall"
    50         INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
     50        INCLUDES="-I. -I./jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
    5151        LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
    5252        LIBFILE="libjbigi.so";;
    5353*)
     
    6666
    6767echo "Compiling C code..."
    6868rm -f jbigi.o $LIBFILE
    69 $CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c || exit 1
     69$CC -c $COMPILEFLAGS $INCLUDES ./jbigi/src/jbigi.c || exit 1
    7070$CC $LINKFLAGS $INCLUDES $INCLUDELIBS -o $LIBFILE jbigi.o $STATICLIBS || exit 1
    7171
    7272exit 0
Note: See TracBrowser for help on using the repository browser.