tags 441668 + patch
thanks

Hello,

so, this issue is happening because postgresql in sid is now version
8.2, not 8.1 anymore. This package is failling to build because it
needs package postgresql-server-dev-8.2, not postgresql-server-dev-8.1.

This patch here changes version of package to 8.2 in debian/control and
also adds a patch to patch directory that adds an include to file
postgresql-pljava-1.3.0/src/C/pljava/XactListener.c, that is needed
because of postgresql version bump.

Cheers,

filipe {
 @             icewall.org
 GPG        1024D/A6BA423E
 Jabber  [EMAIL PROTECTED]
}
diff -Nru postgresql-pljava-1.3.0-old/debian/control postgresql-pljava-1.3.0/debian/control
--- postgresql-pljava-1.3.0-old/debian/control	2007-11-30 22:30:09.420939279 +0000
+++ postgresql-pljava-1.3.0/debian/control	2007-11-30 22:34:19.352937817 +0000
@@ -2,14 +2,14 @@
 Section: misc
 Priority: optional
 Maintainer: Peter Eisentraut <[EMAIL PROTECTED]>
-Build-Depends: cdbs (>= 0.4.37), debhelper (>= 5), fastjar, gcj (>= 4:4.0.2-2), postgresql-server-dev-8.1, java-gcj-compat-dev
+Build-Depends: cdbs (>= 0.4.37), debhelper (>= 5), fastjar, gcj (>= 4:4.0.2-2), postgresql-server-dev-8.2, java-gcj-compat-dev
 Standards-Version: 3.7.2
 
-Package: postgresql-8.1-pljava-gcj
+Package: postgresql-8.2-pljava-gcj
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-8.1
-Provides: postgresql-8.1-pljava
-Conflicts: postgresql-8.1-pljava
+Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-8.2
+Provides: postgresql-8.2-pljava
+Conflicts: postgresql-8.2-pljava
 Description: Java procedural language for PostgreSQL
  PL/Java is a loadable procedural language for the PostgreSQL database
  system that enables the use of the Java language for creating functions
diff -Nru postgresql-pljava-1.3.0-old/debian/patches/xact.patch postgresql-pljava-1.3.0/debian/patches/xact.patch
--- postgresql-pljava-1.3.0-old/debian/patches/xact.patch	1970-01-01 00:00:00.000000000 +0000
+++ postgresql-pljava-1.3.0/debian/patches/xact.patch	2007-11-30 22:25:53.672939209 +0000
@@ -0,0 +1,10 @@
+--- postgresql-pljava-1.3.0/src/C/pljava/XactListener.c-or	2007-11-30 22:23:36.872938884 +0000
++++ postgresql-pljava-1.3.0/src/C/pljava/XactListener.c	2007-11-30 22:18:08.416963873 +0000
+@@ -9,6 +9,7 @@
+ #include "pljava/Backend.h"
+ #include "pljava/Exception.h"
+ #include "org_postgresql_pljava_internal_XactListener.h"
++#include "access/xact.h"
+ 
+ #if ((PGSQL_MAJOR_VER == 8 && PGSQL_MINOR_VER >= 1) || PGSQL_MAJOR_VER > 8)
+ #define HAS_2PC 1

Reply via email to