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

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

improvements to jbigi scripts

support for Solaris (tested with Solaris 11 x86)

  • output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64))
  • switch from echo -e to the more portable printf
  • more error checking, comments

debian/patches: refreshed based on changes to core/c/* built in solaris 11 x86 with

java 1.7.0_07 and gcc 4.5.2, stripped

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

    From: Kill Your TV <>
    Date: Wed, 11 May 2011 00:12:04 +0000
    Subject: jbigi soname
    The purpose of this patch is to change the path that
    expects to find the source files at. At the same time I'm specifying
    a soname to shut lintian up.
     core/c/jbigi/ |    4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    a b  
    3939            UNIXTYPE="linux"
    4040        fi
    4141        COMPILEFLAGS="-fPIC -Wall $CFLAGS"
    42         INCLUDES="-I. -I../../jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
     42        INCLUDES="-I. -I./jbigi/include -I$JAVA_HOME/include -I$JAVA_HOME/include/${UNIXTYPE}"
    4343        LINKFLAGS="-shared -Wl,-soname,"
    4444        LIBFILE="";;
    5959echo "Compiling C code..."
    6060rm -f jbigi.o $LIBFILE
    61 $CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c || exit 1
     61$CC -c $COMPILEFLAGS $INCLUDES ./jbigi/src/jbigi.c || exit 1
    6464exit 0
Note: See TracBrowser for help on using the repository browser.