diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-10-08 21:23:53 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-10-08 21:23:53 +0300 |
commit | 28f82a8f04df1eef64aac62d36db04903a243c46 (patch) | |
tree | 88314a71a83ab744015c425431bae964acd01f67 | |
parent | fd8148250c8c46fac04277e7a07f8dd2908dd477 (diff) | |
download | postgresql-10-master.tar.gz |
postgresql-10 (10.0-1+dyson0.1)HEADdyson/10.0-1+dyson0.1master
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/patches/dyson.patch | 98 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 107 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 49ed15e..197b503 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +postgresql-10 (10.0-1+dyson0.1) unstable; urgency=medium + + * Package for Dyson + * No SMF service yet. Just need a library. + * Added debian/patches/dyson.patch + + -- Igor Pashev <pashev.igor@gmail.com> Sun, 08 Oct 2017 20:55:03 +0300 + postgresql-10 (10.0-1) unstable; urgency=medium * First PostgreSQL 10 stable release. diff --git a/debian/patches/dyson.patch b/debian/patches/dyson.patch new file mode 100644 index 0000000..5cc1f13 --- /dev/null +++ b/debian/patches/dyson.patch @@ -0,0 +1,98 @@ +Description: <short summary of the patch> + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + postgresql-10 (10.0-1+dyson0.1) unstable; urgency=medium + . + * Package for Dyson + * No SMF service yet. Just need a library. + * Added debian/patches/dyson.patch +Author: Igor Pashev <pashev.igor@gmail.com> + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: https://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +Index: postgresql-10-10.0/src/makefiles/Makefile.solaris +=================================================================== +--- postgresql-10-10.0.orig/src/makefiles/Makefile.solaris ++++ postgresql-10-10.0/src/makefiles/Makefile.solaris +@@ -2,26 +2,16 @@ + + AROPT = crs + +-ifeq ($(with_gnu_ld), yes) + export_dynamic = -Wl,-E +-rpath = -Wl,-rpath,'$(rpathdir)' +-else +-rpath = -Wl,-R'$(rpathdir)' +-endif ++# Use --enable-new-dtags to generate DT_RUNPATH instead of DT_RPATH. ++# This allows LD_LIBRARY_PATH to still work when needed. ++rpath = -Wl,-rpath,'$(rpathdir)',--enable-new-dtags + + DLSUFFIX = .so +-ifeq ($(GCC), yes) ++ + CFLAGS_SL = -fPIC +-else +-CFLAGS_SL = -KPIC +-endif ++ + + # Rule for building a shared library from a single .o file + %.so: %.o +-ifeq ($(GCC), yes) + $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $< +-else +- $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -G -o $@ $< +-endif +- +-sqlmansect = 5sql +Index: postgresql-10-10.0/src/Makefile.shlib +=================================================================== +--- postgresql-10-10.0.orig/src/Makefile.shlib ++++ postgresql-10-10.0/src/Makefile.shlib +@@ -209,7 +209,7 @@ ifeq ($(PORTNAME), hpux) + endif + endif + +-ifeq ($(PORTNAME), linux) ++ifneq (,$(filter $(PORTNAME),linux solaris)) + LINK.shared = $(COMPILER) -shared + ifdef soname + LINK.shared += -Wl,-soname,$(soname) +@@ -221,21 +221,6 @@ ifeq ($(PORTNAME), linux) + endif + endif + +-ifeq ($(PORTNAME), solaris) +- ifeq ($(GCC), yes) +- LINK.shared = $(COMPILER) -shared +- else +- LINK.shared = $(COMPILER) -G +- endif +- ifdef soname +- ifeq ($(with_gnu_ld), yes) +- LINK.shared += -Wl,-soname,$(soname) +- else +- LINK.shared += -h $(soname) +- endif +- endif +-endif +- + ifeq ($(PORTNAME), cygwin) + LINK.shared = $(CC) -shared + ifdef SO_MAJOR_VERSION diff --git a/debian/patches/series b/debian/patches/series index 37fa915..a0ed135 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 64-pg_upgrade-sockdir 70-history filter-debug-prefix-map +dyson.patch |