- PPC patch to build the postgresql module on ppc
This commit is contained in:
parent
9d76702c61
commit
b84f5e7348
2 changed files with 25 additions and 1 deletions
19
ser-0.9.6-ppc.patch
Normal file
19
ser-0.9.6-ppc.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
--- 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 */
|
||||
|
||||
/*
|
||||
7
ser.spec
7
ser.spec
|
|
@ -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 @@ Source1: ftp://ftp.berlios.de/pub/ser/latest/contrib/serweb-%{serweb_version}.ta
|
|||
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 @@ SERWEB is web toolbox for SIP Express Router (ser). It can be used for:
|
|||
%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 @@ fi
|
|||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/serweb.conf
|
||||
|
||||
%changelog
|
||||
* Thu Mar 30 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-3
|
||||
- PPC patch to build the postgresql module on ppc
|
||||
|
||||
* Tue Mar 28 2006 Andreas Thienemann <andreas@bawue.net> 0.9.6-2
|
||||
- Changes to the spec-file, to conform to FE policies.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue