[packages/lash] - update configure for swig 3.x - fix building with texinfo 5.x - fix missing definitions for rlimit
baggins
baggins at pld-linux.org
Thu Mar 12 21:23:06 CET 2015
commit bab78347612ff77f8da4d13265e74e1759437cb4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Mar 12 21:25:07 2015 +0100
- update configure for swig 3.x
- fix building with texinfo 5.x
- fix missing definitions for rlimit family on latest glibc
- rel 4
lash-swig3.patch | 16 ++++++++++++++++
lash.spec | 8 +++++++-
rlimit.patch | 12 ++++++++++++
texinfo5.patch | 14 ++++++++++++++
4 files changed, 49 insertions(+), 1 deletion(-)
---
diff --git a/lash.spec b/lash.spec
index ba91dcc..6020b24 100644
--- a/lash.spec
+++ b/lash.spec
@@ -2,7 +2,7 @@ Summary: LASH Audio Session Handler
Summary(pl.UTF-8): LASH Audio Session Handler - obsługa sesji dźwiękowych
Name: lash
Version: 0.5.4
-Release: 3
+Release: 4
License: GPL v2+
Group: Applications/Sound
Source0: http://download.savannah.gnu.org/releases/lash/%{name}-%{version}.tar.gz
@@ -10,6 +10,9 @@ Source0: http://download.savannah.gnu.org/releases/lash/%{name}-%{version}.tar.g
Patch0: %{name}-link.patch
Patch1: %{name}-glibc2.8.patch
Patch2: %{name}-swig2.patch
+Patch3: texinfo5.patch
+Patch4: rlimit.patch
+Patch5: %{name}-swig3.patch
URL: http://lash.nongnu.org/
BuildRequires: /usr/bin/texi2html
BuildRequires: alsa-lib-devel >= 0.9
@@ -105,6 +108,9 @@ Wiązania Pythona do biblioteki LASH.
%patch0 -p1
%patch1 -p0
%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
%build
%{__libtoolize}
diff --git a/lash-swig3.patch b/lash-swig3.patch
new file mode 100644
index 0000000..26a7726
--- /dev/null
+++ b/lash-swig3.patch
@@ -0,0 +1,16 @@
+--- lash-0.5.4/configure.ac~ 2015-03-12 21:19:50.000000000 +0100
++++ lash-0.5.4/configure.ac 2015-03-12 21:24:02.163147161 +0100
+@@ -165,10 +165,13 @@
+ AM_CHECK_PYTHON_HEADERS(, python_found=no)
+
+ if test x$python_found == xyes; then
++ AC_PROG_SWIG(3.0.0)
++ if test -z "$SWIG_LIB" ; then
+ AC_PROG_SWIG(2.0.0)
+ if test -z "$SWIG_LIB" ; then
+ AC_PROG_SWIG(1.3.31)
+ fi
++ fi
+ if test "$SWIG_LIB" ; then
+ build_pylash=yes
+ fi
diff --git a/rlimit.patch b/rlimit.patch
new file mode 100644
index 0000000..f4d4377
--- /dev/null
+++ b/rlimit.patch
@@ -0,0 +1,12 @@
+--- lash-0.5.4/liblash/lash.c~ 2007-03-09 16:34:40.000000000 +0100
++++ lash-0.5.4/liblash/lash.c 2015-03-12 21:18:53.489824716 +0100
+@@ -34,6 +34,9 @@
+ #include <unistd.h>
+ #include <sys/param.h>
+
++#include <sys/time.h>
++#include <sys/resource.h>
++
+ #include <lash/lash.h>
+ #include <lash/internal_headers.h>
+
diff --git a/texinfo5.patch b/texinfo5.patch
new file mode 100644
index 0000000..f3ffbc3
--- /dev/null
+++ b/texinfo5.patch
@@ -0,0 +1,14 @@
+--- lash-0.5.4/docs/Makefile.am~ 2006-10-05 10:28:28.000000000 +0200
++++ lash-0.5.4/docs/Makefile.am 2015-03-12 21:16:31.523163058 +0100
+@@ -18,9 +18,9 @@
+ mkdir -lash-manual-html-split; \
+ fi
+ cd lash-manual-html-one-page && \
+- texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
++ texi2html --number-sections ../$(top_srcdir)/docs/lash-manual.texi
+ cd lash-manual-html-split && \
+- texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
++ texi2html --number-sections --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+ touch html-manual-stamp
+
+ CLEANFILES = html-manual-stamp lash-manual.cps
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lash.git/commitdiff/bab78347612ff77f8da4d13265e74e1759437cb4
More information about the pld-cvs-commit
mailing list