rpms/asterisk/devel 0009-Define-missing-variable-when-compiling-on-PPC.patch, NONE, 1.1 asterisk.spec, 1.40, 1.41

Jeffrey C. Ollie jcollie at fedoraproject.org
Fri Nov 7 20:57:11 UTC 2008


Author: jcollie

Update of /cvs/pkgs/rpms/asterisk/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28350

Modified Files:
	asterisk.spec 
Added Files:
	0009-Define-missing-variable-when-compiling-on-PPC.patch 
Log Message:
* Fri Nov  7 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.6.1-0.5.beta2
- Add patch to fix missing variable on PPC.


0009-Define-missing-variable-when-compiling-on-PPC.patch:

--- NEW FILE 0009-Define-missing-variable-when-compiling-on-PPC.patch ---
>From 0972aac57b1afcbd39e0ef7ca899cb99b543b67d Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff at ocjtech.us>
Date: Fri, 7 Nov 2008 14:43:16 -0600
Subject: [PATCH] Define missing variable when compiling on PPC.

---
 apps/app_festival.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/apps/app_festival.c b/apps/app_festival.c
index d9659eb..0743c98 100644
--- a/apps/app_festival.c
+++ b/apps/app_festival.c
@@ -118,6 +118,7 @@ static int send_waveform_to_fd(char *waveform, int length, int fd)
 {
 	int res;
 #ifdef __PPC__ 
+	int x;
 	char c;
 #endif
 
-- 
1.5.6.5



Index: asterisk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/asterisk/devel/asterisk.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- asterisk.spec	7 Nov 2008 20:11:29 -0000	1.40
+++ asterisk.spec	7 Nov 2008 20:56:40 -0000	1.41
@@ -3,7 +3,7 @@
 Summary: The Open Source PBX
 Name: asterisk
 Version: 1.6.1
-Release: 0.4%{?beta:beta%{beta}}%{?dist}
+Release: 0.5%{?beta:beta%{beta}}%{?dist}
 License: GPLv2
 Group: Applications/Internet
 URL: http://www.asterisk.org/
@@ -41,6 +41,7 @@
 Patch6:  0006-Build-using-external-libedit.patch
 Patch7:  0007-Update-autoconf.patch
 Patch8:  0008-sys-io.h-is-not-available-on-PPC-systems.patch
+Patch9:  0009-Define-missing-variable-when-compiling-on-PPC.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
 
@@ -425,6 +426,7 @@
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 cp %{SOURCE2} menuselect.makedeps
 cp %{SOURCE3} menuselect.makeopts
@@ -1051,6 +1053,9 @@
 %{_libdir}/asterisk/modules/app_voicemail_plain.so
 
 %changelog
+* Fri Nov  7 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.6.1-0.5.beta2
+- Add patch to fix missing variable on PPC.
+
 * Fri Nov  7 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.6.1-0.4.beta2
 - Update PPC systems don't have sys/io.h patch.
 




More information about the fedora-extras-commits mailing list