Patchwork [1/2] libosip2: disable multi-thread support for toolchains without threads

login
register
mail settings
Submitter gilles.talis@gmail.com
Date May 15, 2013, 9:47 p.m.
Message ID <1368654452-16294-1-git-send-email-gilles.talis@gmail.com>
Download mbox | patch
Permalink /patch/244182/
State Accepted
Headers show

Comments

gilles.talis@gmail.com - May 15, 2013, 9:47 p.m.
Also added license information

Fixes:
http://autobuild.buildroot.org/results/dcf/dcfbdc1a1ee032881ad5e2f7ca6622d90fc7cb19

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 package/libosip2/libosip2.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Thomas Petazzoni - May 16, 2013, 7:47 a.m.
Dear Gilles Talis,

On Wed, 15 May 2013 14:47:31 -0700, Gilles Talis wrote:

> +LIBOSIP2_LICENSE = LGPL

Which version?

Thomas
Peter Korsgaard - May 16, 2013, 8:20 a.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Dear Gilles Talis,
 Thomas> On Wed, 15 May 2013 14:47:31 -0700, Gilles Talis wrote:

 >> +LIBOSIP2_LICENSE = LGPL

 Thomas> Which version?

It's LGPLv2.1+:

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

I'll fix that up when I commit.
Peter Korsgaard - May 16, 2013, 8:26 a.m.
>>>>> "Gilles" == Gilles Talis <gilles.talis@gmail.com> writes:

 Gilles> Also added license information
 Gilles> Fixes:
 Gilles> http://autobuild.buildroot.org/results/dcf/dcfbdc1a1ee032881ad5e2f7ca6622d90fc7cb19

Committed both (with osip2 license fixed), thanks.
gilles.talis@gmail.com - May 16, 2013, 10:20 p.m.
Dear Peter,

2013/5/16 Peter Korsgaard <jacmet@uclibc.org>:
>
> It's LGPLv2.1+:
>
>   This library is free software; you can redistribute it and/or
>   modify it under the terms of the GNU Lesser General Public
>   License as published by the Free Software Foundation; either
>   version 2.1 of the License, or (at your option) any later version.
>
> I'll fix that up when I commit.

Thanks for fixing and committing. For some unknown reason I missed
that yesterday.

Gilles

Patch

diff --git a/package/libosip2/libosip2.mk b/package/libosip2/libosip2.mk
index 713851b..1f4a370 100644
--- a/package/libosip2/libosip2.mk
+++ b/package/libosip2/libosip2.mk
@@ -7,5 +7,10 @@ 
 LIBOSIP2_VERSION = 3.6.0
 LIBOSIP2_SITE = $(BR2_GNU_MIRROR)/osip
 LIBOSIP2_INSTALL_STAGING = YES
+LIBOSIP2_LICENSE = LGPL
+LIBOSIP2_LICENSE_FILES = COPYING
+
+LIBOSIP2_CONF_OPT = \
+	--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
 
 $(eval $(autotools-package))