Browse Source

upgrading package: postgresql 10.5 -> 11.0

master
parent
commit
d2e1c48862
  1. 46
      postgresql/postgresql.patch
  2. 8
      postgresql/postgresql.spec

46
postgresql/postgresql.patch

@ -1,7 +1,7 @@
Index: configure
--- configure.orig 2017-11-07 01:46:52.000000000 +0100
+++ configure 2017-12-27 10:23:46.698956000 +0100
@@ -5671,7 +5671,7 @@
--- configure.orig 2018-10-15 23:12:02.000000000 +0200
+++ configure 2018-10-21 00:13:36.332439000 +0200
@@ -7358,7 +7358,7 @@
See \`config.log' for more details" "$LINENO" 5; }
else
ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
@ -10,7 +10,7 @@ Index: configure
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
@@ -7852,12 +7852,6 @@
@@ -9542,12 +9542,6 @@
test "$PORTNAME" = "win32" && perl_useshrplib=`echo $perl_useshrplib | sed 's,\\\\,/,g'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_useshrplib" >&5
$as_echo "$perl_useshrplib" >&6; }
@ -20,10 +20,10 @@ Index: configure
-documentation for details. Use --without-perl to disable building
-PL/Perl." "$LINENO" 5
- fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLAGS recommended by Perl" >&5
$as_echo_n "checking for CFLAGS recommended by Perl... " >&6; }
@@ -8069,12 +8063,6 @@
# On most platforms, archlibexp is also where the Perl include files live ...
perl_includedir="$perl_archlibexp"
# ... but on some macOS versions, we must look under $PG_SYSROOT instead
@@ -9779,12 +9773,6 @@
done
fi
fi
@ -37,9 +37,9 @@ Index: configure
python_additional_libs=`${PYTHON} -c "import distutils.sysconfig; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('LIBS','LIBC','LIBM','BASEMODLIBS'))))"`
Index: src/Makefile.shlib
--- src/Makefile.shlib.orig 2017-11-07 01:46:52.000000000 +0100
+++ src/Makefile.shlib 2017-12-16 18:21:53.915186000 +0100
@@ -259,7 +259,7 @@
--- src/Makefile.shlib.orig 2018-10-15 23:12:02.000000000 +0200
+++ src/Makefile.shlib 2018-10-21 00:12:53.535225000 +0200
@@ -276,7 +276,7 @@
.PHONY: all-lib all-static-lib all-shared-lib
@ -49,9 +49,9 @@ Index: src/Makefile.shlib
# no static library when building a dynamically loadable module
all-lib: all-static-lib
Index: src/backend/Makefile
--- src/backend/Makefile.orig 2017-11-07 01:46:52.000000000 +0100
+++ src/backend/Makefile 2017-12-16 18:21:53.915346000 +0100
@@ -43,7 +43,7 @@
--- src/backend/Makefile.orig 2018-10-15 23:12:02.000000000 +0200
+++ src/backend/Makefile 2018-10-21 00:12:53.535395000 +0200
@@ -45,7 +45,7 @@
LIBS := $(filter-out -lpgport -lpgcommon, $(LIBS)) $(LDAP_LIBS_BE) $(ICU_LIBS)
# The backend doesn't need everything that's in LIBS, however
@ -61,20 +61,20 @@ Index: src/backend/Makefile
ifeq ($(with_systemd),yes)
LIBS += -lsystemd
Index: src/include/port.h
--- src/include/port.h.orig 2017-11-07 01:46:52.000000000 +0100
+++ src/include/port.h 2017-12-16 18:21:53.915512000 +0100
@@ -380,7 +380,7 @@
--- src/include/port.h.orig 2018-10-15 23:12:02.000000000 +0200
+++ src/include/port.h 2018-10-21 00:12:53.535555000 +0200
@@ -341,7 +341,7 @@
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
#endif
-#ifndef HAVE_ISINF
+#if !defined(HAVE_ISINF) && !defined(__FreeBSD__)
extern int isinf(double x);
#endif
#else
/*
Index: src/makefiles/Makefile.freebsd
--- src/makefiles/Makefile.freebsd.orig 2017-11-07 01:46:52.000000000 +0100
+++ src/makefiles/Makefile.freebsd 2017-12-16 18:21:53.915639000 +0100
--- src/makefiles/Makefile.freebsd.orig 2018-10-15 23:12:02.000000000 +0200
+++ src/makefiles/Makefile.freebsd 2018-10-21 00:12:53.535688000 +0200
@@ -13,7 +13,7 @@
# Rule for building a shared library from a single .o file
%.so: %.o
@ -85,8 +85,8 @@ Index: src/makefiles/Makefile.freebsd
$(LD) $(LDREL) $(LDOUT) $<.obj -x $<
@echo building shared object $@
Index: src/makefiles/Makefile.linux
--- src/makefiles/Makefile.linux.orig 2017-11-07 01:46:52.000000000 +0100
+++ src/makefiles/Makefile.linux 2017-12-16 18:21:53.915754000 +0100
--- src/makefiles/Makefile.linux.orig 2018-10-15 23:12:02.000000000 +0200
+++ src/makefiles/Makefile.linux 2018-10-21 00:12:53.535802000 +0200
@@ -12,4 +12,4 @@
# Rule for building a shared library from a single .o file

8
postgresql/postgresql.spec

@ -22,9 +22,9 @@
##
# package versions
%define V_postgresql 10.5
%define V_postgresql_dist 10.5
%define V_postgresql_dir 10.5
%define V_postgresql 11.0
%define V_postgresql_dist 11.0
%define V_postgresql_dir 11.0
# package information
Name: postgresql
@ -37,7 +37,7 @@ Class: BASE
Group: Database
License: BSD
Version: %{V_postgresql}
Release: 20180809
Release: 20181021
# package options
%option with_server yes

Loading…
Cancel
Save