Skip to contentSkip to conversation

package/libpqxx: fix broken sed call

PATCH New Romain Naour 2 participants 6 messages Dec 26, 2017 – Dec 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libpqxx: fix broken sed call

Backport 2 upstream fix.

Fixes:
http://autobuild.buildroot.net/results/0d1/0d131f9fa5cce259d999f7d57f9092675bfc24c7

---
 ...01-Fix-broken-sed-call-in-configure.ac.in.patch | 31 ++++++++++++++++++++++
 package/libpqxx/libpqxx.mk                         |  3 +++
 2 files changed, 34 insertions(+)
 create mode 100644 package/libpqxx/0001-Fix-broken-sed-call-in-configure.ac.in.patch
package/libpqxx/0001-Fix-broken-sed-call-in-configure.ac.in.patch new file +31 -0
new file mode 100644
index 0000000000..672133a506
@@ -0,0 +1,31 @@
+From d5120738a9b6b90d19e742f3c591727d16d76c9c Mon Sep 17 00:00:00 2001
+From: Romain Naour <[email protected]>
+Date: Tue, 26 Dec 2017 14:09:46 +0100
+Subject: [PATCH] Fix broken sed call in configure.ac.in
+
+Upstream fix from commit [1][2]
+
+[1] 80a9d5386641ac67d4ea1b602c786b45b40b252f
+[2] 85e9336740475be25ed19924cca0961f7d844c4b
+
+Signed-off-by: Romain Naour <[email protected]>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 32cf5cb5..77cf7edd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -480,7 +480,7 @@ occurring in the file.
+ ])], -L${with_postgres_lib})
+ 
+ # Remove redundant occurrances of -lpq
+-LIBS="`echo "$LIBS" | sed -e 's/-lpq[[:space:]]*[[:space:]]-lpq\>/-lpq/g'`"
++LIBS=[`echo "$LIBS" | sed -e 's/-lpq * -lpq\>/-lpq/g'`]
+ 
+ AC_LANG_POP(C)
+ 
+-- 
+2.14.3
+
package/libpqxx/libpqxx.mk +3 -0
index ec6a3bce68..6a8c37a7cc 100644
@@ -11,6 +11,9 @@ LIBPQXX_DEPENDENCIES = postgresql
 LIBPQXX_LICENSE = BSD-3-Clause
 LIBPQXX_LICENSE_FILES = COPYING
 
+# 0001-Fix-broken-sed-call-in-configure.ac.in.patch
+LIBPQXX_AUTORECONF = YES
+
 LIBPQXX_CONF_ENV += ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config
 
 $(eval $(autotools-package))
Signature · 1 line
2.14.3
#1 lore raw

PATCH 1/1 package/libpqxx: fix broken sed call

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Backport 2 upstream fix.

2? I only see 1 patch. Did you forget to git add a file?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 package/libpqxx: fix broken sed call

Le 26/12/2017 ? 17:38, Peter Korsgaard a ?crit?:

Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Backport 2 upstream fix.

2? I only see 1 patch. Did you forget to git add a file?

There are squashed together inside the same patch file:

"Upstream fix from commit [1][2]

[1] 80a9d5386641ac67d4ea1b602c786b45b40b252f
[2] 85e9336740475be25ed19924cca0961f7d844c4b"

I haven't used git cherry-pick here since the upstream patch contains other stuff :-/

Best regards,
Romain

#3 lore raw

PATCH 1/1 package/libpqxx: fix broken sed call

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Le 26/12/2017 ? 17:38, Peter Korsgaard a ?crit?:

Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Backport 2 upstream fix.

2? I only see 1 patch. Did you forget to git add a file?

There are squashed together inside the same patch file:

Quoted 7 lines

"Upstream fix from commit [1][2]

[1] 80a9d5386641ac67d4ea1b602c786b45b40b252f
[2] 85e9336740475be25ed19924cca0961f7d844c4b"

I haven't used git cherry-pick here since the upstream patch contains other stuff :-/

Ahh, ok - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard