From a6bb6554f473a817ab3b418735378dce5dffd8cb Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 2 Jan 2001 19:32:20 +0000 Subject: [PATCH] Update to 1.4.5. --- audio/extace/Makefile | 5 ++++- audio/extace/distinfo | 2 +- audio/extace/files/patch-ab | 19 ++++++++++++++----- audio/extace/files/patch-ac | 12 ++++++++++++ audio/extace/files/patch-ad | 12 ++++++++++++ 5 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 audio/extace/files/patch-ac create mode 100644 audio/extace/files/patch-ad diff --git a/audio/extace/Makefile b/audio/extace/Makefile index d872b0a500dc..89e7a0a82ccc 100644 --- a/audio/extace/Makefile +++ b/audio/extace/Makefile @@ -6,7 +6,7 @@ # PORTNAME= extace -PORTVERSION= 1.3.2 +PORTVERSION= 1.4.5 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= eXtace @@ -20,6 +20,7 @@ USE_IMLIB= yes USE_ESOUND= yes WANT_GNOME= yes USE_LIBTOOL= yes +CONFIGURE_ARGS= --disable-alsa CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LIBFFTW" \ LIBS="-L${LOCALBASE}/lib" @@ -30,6 +31,8 @@ USE_GNOME= yes .endif pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g' diff --git a/audio/extace/distinfo b/audio/extace/distinfo index 27f41cc47840..bd9dd4cdd576 100644 --- a/audio/extace/distinfo +++ b/audio/extace/distinfo @@ -1 +1 @@ -MD5 (extace-1.3.2.tar.gz) = 31302335dde169f34b4b07c458ebca52 +MD5 (extace-1.4.5.tar.gz) = eb3975c05dbf94a3d52b3aea495349a2 diff --git a/audio/extace/files/patch-ab b/audio/extace/files/patch-ab index c72137e89ac4..dde6d284f2fa 100644 --- a/audio/extace/files/patch-ab +++ b/audio/extace/files/patch-ab @@ -1,6 +1,15 @@ ---- extace/Makefile.in.orig Fri Jun 2 23:30:29 2000 -+++ extace/Makefile.in Fri Jun 2 23:32:26 2000 -@@ -108,7 +108,9 @@ +--- extace/Makefile.in.orig Tue Jan 2 11:26:24 2001 ++++ extace/Makefile.in Tue Jan 2 11:33:29 2001 +@@ -101,7 +101,7 @@ + extace_LDADD = @GTK_LIBS@ @ESD_LIBS@ @EXTRA_LIBS@ @ALSA_LIBS@ -lgdk_imlib + #extace_LDADD = -lefence @GTK_LIBS@ @ESD_LIBS@ @EXTRA_LIBS@ @ALSA_LIBS@ -lgdk_imlib + +-LIBS = -lpthread ++LIBS = #-lpthread + + COMMON_FLAGS = @PFLAGS@ @DFLAGS@ + +@@ -109,7 +109,9 @@ EXTRA_DIST = extace.desktop README NEWS TODO @@ -10,7 +19,7 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = -@@ -237,7 +239,6 @@ +@@ -239,7 +241,6 @@ install-MultimediaDATA: $(Multimedia_DATA) @$(NORMAL_INSTALL) @@ -18,7 +27,7 @@ @list='$(Multimedia_DATA)'; for p in $$list; do \ if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(Multimediadir)/$$p"; \ -@@ -340,7 +341,7 @@ +@@ -325,7 +326,7 @@ install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: diff --git a/audio/extace/files/patch-ac b/audio/extace/files/patch-ac new file mode 100644 index 000000000000..5679e4e13371 --- /dev/null +++ b/audio/extace/files/patch-ac @@ -0,0 +1,12 @@ +--- extace/misc.c 2001/01/02 09:29:43 1.1 ++++ extace/misc.c 2001/01/02 09:30:30 +@@ -20,7 +20,9 @@ + #include + #include + #include ++#ifndef __FreeBSD__ + #include ++#endif + #include "convolve.h" + #ifdef HAVE_LIBRFFTW + #include diff --git a/audio/extace/files/patch-ad b/audio/extace/files/patch-ad new file mode 100644 index 000000000000..598ac6f055b7 --- /dev/null +++ b/audio/extace/files/patch-ad @@ -0,0 +1,12 @@ +--- extace/sound.c 2001/01/02 09:31:56 1.1 ++++ extace/sound.c 2001/01/02 09:32:16 +@@ -24,7 +24,9 @@ + #include + #include + #include ++#ifndef __FreeBSD__ + #include ++#endif + #ifdef HAVE_PTHREAD_H + #include + #endif