From 891634b28e7a4cd9be89b0940896e5a9d59c3e8e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 14 Nov 2016 18:05:26 +0000 Subject: Fix compile on 32bit --- dev-db/bdr/Manifest | 3 ++- dev-db/bdr/bdr-1.0.2.ebuild | 1 + dev-db/bdr/files/32bit.patch | 13 +++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 dev-db/bdr/files/32bit.patch (limited to 'dev-db') diff --git a/dev-db/bdr/Manifest b/dev-db/bdr/Manifest index cf4713f..f190293 100644 --- a/dev-db/bdr/Manifest +++ b/dev-db/bdr/Manifest @@ -1,4 +1,5 @@ +AUX 32bit.patch 430 SHA256 cdd027a7554e15781b23caaa6acb05e50b2853a2e6f8d1e46a40fb9105e720af SHA512 cb54fc66e5d4ad8396849b35a02c0bac9fb120ba4dd18fc2483f9b9a52bca21812c4561572b39bf2e3f8f175bbb256a540e89322cb2a333a41b4368b2321d7ec WHIRLPOOL 9362755302d1eb976a3cf6ae281cb5684bcd708db8343418409275fbce3e5ad1837ae72f98930deac2e86c54d94937e81cc85d40e1ea0540d7328c3eab93e541 AUX postgresql-9.6.patch.xz 268264 SHA256 7c2ece93da2f073bb94d3d72a122678c1f3389aa7eb9329091f5206bd17ad526 SHA512 97746e4e0ada9c7a6887a349ef4ddfd23eeadd0237d7c0036f32e75a349a3ad7a2b7e4f41bb518222fc33a8fd6bbe43210dd0007fa38f59e9031e34bf1f59de0 WHIRLPOOL 79753cfcdca475812562de96693603c4231ca7ffb3755ec7d0e1cd0ee70aeae229a981d1d5dad87e80285b29f2c939171e616793a9cada8e0f841eb098cd0b72 DIST bdr-1.0.2.tar.gz 582539 SHA256 206a087ba037ecb369aa73ff2910efc0ad0a291385415e2b6efdf0eead5cd3e4 SHA512 e132cffa822d0513022a3ede3eba358ab293b0cb211bfc32d1b4446178dea4f25e630b48c941305d3ead0687d84149546b749a4fdcd4cadd16cc41751250d8f2 WHIRLPOOL 590f407599165ef5276fcac8c95767044e11b29e248525426df3e3ba1ff2f7dca987e5b4eb3f7686a6826797b3680fa0e45cc12c2a44f480ba43dc80102cc90a DIST postgresql-9.6.1.tar.bz2 19260568 SHA256 e5101e0a49141fc12a7018c6dad594694d3a3325f5ab71e93e0e51bd94e51fcd SHA512 f27af67f9a96f6327150330bf091a803e10eabbac4e488cf5e4d72907e2eb1dbde7282fe0b89fd75711fd8bdcdb3688b5a9eac1e4d6871f4e8681c9c8b0e7c45 WHIRLPOOL 1ea7933817895ec4ddd531b60eead2c0c3324b90fe48224bd49748d11e76313bb7699670edaf5c8f41b8424026bed59d29aab69208c5ced5161196a4827c78f8 -EBUILD bdr-1.0.2.ebuild 910 SHA256 adfd9a65418ac297263853c4fecbb57c7584feafc6b8665641fe82cc74b47ca6 SHA512 d8112d1f05846c713a9ce68d33714cb472099e63f7310a859fbc6d04058d1eb8f68d25514839286d272316b93b79b8a851410927102e2546a72a922e492bd839 WHIRLPOOL 49d2966e1737cf53fc2a95c061bfe55f90658580c6e48309468fce732d4f0fd482bfa0087989a5447baab3a0b8b180e9e4224e9f14f8f87f263e85199fd8426f +EBUILD bdr-1.0.2.ebuild 942 SHA256 871d7cf203871b9ae5a198f13928eb02712c18a8a1c6d8eb18b3ea29ca9992b3 SHA512 f3eccce201766bb16b769c84cd6b940b30f6b42e3ca263736ec296a03db0e2c98826af4981a5a913aaeed3ca29d1715cc517d902bc3771786b89f1c9235a54fe WHIRLPOOL 05a9bd9a1ed1bc0bc076a115528a9e01eb794b8f29c2f913717aab7fe6ef02c5adec988b3caea4c418c383e274b3057fead01220a3bef985543595d31f2e0a4d diff --git a/dev-db/bdr/bdr-1.0.2.ebuild b/dev-db/bdr/bdr-1.0.2.ebuild index 4eb17bb..e9d70c6 100644 --- a/dev-db/bdr/bdr-1.0.2.ebuild +++ b/dev-db/bdr/bdr-1.0.2.ebuild @@ -27,6 +27,7 @@ S=${bdrS} src_prepare() { cd ${bdrS} epatch ${FILESDIR}/postgresql-9.6.patch.xz + epatch ${FILESDIR}/32bit.patch } src_configure() { diff --git a/dev-db/bdr/files/32bit.patch b/dev-db/bdr/files/32bit.patch new file mode 100644 index 0000000..d8c34a2 --- /dev/null +++ b/dev-db/bdr/files/32bit.patch @@ -0,0 +1,13 @@ +diff --git a/bdr_init_copy.c b/bdr_init_copy.c +index 3ab0bce..3e6c8c4 100644 +--- a/bdr_init_copy.c ++++ b/bdr_init_copy.c +@@ -1728,7 +1728,7 @@ wait_postmaster_connection(const char *connstr) + } + else + { +- print_msg(VERBOSITY_VERBOSE, _("\npostmaster started (pid="INT64_FORMAT"), waiting for connection"), pmpid); ++ print_msg(VERBOSITY_VERBOSE, _("\npostmaster started (pid=%ld), waiting for connection"), pmpid); + } + + /* -- cgit v1.2.3