[packages/audiofile] libm patch obsolete since 0.3.3

atler atler at pld-linux.org
Sun Sep 11 13:21:10 CEST 2022


commit e312650084553b282f58e1b7df3dda6f5d90b0c5
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Sep 11 13:20:12 2022 +0200

    libm patch obsolete since 0.3.3

 audiofile.spec |  4 +---
 libm.patch     | 20 --------------------
 2 files changed, 1 insertion(+), 23 deletions(-)
---
diff --git a/audiofile.spec b/audiofile.spec
index 8cec9ee..9f9fcf1 100644
--- a/audiofile.spec
+++ b/audiofile.spec
@@ -16,8 +16,7 @@ License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/audiofile/0.3/%{name}-%{version}.tar.xz
 # Source0-md5:	235dde14742317328f0109e9866a8008
-Patch0:		libm.patch
-Patch1:		gcc6.patch
+Patch0:		gcc6.patch
 URL:		http://www.68k.org/~michael/audiofile/
 BuildRequires:	asciidoc
 BuildRequires:	autoconf >= 2.50
@@ -158,7 +157,6 @@ audiofile.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/libm.patch b/libm.patch
deleted file mode 100644
index f11a310..0000000
--- a/libm.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- audiofile-0.3.1/examples/Makefile.am.wiget	2011-10-02 10:24:42.389369020 +0200
-+++ audiofile-0.3.1/examples/Makefile.am	2011-10-02 10:26:14.975931303 +0200
-@@ -10,7 +10,7 @@ EXTRA_PROGRAMS = alsaplay irixread irixt
- LIBAUDIOFILE = $(top_builddir)/libaudiofile/libaudiofile.la
- 
- alsaplay_SOURCES = alsaplay.cpp
--alsaplay_LDADD = $(LIBAUDIOFILE) -lasound
-+alsaplay_LDADD = $(LIBAUDIOFILE) -lasound -lm
- 
- irixread_SOURCES = irixread.c sgi.c sgi.h
- irixread_LDADD = $(LIBAUDIOFILE) -laudio
-@@ -23,6 +23,8 @@ linuxtest_SOURCES = linuxtest.c
- osxplay_SOURCES = osxplay.c
- osxplay_LDFLAGS = -framework AudioUnit -framework CoreServices
- 
-+power_LDADD = $(LIBAUDIOFILE) -lm
-+
- LDADD = $(LIBAUDIOFILE)
- 
- DEPENDENCIES = $(LIBAUDIOFILE)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/audiofile.git/commitdiff/e312650084553b282f58e1b7df3dda6f5d90b0c5



More information about the pld-cvs-commit mailing list