Browse Source

l/gimp-separate: Patched for Slackware-14.0.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
1eac8428f9
  1. 3
      l/gimp-separate/gimp-separate.SlackBuild
  2. 12
      l/gimp-separate/separate+-0.5.8-missing-lm.patch

3
l/gimp-separate/gimp-separate.SlackBuild

@ -33,7 +33,7 @@ WGET=${WGET:-http://osdn.dl.sourceforge.jp/separate-plus/47873/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-gimp-separate}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -84,6 +84,7 @@ cd $TMP
echo "Building $ARCHIVE..."
unzip $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/separate+-0.5.8-missing-lm.patch
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
make INSTALLDIR=/usr/lib$LIBDIRSSUFIX/gimp/2.0/plug-ins

12
l/gimp-separate/separate+-0.5.8-missing-lm.patch

@ -0,0 +1,12 @@
diff -Naur separate+-0.5.8.orig/Makefile separate+-0.5.8/Makefile
--- separate+-0.5.8.orig/Makefile 2010-08-17 05:14:32.000000000 +0200
+++ separate+-0.5.8/Makefile 2012-10-08 18:51:30.883456379 +0200
@@ -37,7 +37,7 @@
NLS = -DENABLE_NLS -DGETTEXT_PACKAGE="\"$(GETTEXT_PACKAGE)\""
CFLAGS += $(GIMP_INCLUDE) $(GTK_INCLUDE) $(LCMS_INCLUDE) $(CM) $(NLS) \
-DUSE_ICC_BUTTON
-LIBS = $(GIMP_LIB) $(GTK_LIB) $(LCMS_LIB) $(TIFF_LIB) $(JPEG_LIB)
+LIBS = $(GIMP_LIB) $(GTK_LIB) $(LCMS_LIB) $(TIFF_LIB) $(JPEG_LIB) -lm
SOURCES = $(SEPARATE_SOURCES) $(IMPORT_SOURCES) \
$(ICC_COLORSPACE_SOURCES) $(EXTRA_SOURCES)
Loading…
Cancel
Save