Guest User

do.sh.patch for tif22pnm v0.13

a guest
Dec 28th, 2011
47
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- do.sh.old   2011-12-15 23:43:08.000000000 +0100
  2. +++ do.sh   2011-12-28 11:52:21.000000000 +0100
  3. @@ -98,11 +98,11 @@
  4.    for C in $SOURCES; do OS="$OS ${C%.*}.o"; done
  5.    set -e
  6.    for C in $SOURCES; do
  7. -    echo + $L_CC $CPPFLAGS $CFLAGS $CFLAGSB -c $C
  8. -    $L_CC $CPPFLAGS $CFLAGS $CFLAGSB -c $C
  9. +    echo + $L_CC $CPPFLAGS $CFLAGS $CFLAGSB -c $C $EXTRAFLAGS
  10. +    $L_CC $CPPFLAGS $CFLAGS $CFLAGSB -c $C $EXTRAFLAGS
  11.    done
  12. -  echo + $L_LD $LDFLAGS $OS -o "$TARGET" $LIBS
  13. -  $L_LD $LDFLAGS $OS -o "$TARGET" $LIBS
  14. +  echo + $L_LD $LDFLAGS $OS -o "$TARGET" $LIBS $EXTRAFLAGS
  15. +  $L_LD $LDFLAGS $OS -o "$TARGET" $LIBS $EXTRAFLAGS
  16.    set +e
  17.    export TARGET
  18.    echo "Created executable file: $TARGET (size: `perl -e 'print -s $ENV{TARGET}'`)."
  19. @@ -111,9 +111,11 @@
  20.  SOURCES='ptspnm.c minigimp.c miniglib.c ptstiff3.c tif22pnm.c'
  21.  TARGET=tif22pnm
  22.  LIBS="$LIBS_TIFF"
  23. +EXTRAFLAGS=""
  24.  build
  25.  
  26.  SOURCES='png22pnm.c'
  27.  TARGET=png22pnm
  28.  LIBS="$LIBS_PNG"
  29. +EXTRAFLAGS="-lz -lm"
  30.  build
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×