Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] gnutls: add crywrap clock_gettime patch
@ 2013-12-26 16:13 Gustavo Zacarias
  2013-12-26 17:45 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2013-12-26 16:13 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/1bd/1bd67b616e996d684dd584576569517f4653addd/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/gnutls/gnutls-01-gettime.patch | 25 +++++++++++++++++++++++++
 package/gnutls/gnutls.mk               |  2 ++
 2 files changed, 27 insertions(+)
 create mode 100644 package/gnutls/gnutls-01-gettime.patch

diff --git a/package/gnutls/gnutls-01-gettime.patch b/package/gnutls/gnutls-01-gettime.patch
new file mode 100644
index 0000000..e230199
--- /dev/null
+++ b/package/gnutls/gnutls-01-gettime.patch
@@ -0,0 +1,25 @@
+From b9dee5a0afec0f78343863048d6564021416e65a Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Thu, 26 Dec 2013 13:09:34 -0300
+Subject: [PATCH] Add LIB_CLOCK_GETTIME to crywrap
+
+It's used indirectly thus causing build breakage on versions of glibc
+where it's defined in librt rather than libc directly.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ src/crywrap/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/crywrap/Makefile.am b/src/crywrap/Makefile.am
+index ca41259..d86ca55 100644
+--- a/src/crywrap/Makefile.am
++++ b/src/crywrap/Makefile.am
+@@ -29,3 +29,4 @@ bin_PROGRAMS = crywrap
+ 
+ crywrap_SOURCES = crywrap.c primes.h crywrap.h
+ crywrap_LDADD = ../../lib/libgnutls.la $(LIBIDN_LIBS) #../../gl/libgnu.la 
++crywrap_LDADD += $(LIB_CLOCK_GETTIME)
+-- 
+1.8.3.2
+
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 9ad673e..1d49757 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -8,6 +8,8 @@ GNUTLS_VERSION_MAJOR = 3.2
 GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).8
 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz
 GNUTLS_SITE = ftp://ftp.gnutls.org/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR)
+# gettime patch
+GNUTLS_AUTORECONF = YES
 GNUTLS_LICENSE = GPLv3+ LGPLv2.1+
 GNUTLS_LICENSE_FILES = COPYING COPYING.LESSER
 GNUTLS_DEPENDENCIES = host-pkgconf nettle pcre \
-- 
1.8.3.2

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

* [Buildroot] [PATCH] gnutls: add crywrap clock_gettime patch
  2013-12-26 16:13 [Buildroot] [PATCH] gnutls: add crywrap clock_gettime patch Gustavo Zacarias
@ 2013-12-26 17:45 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-12-26 17:45 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Thu, 26 Dec 2013 13:13:56 -0300, Gustavo Zacarias wrote:
> Fixes:
> http://autobuild.buildroot.net/results/1bd/1bd67b616e996d684dd584576569517f4653addd/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/gnutls/gnutls-01-gettime.patch | 25 +++++++++++++++++++++++++
>  package/gnutls/gnutls.mk               |  2 ++
>  2 files changed, 27 insertions(+)
>  create mode 100644 package/gnutls/gnutls-01-gettime.patch

Applied, thanks.

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

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

end of thread, other threads:[~2013-12-26 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-26 16:13 [Buildroot] [PATCH] gnutls: add crywrap clock_gettime patch Gustavo Zacarias
2013-12-26 17:45 ` Thomas Petazzoni

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