Skip to contentSkip to conversation

trinity: bump to version 1.7

PATCH New Baruch Siach 2 participants 2 messages Apr 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trinity: bump to version 1.7

Use upstream provided tarball.

Drop upstream patch.

Cc Vicente Olivert Riera <[email protected]>

---
This patch contextually depends on http://patchwork.ozlabs.org/patch/750275/.

The CodeSourcery ARM toolchain fails on build with conflicting glibc/kernel in6_* definitions. This issue also affects the current 1.6 version with the following config:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_TRINITY=y

For some reason the autobuilder stopped showing this issue last August. The last such build failure is at

http://autobuild.buildroot.net/results/0e1/0e1707dda4474437160df5d8c290362ba7287be5/

---
 package/trinity/0001-mips-fix-prctl-s.patch | 39 -----------------------------
 package/trinity/trinity.hash                |  2 +-
 package/trinity/trinity.mk                  |  7 +++---
 3 files changed, 5 insertions(+), 43 deletions(-)
 delete mode 100644 package/trinity/0001-mips-fix-prctl-s.patch
package/trinity/0001-mips-fix-prctl-s.patch deleted +0 -39
deleted file mode 100644
index aacd8d5bf658..000000000000
@@ -1,39 +0,0 @@
-From d61dd102b95b9791e45d6bbf1e34814b8c6c1731 Mon Sep 17 00:00:00 2001
-From: Vicente Olivert Riera <[email protected]>
-Date: Mon, 14 Dec 2015 14:46:37 +0000
-Subject: [PATCH] mips: fix prctl's
-
-It looks like a typo in the syscalls/prctl.c file. It's lacking the PR_
-preffix, and due to that is causing build failures like this one:
-
-  CC	syscalls/prctl.o
-syscalls/prctl.c:37:2: error: 'GET_FP_MODE' undeclared here (not in a
-function)
-  GET_FP_MODE, SET_FP_MODE,
-  ^
-syscalls/prctl.c:37:15: error: 'SET_FP_MODE' undeclared here (not
-in a function)
-  GET_FP_MODE, SET_FP_MODE,
-               ^
-
-Signed-off-by: Vicente Olivert Riera <[email protected]>
----
- syscalls/prctl.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/syscalls/prctl.c b/syscalls/prctl.c
-index 523f03e..5a64fb3 100644
---- a/syscalls/prctl.c
-+++ b/syscalls/prctl.c
-@@ -34,7 +34,7 @@ static int prctl_opts[] = {
- 	PR_GET_NO_NEW_PRIVS, PR_GET_TID_ADDRESS, PR_SET_THP_DISABLE, PR_GET_THP_DISABLE,
- 	PR_MPX_ENABLE_MANAGEMENT, PR_MPX_DISABLE_MANAGEMENT,
- #ifdef __mips__
--	GET_FP_MODE, SET_FP_MODE,
-+	PR_GET_FP_MODE, PR_SET_FP_MODE,
- #endif
- 	PR_CAP_AMBIENT,
- };
--- 
-2.4.10
-
package/trinity/trinity.hash +1 -1
index 5bf9992dca84..8d88301497e6 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 3ef7ae05dba14f8bb626121983a08bb09d1d51a19de38bd9a8e0f29b11d9e3c9  trinity-v1.6.tar.gz
+sha256 4cb2bd4049ce523fdf47490c4c18b8eb713c720d4b3b13d6ec2ae246aac908ad  trinity-1.7.tar.xz
 sha256 5601474b10973b99f6f4ecc67c8ac54000754d7110553cc81c7648bd7e73c810  b0e66a2d084ffc210bc1fc247efb4d177e9f7e3d.patch
package/trinity/trinity.mk +4 -3
index c9f09b1e019e..3880aec677ba 100644
@@ -4,15 +4,16 @@
 #
 ################################################################################
 
-TRINITY_VERSION = v1.6
-TRINITY_SITE = $(call github,kernelslacker,trinity,$(TRINITY_VERSION))
+TRINITY_VERSION = 1.7
+TRINITY_SITE = http://codemonkey.org.uk/projects/trinity
+TRINITY_SOURCE = trinity-$(TRINITY_VERSION).tar.xz
 TRINITY_LICENSE = GPL-2.0
 TRINITY_LICENSE_FILES = COPYING
 
 TRINITY_PATCH = https://github.com/kernelslacker/trinity/commit/b0e66a2d084ffc210bc1fc247efb4d177e9f7e3d.patch
 
 define TRINITY_CONFIGURE_CMDS
-	(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure.sh)
+	(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure)
 endef
 
 define TRINITY_BUILD_CMDS
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 trinity: bump to version 1.7

Hello,

Quoted 8 lines · Baruch Siach

Use upstream provided tarball.

Drop upstream patch.

Cc Vicente Olivert Riera <[email protected]>

---
This patch contextually depends on http://patchwork.ozlabs.org/patch/750275/.

Applied to master, thanks.

Thomas

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