[mingw-postgresql] Update to 9.3.5

mooninite mooninite at fedoraproject.org
Sun Aug 17 02:36:37 UTC 2014


commit b334053f7fd77cf74f5420777c0de6ff17d07639
Author: Michael Cronenworth <mike at cchtml.com>
Date:   Sat Aug 16 21:36:21 2014 -0500

    Update to 9.3.5

 .gitignore                          |    6 +-----
 mingw-postgresql.spec               |   11 +++++++++--
 postgresql-9.3.5-plpgsql-link.patch |   11 +++++++++++
 sources                             |    2 +-
 4 files changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4768107..04124b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1 @@
-/postgresql-9.2.4.tar.bz2
-/postgresql-9.3.1.tar.bz2
-/postgresql-9.3.2.tar.bz2
-/postgresql-9.3.3.tar.bz2
-/postgresql-9.3.4.tar.bz2
+/postgresql-9.3.5.tar.bz2
diff --git a/mingw-postgresql.spec b/mingw-postgresql.spec
index 8b0462c..f777ecd 100644
--- a/mingw-postgresql.spec
+++ b/mingw-postgresql.spec
@@ -1,14 +1,17 @@
 %?mingw_package_header
 
 Name:           mingw-postgresql
-Version:        9.3.4
-Release:        2%{?dist}
+Version:        9.3.5
+Release:        1%{?dist}
 Summary:        MinGW Windows PostgreSQL library
 
 License:        PostgreSQL
 URL:            http://www.postgresql.org/
 Source0:        ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
 
+# DLL Linking of libplpgsql.dll fails
+Patch0:         postgresql-9.3.5-plpgsql-link.patch
+
 BuildArch:      noarch
 
 BuildRequires:  mingw32-filesystem >= 95
@@ -61,6 +64,7 @@ database management system (DBMS).
 
 %prep
 %setup -q -n postgresql-%{version}
+%patch0 -p0
 
 
 %build
@@ -192,6 +196,9 @@ mv $RPM_BUILD_ROOT%{mingw64_libdir}/libpq.a $RPM_BUILD_ROOT%{mingw64_libdir}/lib
 
 
 %changelog
+* Sat Aug 16 2014 Michael Cronenworth <mike at cchtml.com> - 9.3.5-1
+- New upstream release.
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 9.3.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/postgresql-9.3.5-plpgsql-link.patch b/postgresql-9.3.5-plpgsql-link.patch
new file mode 100644
index 0000000..dfee468
--- /dev/null
+++ b/postgresql-9.3.5-plpgsql-link.patch
@@ -0,0 +1,11 @@
+--- src/pl/plpgsql/src/Makefile.orig	2014-07-21 14:10:42.000000000 -0500
++++ src/pl/plpgsql/src/Makefile	2014-08-16 21:21:43.303005362 -0500
+@@ -14,7 +14,7 @@
+ NAME= plpgsql
+ 
+ override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
+-SHLIB_LINK = $(filter -lintl, $(LIBS))
++SHLIB_LINK = $(filter -lintl, $(LIBS)) ../../../../src/backend/access/common/heaptuple.o ../../../../src/backend/access/heap/tuptoaster.o ../../../../src/backend/executor/execTuples.o
+ rpath =
+ 
+ OBJS = pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o pl_scanner.o
diff --git a/sources b/sources
index db0e17c..b8178ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d0a41f54c377b2d2fab4a003b0dac762  postgresql-9.3.4.tar.bz2
+5059857c7d7e6ad83b6d55893a121b59  postgresql-9.3.5.tar.bz2


More information about the scm-commits mailing list