Package: bible-kjv
Version: 4.30
Severity: important

bible-kjv package claims to be GPLv2 licensed. One file has an "or later" clause but some files seem to GPLv2-only. However, with the switch to readline6 (#553733), it uses a GPLv3 library. GPLv3 and GPLv2-only are known to be incompatible licenses, so please build with libedit instead. A patch is enclosed.
From: Bastian Germann <bastiangerm...@fishpost.de>
Date: Thu, 17 Dec 2020 23:37:12 +0100
Subject: Replace readline with libedit
---
diff a/Makefile b/Makefile
index 3b998b8..9f92ef4 100644
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,7 @@ DESTMAN1      = $(DESTMAN)/man1
 #CFLAGS	      = -g
 CFLAGS	      = -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -ggdb -DDESTLIB=\"$(DESTLIB)\"
 LDFLAGS       = 
-LDADD         = -lreadline
+LDADD         = -ledit
 
 # release directories.  Nobody should care about this but me
 FTPHOME	      = /mnt/ftp
diff a/bible.c b/bible.c
index c399bb1..5aa7344 100644
--- a/bible.c
+++ b/bible.c
@@ -167,8 +167,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <readline/readline.h>
-#include <readline/history.h>
+#include <editline/readline.h>
+#include <editline/history.h>
 #include "tsl.h"
 #include "brl.h"
 #include "version.h"
diff a/debian/control b/debian/control
index 37f731b..852e96f 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: bible-kjv
 Section: doc
 Priority: optional
 Maintainer: Matthew Vernon <matt...@debian.org>
-Build-Depends: libreadline-dev
+Build-Depends: libedit-dev
 Standards-Version: 3.5.6
 
 Package: bible-kjv

Reply via email to