From 9c2417fc4192ca14ef8e57dac58db91d5e9f6d3a Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 11 Jul 2022 02:15:43 +0100 Subject: media-sound/alsaplayer: fix patch filename Signed-off-by: Sam James --- .../alsaplayer/alsaplayer-0.99.81-r3.ebuild | 2 +- .../files/alsaplayer-0.99.81-autotools.ebuild | 37 ---------------------- .../files/alsaplayer-0.99.81-autotools.patch | 37 ++++++++++++++++++++++ 3 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.ebuild create mode 100644 media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.patch (limited to 'media-sound') diff --git a/media-sound/alsaplayer/alsaplayer-0.99.81-r3.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.81-r3.ebuild index 70ee1adcfa99..32fb30aa29da 100644 --- a/media-sound/alsaplayer/alsaplayer-0.99.81-r3.ebuild +++ b/media-sound/alsaplayer/alsaplayer-0.99.81-r3.ebuild @@ -38,7 +38,7 @@ BDEPEND=" virtual/pkgconfig doc? ( app-doc/doxygen )" -PATCHES=( "${FILESDIR}"/${P}-autotools.ebuild ) +PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) src_prepare() { default diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.ebuild b/media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.ebuild deleted file mode 100644 index b51277317e0f..000000000000 --- a/media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.ebuild +++ /dev/null @@ -1,37 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -82,11 +82,6 @@ - dnl PKGCONFIG preparations - dnl ====================== - --if test -z $PKG_CONFIG_PATH; then -- PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig --fi -- --export PKG_CONFIG_PATH - - - dnl =============== -@@ -639,10 +634,10 @@ - - AC_MSG_CHECKING(for gcc optimization flags) - old_cflags=$CFLAGS --CFLAGS="$CFLAGS -O2 -funroll-loops -finline-functions -ffast-math -Wall" -+CFLAGS="$CFLAGS -Wall" - AC_TRY_COMPILE([#include ], - [ printf ("hello, world"); ], --[ EXTRA_OPT_CFLAGS="$CFLAGS -O2 -funroll-loops -finline-functions -ffast-math -Wall"],[ EXTRA_OPT_CFLAGS=""]) -+[ EXTRA_OPT_CFLAGS="$CFLAGS -Wall"],[ EXTRA_OPT_CFLAGS=""]) - CFLAGS=$old_cflags - AC_MSG_RESULT([$EXTRA_OPT_CFLAGS]) - ---- a/output/jack/Makefile.am -+++ b/output/jack/Makefile.am -@@ -24,7 +24,6 @@ - - AM_CXXFLAGS = $(COMMON_FLAGS) $(JACK_CFLAGS) - --AM_CFLAGS = $(AM_CXXFLAGS) - - libdir = $(ADDON_DIR)/output - diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.patch b/media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.patch new file mode 100644 index 000000000000..b51277317e0f --- /dev/null +++ b/media-sound/alsaplayer/files/alsaplayer-0.99.81-autotools.patch @@ -0,0 +1,37 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -82,11 +82,6 @@ + dnl PKGCONFIG preparations + dnl ====================== + +-if test -z $PKG_CONFIG_PATH; then +- PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig +-fi +- +-export PKG_CONFIG_PATH + + + dnl =============== +@@ -639,10 +634,10 @@ + + AC_MSG_CHECKING(for gcc optimization flags) + old_cflags=$CFLAGS +-CFLAGS="$CFLAGS -O2 -funroll-loops -finline-functions -ffast-math -Wall" ++CFLAGS="$CFLAGS -Wall" + AC_TRY_COMPILE([#include ], + [ printf ("hello, world"); ], +-[ EXTRA_OPT_CFLAGS="$CFLAGS -O2 -funroll-loops -finline-functions -ffast-math -Wall"],[ EXTRA_OPT_CFLAGS=""]) ++[ EXTRA_OPT_CFLAGS="$CFLAGS -Wall"],[ EXTRA_OPT_CFLAGS=""]) + CFLAGS=$old_cflags + AC_MSG_RESULT([$EXTRA_OPT_CFLAGS]) + +--- a/output/jack/Makefile.am ++++ b/output/jack/Makefile.am +@@ -24,7 +24,6 @@ + + AM_CXXFLAGS = $(COMMON_FLAGS) $(JACK_CFLAGS) + +-AM_CFLAGS = $(AM_CXXFLAGS) + + libdir = $(ADDON_DIR)/output + -- cgit v1.2.3-65-gdbad