Skip to contentSkip to conversation

joe: update to 4.6

PATCH New Max Krummenacher 1 participant 1 message Jul 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 joe: update to 4.6

The licence changed to GPLv2.
The fix from 0001-adjust-signature-of-main.patch is applied upstream.

joe 3.1 segfaults on aarch64, the update fixes this.

---
 .../joe/joe/0001-adjust-signature-of-main.patch    | 30 ----------------------
 .../recipes-support/joe/{joe_3.1.bb => joe_4.6.bb} | 14 +++++-----
 2 files changed, 6 insertions(+), 38 deletions(-)
 delete mode 100644 meta-oe/recipes-support/joe/joe/0001-adjust-signature-of-main.patch
 rename meta-oe/recipes-support/joe/{joe_3.1.bb => joe_4.6.bb} (41%)
meta-oe/recipes-support/joe/joe/0001-adjust-signature-of-main.patch deleted +0 -30
deleted file mode 100644
index 00f48e8a2..000000000
@@ -1,30 +0,0 @@
-From 27e4639254f2b2eb7d04790bd8cf16ecfcbac1c2 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Wed, 19 Oct 2016 01:07:16 +0000
-Subject: [PATCH] adjust signature of main()
-
-clang complains about the types of main() function
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <[email protected]>
----
- main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/main.c b/main.c
-index 81ba543..ee7506c 100644
---- a/main.c
-+++ b/main.c
-@@ -159,7 +159,7 @@ extern int breakflg;
- 
- unsigned char **mainenv;
- 
--int main(int argc, unsigned char **argv, unsigned char **envv)
-+int main(int argc, char **argv, char **envv)
- {
- 	CAP *cap;
- 	unsigned char *s;
--- 
-1.9.1
-
meta-oe/recipes-support/joe/joe_4.6.bb renamed from meta-oe/recipes-support/joe/joe_3.1.bb +6 -8
similarity index 41%
rename from meta-oe/recipes-support/joe/joe_3.1.bb
rename to meta-oe/recipes-support/joe/joe_4.6.bb
index 1ad355b5a..b79e028f3 100644
@@ -1,17 +1,15 @@
 SECTION = "console/utils"
 SUMMARY = "Console text editor with good functionality, good choice for vi-haters"
 HOMEPAGE = "http://joe-editor.sourceforge.net/"
-LICENSE = "GPLv1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=da10ed7cf8038981c580e11c1d3e8fb6"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/joe-editor/joe-${PV}.tar.gz \
-           file://0001-adjust-signature-of-main.patch \
-           "
+SRC_URI = "${SOURCEFORGE_MIRROR}/joe-editor/joe-${PV}.tar.gz"
 
 PACKAGECONFIG ??= "curses"
 PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses,ncurses-terminfo"
 
-inherit autotools
+inherit autotools-brokensep
 
-SRC_URI[md5sum] = "2a6ef018870fca9b7df85401994fb0e0"
-SRC_URI[sha256sum] = "252390e4bc687957f09f334095904c8cc53b39c7b663ed47861ae1d11aef5946"
+SRC_URI[md5sum] = "9017484e6116830d846678b625ea5c43"
+SRC_URI[sha256sum] = "495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de"
Signature · 1 line
2.13.6