aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-03 09:18:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-03 09:19:00 +0000
commit4ddb8253f68e902b4a71066afbdb682e716b193e (patch)
treea3534b3efa1a70fda3e3b3856e5afcc5bbd1c67c /main/freeswitch
parent44d328984dbe7637ac706a0d8f63837ac3212b9e (diff)
downloadaports-4ddb8253f68e902b4a71066afbdb682e716b193e.tar.bz2
aports-4ddb8253f68e902b4a71066afbdb682e716b193e.tar.xz
main/freeswitch: fix textrels in mod_shout
fixes #535
Diffstat (limited to 'main/freeswitch')
-rw-r--r--main/freeswitch/APKBUILD9
-rw-r--r--main/freeswitch/freeswitch-mod_shout-textrels.patch11
2 files changed, 19 insertions, 1 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index b3a3d85e69..9de191b6ec 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=freeswitch
pkgver=1.0.7
-pkgrel=1
+pkgrel=2
pkgdesc="A communications platform written in C from the ground up"
url="http://www.freeswitch.org"
arch="all"
@@ -13,6 +13,7 @@ makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev
install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade"
subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf"
source="http://latest.freeswitch.org/freeswitch-$pkgver.tar.gz
+ freeswitch-mod_shout-textrels.patch
modules.conf
freeswitch.confd
freeswitch.initd
@@ -22,6 +23,11 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
sed -i 's,freetdm.h,../src/include/freetdm.h,' libs/freetdm/mod_freetdm/mod_freetdm.c
}
@@ -105,6 +111,7 @@ conf() {
}
md5sums="0a685b4cdd2466da28695fc09b8fc11e freeswitch-1.0.7.tar.gz
+11883affe0839a8e15fe680aeb11b86e freeswitch-mod_shout-textrels.patch
a3383f46dc62ec1fa00eab584d7ee472 modules.conf
c608cca8ad773acebf201f581438c7e7 freeswitch.confd
aa358c9ca0d8b93fabb6a36a5ed4c469 freeswitch.initd"
diff --git a/main/freeswitch/freeswitch-mod_shout-textrels.patch b/main/freeswitch/freeswitch-mod_shout-textrels.patch
new file mode 100644
index 0000000000..7cc7e3fa7a
--- /dev/null
+++ b/main/freeswitch/freeswitch-mod_shout-textrels.patch
@@ -0,0 +1,11 @@
+--- ./src/mod/formats/mod_shout/Makefile.orig
++++ ./src/mod/formats/mod_shout/Makefile
+@@ -30,7 +30,7 @@
+
+ $(MPG123_BUILDDIR)/Makefile: $(MPG123_DIR)
+ mkdir -p $(MPG123_BUILDDIR)
+- cd $(MPG123_BUILDDIR) && $(DEFAULT_VARS) $(MPG123_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(MPG123_DIR) CPPFLAGS= LDFLAGS=
++ cd $(MPG123_BUILDDIR) && $(DEFAULT_VARS) $(MPG123_DIR)/configure $(DEFAULT_ARGS) --with-cpu=i386_fpu --srcdir=$(MPG123_DIR) CPPFLAGS= LDFLAGS=
+ $(TOUCH_TARGET)
+
+ $(MPG123LA): $(MPG123_BUILDDIR)/Makefile