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

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

Debian: rework j(cpuid|bigi) patches

Patch reworking needed due to my recent edits to the jcpuid/jbigi scripts

  • 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  
    4848                fi
    4949        fi
    5050        COMPILEFLAGS="-fPIC -Wall"
    51         INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
     51        INCLUDES="-I. -I./jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
    5252        LINKFLAGS="-shared -Wl,-soname,libjbigi.so"
    5353        LIBFILE="libjbigi.so";;
    5454*)
     
    6767
    6868echo "Compiling C code..."
    6969rm -f jbigi.o $LIBFILE
    70 $CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c || exit 1
     70$CC -c $COMPILEFLAGS $INCLUDES ./jbigi/src/jbigi.c || exit 1
    7171$CC $LINKFLAGS $INCLUDES $INCLUDELIBS -o $LIBFILE jbigi.o $STATICLIBS || exit 1
    7272
    7373exit 0
Note: See TracBrowser for help on using the repository browser.