All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] trinity: bump version to v1.5
@ 2015-03-19  9:27 Vicente Olivert Riera
  2015-03-19  9:27 ` [Buildroot] [PATCH 2/2] trinity: fix building with uClibc Vicente Olivert Riera
  2015-03-19 12:38 ` [Buildroot] [PATCH 1/2] trinity: bump version to v1.5 Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2015-03-19  9:27 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 package/trinity/trinity.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/trinity/trinity.mk b/package/trinity/trinity.mk
index 5f8a707..ecd82f8 100644
--- a/package/trinity/trinity.mk
+++ b/package/trinity/trinity.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TRINITY_VERSION = c8c41f99500b5854c2061a08962b8908c872d852
+TRINITY_VERSION = v1.5
 TRINITY_SITE = $(call github,kernelslacker,trinity,$(TRINITY_VERSION))
 TRINITY_LICENSE = GPLv2
 TRINITY_LICENSE_FILES = COPYING
-- 
1.7.1

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

* [Buildroot] [PATCH 2/2] trinity: fix building with uClibc
  2015-03-19  9:27 [Buildroot] [PATCH 1/2] trinity: bump version to v1.5 Vicente Olivert Riera
@ 2015-03-19  9:27 ` Vicente Olivert Riera
  2015-03-19 12:38 ` [Buildroot] [PATCH 1/2] trinity: bump version to v1.5 Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2015-03-19  9:27 UTC (permalink / raw)
  To: buildroot

"#include <linux/serial.h>" is needed in order to build trinity
successfully with uClibc. Otherwise it would fail displaying an error
message like this one:

-----------------------------------------
ioctls/vt.c:152:8: error: invalid application of 'sizeof' to incomplete
type 'struct serial_rs485'
  IOCTL(TIOCGRS485),

ioctls/vt.c:155:8: error: invalid application of 'sizeof' to incomplete
type 'struct serial_rs485'
  IOCTL(TIOCSRS485),
-----------------------------------------

Backporting an upstream patch to fix this problem.

Upstream commit:

  https://github.com/kernelslacker/trinity/commit/fb4a1adc4540f0702b84aa900f2b8ebed004885d

Fixes:

  http://autobuild.buildroot.net/results/ca1/ca18c7d19ac2870d6b973923c8225509a12f831a/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 ...ssing-include-to-fix-building-with-uClibc.patch |   47 ++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 package/trinity/0001-vt.c-add-missing-include-to-fix-building-with-uClibc.patch

diff --git a/package/trinity/0001-vt.c-add-missing-include-to-fix-building-with-uClibc.patch b/package/trinity/0001-vt.c-add-missing-include-to-fix-building-with-uClibc.patch
new file mode 100644
index 0000000..e1d23cd
--- /dev/null
+++ b/package/trinity/0001-vt.c-add-missing-include-to-fix-building-with-uClibc.patch
@@ -0,0 +1,47 @@
+vt.c: add missing include to fix building with uClibc
+
+Backporting an upstream patch to fix a building issue with uClibc.
+
+Upstream commit:
+
+  https://github.com/kernelslacker/trinity/commit/fb4a1adc4540f0702b84aa900f2b8ebed004885d
+
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+From fb4a1adc4540f0702b84aa900f2b8ebed004885d Mon Sep 17 00:00:00 2001
+From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+Date: Wed, 18 Mar 2015 09:58:46 +0000
+Subject: [PATCH] vt.c: add missing include to fix building with uClibc
+
+"#include <linux/serial.h>" is needed in order to build trinity
+successfully with uClibc. Otherwise it would fail displaying an error
+message like this one:
+
+ioctls/vt.c:152:8: error: invalid application of 'sizeof' to incomplete
+type 'struct serial_rs485'
+  IOCTL(TIOCGRS485),
+
+ioctls/vt.c:155:8: error: invalid application of 'sizeof' to incomplete
+type 'struct serial_rs485'
+  IOCTL(TIOCSRS485),
+
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+---
+ ioctls/vt.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/ioctls/vt.c b/ioctls/vt.c
+index 5e7e7d7..a4a7e0c 100644
+--- a/ioctls/vt.c
++++ b/ioctls/vt.c
+@@ -1,6 +1,7 @@
+ #include <sys/vt.h>
+ #include <sys/ioctl.h>
+ #include <linux/kd.h>
++#include <linux/serial.h>
+ 
+ #include "utils.h"
+ #include "ioctls.h"
+-- 
+1.7.1
+
-- 
1.7.1

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

* [Buildroot] [PATCH 1/2] trinity: bump version to v1.5
  2015-03-19  9:27 [Buildroot] [PATCH 1/2] trinity: bump version to v1.5 Vicente Olivert Riera
  2015-03-19  9:27 ` [Buildroot] [PATCH 2/2] trinity: fix building with uClibc Vicente Olivert Riera
@ 2015-03-19 12:38 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-03-19 12:38 UTC (permalink / raw)
  To: buildroot

Dear Vicente Olivert Riera,

On Thu, 19 Mar 2015 09:27:36 +0000, Vicente Olivert Riera wrote:
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>  package/trinity/trinity.mk |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Both patches applied, 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-03-19 12:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19  9:27 [Buildroot] [PATCH 1/2] trinity: bump version to v1.5 Vicente Olivert Riera
2015-03-19  9:27 ` [Buildroot] [PATCH 2/2] trinity: fix building with uClibc Vicente Olivert Riera
2015-03-19 12:38 ` [Buildroot] [PATCH 1/2] trinity: bump version to v1.5 Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.