]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
- fix zhone bcond and chan_dahdi build with zaptel
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 22 Nov 2008 19:38:28 +0000 (19:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asterisk.spec -> 1.126.2.1

asterisk.spec

index 399e9a645a974120cb72f120377c60f9e1a74116..53652574c6ba2c35ea8b7d412514c946ca47a0a6 100644 (file)
@@ -50,6 +50,7 @@ Patch13:      %{name}-zhone.patch
 Patch14:       %{name}-bristuff.patch
 Patch15:       %{name}-bristuff-build.patch
 Patch16:       %{name}-bristuff-libpri.patch
+Patch17:       %{name}-r150557.patch
 URL:           http://www.asterisk.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -135,7 +136,7 @@ Pliki przykładowe dla centralki Asterisk.
 %prep
 %setup -q -n %{name}-%{version}
 
-%{?with_zhone:sed -i -e 's|.*#define.*ZHONE_HACK.*|#define ZHONE_HACK 1|g' channels/chan_zap.c}
+%{?with_zhone:sed -i -e 's|.*#define.*ZHONE_HACK.*|#define ZHONE_HACK 1|g' channels/chan_dahdi.c}
 
 %patch0 -p0
 #%patch1 -p1
@@ -162,6 +163,7 @@ cp %{SOURCE11} .
 %patch15 -p1
 %patch16 -p1
 %endif
+%patch17 -p2
 
 sed -i -e "s#/usr/lib/#/usr/%{_lib}/#g#" Makefile
 
@@ -209,7 +211,7 @@ cp -f .cleancount .lastclean
 #%{__make} progdocs
 
 # safe checks
-%{?with_bristuff:objdump -p channels/chan_zap.so | grep -qE 'NEEDED +libgsmat\.so' || exit 1}
+%{?with_bristuff:objdump -p channels/chan_dahdi.so | grep -qE 'NEEDED +libgsmat\.so' || exit 1}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.036034 seconds and 4 git commands to generate.