[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: perror: fix license problems
From: |
Simon Josefsson |
Subject: |
Re: perror: fix license problems |
Date: |
Sun, 26 Oct 2008 09:49:27 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> Any objection to this?
The patch is not needed now that intprops is now LGPLv2+. The comment
would need to be adjusted, though, if you still want to push the patch.
/Simon
> From 2fea9d6efde41eea3af51b45d27b31ed9f376b52 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <address@hidden>
> Date: Fri, 24 Oct 2008 18:02:13 +0200
> Subject: [PATCH] strerror: don't depend on GPL'd intprops
>
> * modules/strerror (Depends-on): Remove intprops.
> * lib/strerror.c: Don't include "intprops.h".
> Instead, define INT_STRLEN_BOUND to 20.
> ---
> lib/strerror.c | 3 +++
> modules/strerror | 1 -
> 2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/lib/strerror.c b/lib/strerror.c
> index 787575f..1f5e691 100644
> --- a/lib/strerror.c
> +++ b/lib/strerror.c
> @@ -30,7 +30,10 @@
> # endif
> # endif
>
> +/* commented out due to LGPLv2+ vs. GPL copyright incompatibility
> # include "intprops.h"
> + */
> +# define INT_STRLEN_BOUND(x) 20
>
> # undef strerror
> # if ! HAVE_DECL_STRERROR
> diff --git a/modules/strerror b/modules/strerror
> index b662401..2fa5d88 100644
> --- a/modules/strerror
> +++ b/modules/strerror
> @@ -7,7 +7,6 @@ m4/strerror.m4
>
> Depends-on:
> errno
> -intprops
> string
>
> configure.ac:
> --
> 1.6.0.3.517.g759a