rpms/ser/devel ser-0.9.6-ppc.patch,NONE,1.1 ser.spec,1.1,1.2
Andreas Thienemann (ixs)
fedora-extras-commits at redhat.com
Thu Mar 30 14:15:55 UTC 2006
Author: ixs
Update of /cvs/extras/rpms/ser/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7239
Modified Files:
ser.spec
Added Files:
ser-0.9.6-ppc.patch
Log Message:
* Thu Mar 30 2006 Andreas Thienemann <andreas at bawue.net> 0.9.6-3
- PPC patch to build the postgresql module on ppc
ser-0.9.6-ppc.patch:
--- NEW FILE ser-0.9.6-ppc.patch ---
--- ser-0.9.6/modules/postgres/aug_sysdep.h.orig 2006-03-30 16:07:32.113066656 +0200
+++ ser-0.9.6/modules/postgres/aug_sysdep.h 2006-03-30 16:05:31.611385696 +0200
@@ -225,6 +225,16 @@
typedef unsigned int augUInt32;
#endif /* x86-64 */
+
+#if defined(__powerpc)
+
+#if defined(__GNUC__)
+#define AUG_CONFIGURATION "Linux PowerPC with GCC"
+#endif
+
+typedef unsigned int augUInt32;
+
+#endif /* PowerPC */
#endif /* linux */
/*
Index: ser.spec
===================================================================
RCS file: /cvs/extras/rpms/ser/devel/ser.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ser.spec 29 Mar 2006 11:18:24 -0000 1.1
+++ ser.spec 30 Mar 2006 14:15:55 -0000 1.2
@@ -4,7 +4,7 @@
Summary: SIP Express Router
Name: ser
Version: 0.9.6
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
Group: System Environment/Daemons
Source0: http://ftp.iptel.org/pub/ser/latest/src/ser-%{version}_src.tar.gz
@@ -12,6 +12,7 @@
Source2: serweb.conf
Source3: ser.init
Patch0: serweb-path.patch
+Patch1: ser-0.9.6-ppc.patch
URL: http://www.iptel.org/ser/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: expat-devel, libxml2-devel, mysql-devel, postgresql-devel
@@ -66,6 +67,7 @@
%setup -q
%setup -q -a 1
%patch0 -p1 -b .path
+%patch1 -p1 -b .ppc
# Enable SQL support for the acc module
sed -i -e 's/#DEFS+=-DSQL_ACC/DEFS+=-DSQL_ACC/' modules/acc/Makefile
@@ -199,6 +201,9 @@
%config(noreplace) %{_sysconfdir}/httpd/conf.d/serweb.conf
%changelog
+* Thu Mar 30 2006 Andreas Thienemann <andreas at bawue.net> 0.9.6-3
+- PPC patch to build the postgresql module on ppc
+
* Tue Mar 28 2006 Andreas Thienemann <andreas at bawue.net> 0.9.6-2
- Changes to the spec-file, to conform to FE policies.
More information about the fedora-extras-commits
mailing list