Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/yajl: add hash
@ 2015-11-21 19:22 Jörg Krause
  2015-11-21 19:22 ` [Buildroot] [PATCH 2/2] package/yajl: add patch to fix static build issue Jörg Krause
  2015-11-22 12:38 ` [Buildroot] [PATCH 1/2] package/yajl: add hash Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Jörg Krause @ 2015-11-21 19:22 UTC (permalink / raw)
  To: buildroot

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 package/yajl/yajl.hash | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 package/yajl/yajl.hash

diff --git a/package/yajl/yajl.hash b/package/yajl/yajl.hash
new file mode 100644
index 0000000..6e025a2
--- /dev/null
+++ b/package/yajl/yajl.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	0e78f516dc53ecce7dc073f9a9bb0343186b58ef29dcd1dad74e5e853b216dd5  yajl-2.0.4.tar.gz
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] package/yajl: add patch to fix static build issue
  2015-11-21 19:22 [Buildroot] [PATCH 1/2] package/yajl: add hash Jörg Krause
@ 2015-11-21 19:22 ` Jörg Krause
  2015-11-22 12:38 ` [Buildroot] [PATCH 1/2] package/yajl: add hash Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Jörg Krause @ 2015-11-21 19:22 UTC (permalink / raw)
  To: buildroot

mpd's plugin soundcloud requires yajl. In static build context yajl library is
named yajl_s so linking against yajl fails:
  /bin/ld: cannot find -lyajl

Use a pull request patch [1] to let the shared and the static library
have the same name. They will be differentiated by the extension (.so or .a).

Fixes:
http://autobuild.buildroot.net/results/5ac/5acba9b0ed852512fc88e83973a3b5389e6d54be/
http://autobuild.buildroot.net/results/739/73934ad67efa121fedeaa03fdad290aa63f1485e/

[1] https://github.com/lloyd/yajl/pull/174

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 package/yajl/yajl.hash | 1 +
 package/yajl/yajl.mk   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/package/yajl/yajl.hash b/package/yajl/yajl.hash
index 6e025a2..315d847 100644
--- a/package/yajl/yajl.hash
+++ b/package/yajl/yajl.hash
@@ -1,2 +1,3 @@
 # Locally calculated
 sha256	0e78f516dc53ecce7dc073f9a9bb0343186b58ef29dcd1dad74e5e853b216dd5  yajl-2.0.4.tar.gz
+sha256	0f075b5f9a38bc02077370d4d57d12e615cfaaf7f634e3f2fc746b6582854e53  6d09f11b8fd358cab0e31b965327e64a599f9ce9.patch
diff --git a/package/yajl/yajl.mk b/package/yajl/yajl.mk
index ff64123..81f29e7 100644
--- a/package/yajl/yajl.mk
+++ b/package/yajl/yajl.mk
@@ -9,5 +9,6 @@ YAJL_SITE = $(call github,lloyd,yajl,$(YAJL_VERSION))
 YAJL_INSTALL_STAGING = YES
 YAJL_LICENSE = ISC
 YAJL_LICENSE_FILES = COPYING
+YAJL_PATCH = https://github.com/vriera/yajl/commit/6d09f11b8fd358cab0e31b965327e64a599f9ce9.patch
 
 $(eval $(cmake-package))
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/2] package/yajl: add hash
  2015-11-21 19:22 [Buildroot] [PATCH 1/2] package/yajl: add hash Jörg Krause
  2015-11-21 19:22 ` [Buildroot] [PATCH 2/2] package/yajl: add patch to fix static build issue Jörg Krause
@ 2015-11-22 12:38 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-11-22 12:38 UTC (permalink / raw)
  To: buildroot

Dear J?rg Krause,

On Sat, 21 Nov 2015 20:22:05 +0100, J?rg Krause wrote:
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
>  package/yajl/yajl.hash | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 package/yajl/yajl.hash

Both applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-22 12:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-21 19:22 [Buildroot] [PATCH 1/2] package/yajl: add hash Jörg Krause
2015-11-21 19:22 ` [Buildroot] [PATCH 2/2] package/yajl: add patch to fix static build issue Jörg Krause
2015-11-22 12:38 ` [Buildroot] [PATCH 1/2] package/yajl: add hash Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox