rpms/ser/devel ser-0.9.6-sysdef.patch, NONE, 1.1 ser.spec, 1.11, 1.12 ser-0.9.6-ppc.patch, 1.2, NONE

Andreas Thienemann (ixs) fedora-extras-commits at redhat.com
Wed Aug 29 16:58:19 UTC 2007


Author: ixs

Update of /cvs/pkgs/rpms/ser/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29651

Modified Files:
	ser.spec 
Added Files:
	ser-0.9.6-sysdef.patch 
Removed Files:
	ser-0.9.6-ppc.patch 
Log Message:
* Wed Aug 29 2007 Andreas Thienemann <andreas at bawue.net> 0.9.6-13
- Fix build issues on non x86 systems for good


ser-0.9.6-sysdef.patch:

--- NEW FILE ser-0.9.6-sysdef.patch ---
diff -up ser-0.9.6/modules/postgres/aug_sysdep.h.orig ser-0.9.6/modules/postgres/aug_sysdep.h
--- ser-0.9.6/modules/postgres/aug_sysdep.h.orig	2007-08-29 18:55:35.000000000 +0200
+++ ser-0.9.6/modules/postgres/aug_sysdep.h	2007-08-29 18:55:04.000000000 +0200
@@ -207,24 +207,12 @@ typedef unsigned int augUInt32;
 #define AUG_NO_PTHREADS
 #endif
 
-#if defined(__i386)
-
-#if defined(__GNUC__)
-#define AUG_CONFIGURATION	"Linux x86 with GCC"
-#endif
-
-typedef unsigned int augUInt32;
-
-#endif /* x86 */
-#if defined(__x86_64)
-
 #if defined(__GNUC__)
-#define AUG_CONFIGURATION	"Linux x86_64 with GCC"
+#define AUG_CONFIGURATION	"Linux with GCC"
 #endif
 
 typedef unsigned int augUInt32;
 
-#endif /* x86-64 */
 #endif /* linux */
 
 /*


Index: ser.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ser/devel/ser.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ser.spec	29 Aug 2007 16:37:43 -0000	1.11
+++ ser.spec	29 Aug 2007 16:57:41 -0000	1.12
@@ -8,7 +8,7 @@
 Summary: SIP Express Router
 Name: ser
 Version: 0.9.6
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: GPL
 Group: System Environment/Daemons
 Source0: http://ftp.iptel.org/pub/ser/latest/src/ser-%{version}_src.tar.gz
@@ -16,7 +16,7 @@
 Source2: serweb.conf
 Source3: ser.init
 Patch0: serweb-path.patch
-Patch1: ser-0.9.6-ppc.patch
+Patch1: ser-0.9.6-sysdef.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, bison
@@ -72,7 +72,7 @@
 %setup -q
 %setup -q -a 1
 %patch0 -p1 -b .path
-%patch1 -p1 -b .ppc
+%patch1 -p1 -b .sysdef
 
 # Enable SQL support for the acc module
 sed -i -e 's/#DEFS+=-DSQL_ACC/DEFS+=-DSQL_ACC/' modules/acc/Makefile 
@@ -215,6 +215,9 @@
 %endif
 
 %changelog
+* Wed Aug 29 2007 Andreas Thienemann <andreas at bawue.net> 0.9.6-13
+- Fix build issues on non x86 systems for good
+
 * Wed Aug 29 2007 Andreas Thienemann <andreas at bawue.net> 0.9.6-12
 - Upgraded ppc patch to work on PPC64
 


--- ser-0.9.6-ppc.patch DELETED ---




More information about the fedora-extras-commits mailing list