[Buildroot] [PATCH] 4th: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jun 12 19:33:37 UTC 2016


Hello,

On Wed, 20 Apr 2016 19:55:58 +0200, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
>  package/4th/0001-fix-Makefile.patch | 27 ++++++++++++++++
>  package/4th/4th.hash                |  2 ++
>  package/4th/4th.mk                  | 64 +++++++++++++++++++++++++++++++++++++
>  package/4th/Config.in               |  8 +++++
>  package/Config.in                   |  1 +
>  5 files changed, 102 insertions(+)
>  create mode 100644 package/4th/0001-fix-Makefile.patch
>  create mode 100644 package/4th/4th.hash
>  create mode 100644 package/4th/4th.mk
>  create mode 100644 package/4th/Config.in

I was about to apply your patch, with some minimal changes (see
http://code.bulix.org/i2s65n-101064), but there is one fundamental
license issue here.

The COPYING file, as well as documentation/license.txt contain the
license text of the LGPLv3. But the source code (sources/*.c) all claim
to be licensed under the GPLv3. Only the .4th files are under LGPLv3.

This is clearly not good. Could you talk with upstream to get this
situation resolved?

Also, another comment below.

> diff --git a/package/4th/0001-fix-Makefile.patch b/package/4th/0001-fix-Makefile.patch
> new file mode 100644
> index 0000000..4acc6d3
> --- /dev/null
> +++ b/package/4th/0001-fix-Makefile.patch
> @@ -0,0 +1,27 @@
> +fix Makefile

This is not a proper description. Say what you're fixing, and why.

> +
> +Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> +
> +diff --git a/sources/Makefile b/sources/Makefile
> +index e1b97a5..3a50d0f 100644
> +--- a/sources/Makefile
> ++++ b/sources/Makefile
> +@@ -32,7 +32,6 @@ OBJ4TH = errs_4th.o save_4th.o load_4th.o free_4th.o comp_4th.o \
> + 	name_4th.o dump_4th.o exec_4th.o open_4th.o cgen_4th.o \
> + 	str2cell.o
> + 
> +-.INTERMEDIATE: stage stage.c
> + 
> + all: 4th 4tsh pp4th lib4th
> + 
> +@@ -120,7 +119,7 @@ ifdef SHARED
> + 	ln -sf $(SHARED_LIB) $(LIBRARIES)/lib4th.so
> + endif
> + 
> +-mostlyinstall: libinstall all
> ++mostlyinstall: libinstall
> + 	cp 4th 4tsh pp4th $(BINARIES)
> + 
> + install: mostlyinstall

You're fixing two completely different things here, so two patches are
needed.

Thanks!

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


More information about the buildroot mailing list