pkgsrc/graphics/cinepaint/patches/patch-cinepainttool.in
ryoon a60fbf806c Update to 1.0.4
* Use FreeBSD patches to fix build and startup crash

Changelog:
I could not find it.
2018-12-31 13:11:12 +00:00

25 lines
1.1 KiB
Text

$NetBSD: patch-cinepainttool.in,v 1.1 2018/12/31 13:11:12 ryoon Exp $
--- cinepainttool.in.orig 2008-03-01 05:45:50.000000000 +0000
+++ cinepainttool.in
@@ -166,7 +166,7 @@ while test $# -gt 0; do
;;
--cflags-local)
my_gtk_cflags=$gtk_cflags
- echo -I@abs_top_srcdir@ -I@abs_top_srcdir@/lib $my_gtk_cflags
+ echo $my_gtk_cflags
;;
--libs | --libs-nocinepaintui)
my_gtk_libs=
@@ -198,8 +198,9 @@ while test $# -gt 0; do
my_gtk_libs="$my_gtk_libs $i"
fi
done
- export `cat @abs_top_srcdir@/lib/libcinepaint.la | grep dlname | sed s/\'//g`
- echo @abs_top_srcdir@/lib/.libs/$dlname $my_gtk_libs
+ export `cat @libdir@/libcinepaint.la | grep dlname | sed -e s/\'//g -e s/dlname/dlname1/`
+ export `cat @libdir@/libcinepainthalf.la | grep dlname | sed -e s/\'//g -e s/dlname/dlname2/`
+ echo @libdir@/$dlname1 @libdir@/$dlname2 $my_gtk_libs
;;
--libs-noui)
glib_ldflags=`echo $gtk_libs | sed -e 's/^.*-lgdk[^ ]* *\(-L[^ ]*\).*$/\1/' -e 's/^.* -lgdk[^ ]* .*$//'`