summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2012-05-13 08:53:17 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-05-13 08:53:17 -0400
commit36e0f12a30dcb0becbe447189958c209299a9d82 (patch)
tree78b2da0439ea886149afec526dc137ba18ebddf4 /audio
parent7589047f847a13bc05bfff6ec5166effc41e9ef5 (diff)
downloadslackbuilds-36e0f12a30dcb0becbe447189958c209299a9d82.tar.gz
audio/lash: Added a patch to allow building with texlive.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/lash/lash.SlackBuild6
-rw-r--r--audio/lash/slack-desc2
-rw-r--r--audio/lash/texlive.patch15
3 files changed, 21 insertions, 2 deletions
diff --git a/audio/lash/lash.SlackBuild b/audio/lash/lash.SlackBuild
index 4425d97a5b..d36f9d228b 100644
--- a/audio/lash/lash.SlackBuild
+++ b/audio/lash/lash.SlackBuild
@@ -29,7 +29,7 @@
PRGNAM=lash
VERSION=${VERSION:-0.6.0.594}
SOURCE=$PRGNAM-0.6.0~rc2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,6 +74,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if [ "$(/usr/share/texmf/bin/texi2html --version)" != "1.76" ]; then
+ patch -p1 --verbose < $CWD/texlive.patch
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/audio/lash/slack-desc b/audio/lash/slack-desc
index 751031aebc..faf95749d5 100644
--- a/audio/lash/slack-desc
+++ b/audio/lash/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-------------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
lash: LASH (audio session management system)
lash:
lash: LASH is a session management system for GNU/Linux audio applications.
diff --git a/audio/lash/texlive.patch b/audio/lash/texlive.patch
new file mode 100644
index 0000000000..1177cf70f3
--- /dev/null
+++ b/audio/lash/texlive.patch
@@ -0,0 +1,15 @@
+diff -Naur a/docs/Makefile.in b/docs/Makefile.in
+--- a/docs/Makefile.in 2008-11-09 21:45:28.000000000 +0000
++++ b/docs/Makefile.in 2012-05-08 15:03:54.083573100 +0100
+@@ -527,9 +527,9 @@
+ @HAVE_TEXI2HTML_TRUE@ mkdir -lash-manual-html-split; \
+ @HAVE_TEXI2HTML_TRUE@ fi
+ @HAVE_TEXI2HTML_TRUE@ cd lash-manual-html-one-page && \
+-@HAVE_TEXI2HTML_TRUE@ texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
++@HAVE_TEXI2HTML_TRUE@ texi2html --number-sections ../$(top_srcdir)/docs/lash-manual.texi
+ @HAVE_TEXI2HTML_TRUE@ cd lash-manual-html-split && \
+-@HAVE_TEXI2HTML_TRUE@ texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
++@HAVE_TEXI2HTML_TRUE@ texi2html --number-sections --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+ @HAVE_TEXI2HTML_TRUE@ touch html-manual-stamp
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.