On 10/01 03:38, Pierre-Emmanuel Andr?? wrote: > On Fri, 27 Sep 2013 16:02:05 +0200, Martin Pelikan wrote: > >>Here's a diff against -current for 9.3 beta2. I've made some PLIST > > > >Here's a diff agains -current for 9.3.0. No changes apart from > >version, > >size and SHA256 bump. Seems to work on amd64. > > > >Any idea when might this go in? Thanks! > > > I'm ok with this diff but i would like to have the result of a bulk > build with it. > Landry, could you launch a bulk build please ? > > Regards,
Here are patches for plv8 and pllua to work with PostgreSQL 9.3: Index: Makefile =================================================================== RCS file: /cvs/ports/databases/postgresql-plv8/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 7 Aug 2013 21:31:23 -0000 1.3 +++ Makefile 3 Oct 2013 19:41:12 -0000 @@ -7,7 +7,7 @@ COMMENT = PostgreSQL V8 javascript proc VERSION = 1.3.0 DISTNAME = plv8-${VERSION} -REVISION = 0 +REVISION = 1 PKGNAME = postgresql-${DISTNAME} CATEGORIES = databases @@ -26,7 +26,7 @@ EXTRACT_SUFX = .zip BUILD_DEPENDS = ${RUN_DEPENDS} LIB_DEPENDS = lang/libv8 -RUN_DEPENDS = postgresql-server->=9.2,<9.3:databases/postgresql,-server +RUN_DEPENDS = postgresql-server->=9.3,<9.4:databases/postgresql,-server MAKE_FLAGS = V8DIR=${LOCALBASE}/lib USE_GMAKE = Yes Index: Makefile =================================================================== RCS file: /cvs/ports/databases/postgresql-pllua/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 11 Mar 2013 02:52:07 -0000 1.3 +++ Makefile 3 Oct 2013 20:03:43 -0000 @@ -4,7 +4,7 @@ SHARED_ONLY = Yes COMMENT = Lua procedural language support for PostgreSQL -VERSION = 0.3.2 +VERSION = 1.0 DISTNAME = pllua-${VERSION} PKGNAME = postgresql-pllua-${VERSION} @@ -19,14 +19,15 @@ PERMIT_PACKAGE_CDROM = Yes WANTLIB = c ${MODLUA_WANTLIB} -MASTER_SITES = http://pgfoundry.org/frs/download.php/2401/ +MASTER_SITES = http://pgfoundry.org/frs/download.php/3481/ MODULES = lang/lua BUILD_DEPENDS = ${RUN_DEPENDS} -RUN_DEPENDS = postgresql-server->=9.2,<9.3:databases/postgresql,-server +RUN_DEPENDS = postgresql-server->=9.3,<9.4:databases/postgresql,-server USE_GMAKE = Yes +WRKDIST = ${WRKDIR}/pllua-0.3.2 SUBST_VARS = MODLUA_INCL_DIR MODLUA_WANTLIB pre-configure: Index: distinfo =================================================================== RCS file: /cvs/ports/databases/postgresql-pllua/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 10 Oct 2012 10:41:36 -0000 1.1.1.1 +++ distinfo 3 Oct 2013 20:02:11 -0000 @@ -1,2 +1,2 @@ -SHA256 (pllua-0.3.2.tar.gz) = ThEbqnpiwvVXZ6eNMCg67Tj3poWEJGh5NgYiYuC6p0I= -SIZE (pllua-0.3.2.tar.gz) = 31324 +SHA256 (pllua-1.0.tar.gz) = ThEbqnpiwvVXZ6eNMCg67Tj3poWEJGh5NgYiYuC6p0I= +SIZE (pllua-1.0.tar.gz) = 31324 Index: patches/patch-pllua_h =================================================================== RCS file: /cvs/ports/databases/postgresql-pllua/patches/patch-pllua_h,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-pllua_h --- patches/patch-pllua_h 10 Oct 2012 10:41:36 -0000 1.1.1.1 +++ patches/patch-pllua_h 3 Oct 2013 20:17:45 -0000 @@ -3,9 +3,17 @@ $OpenBSD: patch-pllua_h,v 1.1.1.1 2012/1 Recent versions of PostgreSQL require an extra header to get the Relation struct defintion, and pllua hasn't been updated recently. ---- pllua.h.orig Tue Oct 9 17:32:18 2012 -+++ pllua.h Tue Oct 9 17:32:27 2012 -@@ -25,6 +25,7 @@ +--- pllua.h.orig Sun Sep 20 07:22:21 2009 ++++ pllua.h Thu Oct 3 13:17:41 2013 +@@ -11,6 +11,7 @@ + #include <fmgr.h> + #include <funcapi.h> + #include <access/heapam.h> ++#include "access/htup_details.h" + #include <catalog/namespace.h> + #include <catalog/pg_proc.h> + #include <catalog/pg_type.h> +@@ -25,6 +26,7 @@ #include <utils/datum.h> #include <utils/builtins.h> #include <utils/array.h> Index: patches/patch-plluaapi_c =================================================================== RCS file: patches/patch-plluaapi_c diff -N patches/patch-plluaapi_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-plluaapi_c 3 Oct 2013 20:11:36 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- plluaapi.c.orig Thu Oct 3 13:09:19 2013 ++++ plluaapi.c Thu Oct 3 13:09:56 2013 +@@ -22,7 +22,7 @@ typedef struct luaP_Info { + /* extended type info */ + typedef struct luaP_Typeinfo { + int oid; +- int2 len; ++ int16 len; + char type; + char align; + bool byval;