Commit 4ddb8253 authored by Natanael Copa's avatar Natanael Copa

main/freeswitch: fix textrels in mod_shout

fixes #535
parent 44d32898
......@@ -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"
--- ./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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment