Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > e025a27d817043730f4a547ef980ec68 > files > 4

postgresql9.4-9.4.12-1.1.mga6.src.rpm

diff -Naurp postgresql-9.4.6/src/interfaces/libpq/Makefile postgresql-9.4.6.oden/src/interfaces/libpq/Makefile
--- postgresql-9.4.6/src/interfaces/libpq/Makefile	2016-02-08 22:15:19.000000000 +0100
+++ postgresql-9.4.6.oden/src/interfaces/libpq/Makefile	2016-02-27 20:45:39.217272085 +0100
@@ -16,8 +16,7 @@ include $(top_builddir)/src/Makefile.glo
 
 # shared library parameters
 NAME= pq
-SO_MAJOR_VERSION= 5
-SO_MINOR_VERSION= 7
+SO_MAJOR_VERSION= 5.7
 
 override CPPFLAGS :=  -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port
 ifneq ($(PORTNAME), win32)
@@ -78,7 +77,7 @@ SHLIB_EXPORTS = exports.txt
 all: all-lib
 
 # Shared library stuff
-include $(top_srcdir)/src/Makefile.shlib
+include $(top_srcdir)/src/Makefile.libpq.shlib
 backend_src = $(top_srcdir)/src/backend
 
 
diff -Naurp postgresql-9.4.6/src/Makefile.libpq.shlib postgresql-9.4.6.oden/src/Makefile.libpq.shlib
--- postgresql-9.4.6/src/Makefile.libpq.shlib	2016-02-08 22:15:19.000000000 +0100
+++ postgresql-9.4.6.oden/src/Makefile.libpq.shlib	2016-02-27 20:46:25.346639646 +0100
@@ -75,7 +75,7 @@ LINK.static = $(AR) $(AROPT)
 
 ifdef SO_MAJOR_VERSION
 # Default library naming convention used by the majority of platforms
-shlib		= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+shlib		= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
 shlib_major	= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
 shlib_bare	= lib$(NAME)$(DLSUFFIX)
 # Testing the soname variable is a reliable way to determine whether a