Steve McIntyre <[EMAIL PROTECTED]> wrote:

>>A trivial patch to aug_sysdep.h is enough to get the module to
>>build. I had the same problem in OpenSER, it's only a conditional
>>define for a string that needs to be slightly modified.
>
> OK, there's an easy fix for #390008. Is it as simple as losing the
> #error? If more is needed, can you add a patch on the bug report
> please?

Attached is the patch I applied to OpenSER.

JB.

-- 
 Julien BLACHE <[EMAIL PROTECTED]>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer        |       <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 

#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_postgres_module_build.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Remove unneeded architecture restriction for the PostgreSQL module.

@DPATCH@
diff -urNad openser-1.0.1~/modules/postgres/aug_sysdep.h 
openser-1.0.1/modules/postgres/aug_sysdep.h
--- openser-1.0.1~/modules/postgres/aug_sysdep.h        2006-06-30 
22:20:04.000000000 +0200
+++ openser-1.0.1/modules/postgres/aug_sysdep.h 2006-06-30 22:20:40.398817984 
+0200
@@ -190,15 +190,12 @@
 #define AUG_NO_PTHREADS
 #endif
 
-#if defined(__i386)
-
 #if defined(__GNUC__)
-#define AUG_CONFIGURATION      "Linux x86 with GCC"
+#define AUG_CONFIGURATION      "Linux with GCC"
 #endif
 
 typedef unsigned int augUInt32;
 
-#endif /* i386 */
 #endif /* linux */
 
 /*

Reply via email to