Subject: powerpc .. databases/postgresql80-client 33
To: None <pkgsrc-bulk@NetBSD.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: pkgsrc-bulk
Date: 02/07/2006 10:39:10
| From: Krister Walfridsson <cato@df.lth.se>
| Subject: pkgsrc Darwin 8.4.0/powerpc bulk build results 20060130.2316
| Date: Sun, 5 Feb 2006 18:36:00 +0100 (CET)
cato> Darwin 8.4.0/powerpc
cato> databases/postgresql80-client 33 jlam@pkgsrc.org
I think we need the change in following article:
http://projects.commandprompt.com/projects/public/pgsql/changeset/24043
---
Makoto Fujiwara,
Chiba, Japan, Narita Airport and Disneyland prefecture.
--- postgresql-8.0.5/src/interfaces/ecpg/ecpglib/descriptor.c-orig 2006-02-07 10:08:41.000000000 +0900
+++ postgresql-8.0.5/src/interfaces/ecpg/ecpglib/descriptor.c 2006-02-07 10:31:00.000000000 +0900
@@ -503,8 +503,12 @@
break;
type = va_arg(args, enum ECPGttype);
+#if defined(__GNUC__) && (defined (__powerpc__) || defined(__amd64__) || defined(__x86_64__))
+ ECPGget_variable(args, type, var, false);
+#else
ECPGget_variable(&args, type, var, false);
+#endif
switch (itemtype)
{
case ECPGd_data: