diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-06-10 09:26:34 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-06-10 09:26:34 +0000 |
commit | 8076e476dc77729b812439c30e60691eb119bc8f (patch) | |
tree | 05e39e641ec0aa3cd3fa43f88150b007db2c17c0 /audio/aube/files | |
parent | Add extra MASTER_SITE (diff) |
New port: audio/aube
System for sound generation and processing
PR: 53125
Submitted by: Kirill Ponomarew
Diffstat (limited to 'audio/aube/files')
-rw-r--r-- | audio/aube/files/patch-configure | 72 | ||||
-rw-r--r-- | audio/aube/files/patch-src::Makefile.in | 11 |
2 files changed, 83 insertions, 0 deletions
diff --git a/audio/aube/files/patch-configure b/audio/aube/files/patch-configure new file mode 100644 index 000000000000..c5be735cf12e --- /dev/null +++ b/audio/aube/files/patch-configure @@ -0,0 +1,72 @@ +--- configure.orig Tue Jun 10 00:01:58 2003 ++++ configure Tue Jun 10 00:04:25 2003 +@@ -2250,27 +2250,29 @@ + + #AM_PATH_GENERIC(xml, 0.99.0) + +-echo $ac_n "checking for in -l""... $ac_c" 1>&6 +-echo "configure:2255: checking for in -l" >&5 +-ac_lib_var=`echo '_' | sed 'y%./+-%__p_%'` ++LIBS="" ++echo $ac_n "checking for gdk_imlib_render in -lgdk_imlib""... $ac_c" 1>&6 ++echo "configure:6942: checking for gdk_imlib_render in -lgdk_imlib" >&5 ++ac_lib_var=`echo gdk_imlib'_'gdk_imlib_render | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-l $LIBS" +-cat > conftest.$ac_ext <<EOF +-#line 2263 "configure" ++GDK_IMLIB_LIBS=`imlib-config --libs-gdk` ++LIBS="${GTK_LIBS} ${GDK_IMLIB_LIBS} $LIBS" ++cat > conftest.$ac_ext <<EOF ++#line 6950 "configure" + #include "confdefs.h" + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char (); ++char gdk_imlib_render(); + + int main() { +-() ++gdk_imlib_render() + ; return 0; } + EOF +-if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" + else +@@ -2285,18 +2287,19 @@ + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- ac_tr_lib=HAVE_LIB`echo | sed -e 's/[^a-zA-Z0-9_]/_/g' \ ++ ac_tr_lib=HAVE_LIB`echo gdk_imlib | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + cat >> confdefs.h <<EOF + #define $ac_tr_lib 1 + EOF + +- LIBS="-l $LIBS" ++ LIBS="-lgdk_imlib $LIBS" + + else + echo "$ac_t""no" 1>&6 ++echo "Imlib not found!"; exit 0 + fi +- (gdk_imlib, gdk_imlib_init) ++ + + echo $ac_n "checking for XpmReadFileToXpmImage in -lXpm""... $ac_c" 1>&6 + echo "configure:2303: checking for XpmReadFileToXpmImage in -lXpm" >&5 +@@ -2743,6 +2746,7 @@ + s%@GTK_CONFIG@%$GTK_CONFIG%g + s%@GTK_CFLAGS@%$GTK_CFLAGS%g + s%@GTK_LIBS@%$GTK_LIBS%g ++s%@GDK_IMLIB_LIBS@%$GDK_IMLIB_LIBS%g + + CEOF + EOF diff --git a/audio/aube/files/patch-src::Makefile.in b/audio/aube/files/patch-src::Makefile.in new file mode 100644 index 000000000000..0957eb40be39 --- /dev/null +++ b/audio/aube/files/patch-src::Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Tue Jun 10 00:01:16 2003 ++++ src/Makefile.in Tue Jun 10 00:01:40 2003 +@@ -88,7 +88,7 @@ + INCLUDES = -DDATADIR=\"$(pkgdatadir)\" @GTK_CFLAGS@ @AUDIOFILE_CFLAGS@ + + +-aube_LDADD = modules/libmodules.a @AUDIOFILE_LIBS@ @GTK_LIBS@ -lgdk_imlib ++aube_LDADD = modules/libmodules.a @AUDIOFILE_LIBS@ @GTK_LIBS@ @GDK_IMLIB_LIBS@ + + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h |