commit 875940ce4597640a76580e93ab675f4af8491dd9
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jan 29 12:53:43 2019 +0100
Drop autoreconf
faad2-pic.patch | 11 +++++++++++
faad2.spec | 7 ++++---
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/faad2-pic.patch b/faad2-pic.patch
index 5ab3abe..a92722d 100644
--- a/faad2-pic.patch
+++ b/faad2-pic.patch
@@ -10,3 +10,14 @@
libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
mp4tagupdate.c mp4ff.h mp4ffint.h
+--- a/common/mp4ff/Makefile.in
++++ b/common/mp4ff/Makefile.in
+@@ -308,7 +307,7 @@
+ top_srcdir = @top_srcdir@
+ noinst_LIBRARIES = libmp4ff.a
+ noinst_HEADERS = mp4ff.h mp4ffint.h
+-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
++libmp4ff_a_CFLAGS = -DUSE_TAGGING=1 -DPIC -fPIC
+ libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
+ mp4tagupdate.c mp4ff.h mp4ffint.h
+
diff --git a/faad2.spec b/faad2.spec
index cae40ae..f070722 100644
--- a/faad2.spec
+++ b/faad2.spec
@@ -14,8 +14,6 @@ Patch0: %{name}-pic.patch
Patch1: fix_undefined_version.patch
BuildRequires: gcc-c++
-BuildRequires: automake
-BuildRequires: libtool
BuildRequires: id3lib-devel
BuildRequires: libsysfs-devel
BuildRequires: xmms-devel
@@ -62,13 +60,16 @@ This package contains an input plugin for xmms.
%prep
%autosetup -p1
-autoreconf -fiv
%build
%configure \
--disable-static \
--with-xmms
+# remove rpath from libtool
+sed -i.rpath
's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
+sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
%make_build
%install
Show replies by date