X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id CA2BDDC0089 for ; Wed, 5 Mar 2014 09:11:42 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 12A37BC237B; Wed, 5 Mar 2014 09:11:41 +0000 (UTC) Date: Wed, 5 Mar 2014 10:11:38 +0100 From: Natanael Copa To: Kozak Ivan Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] testing/nut: new aport Message-ID: <20140305101138.006ffb75@ncopa-desktop.alpinelinux.org> In-Reply-To: <1393766380-18447-1-git-send-email-kozak-iv@yandex.ru> References: <1393766380-18447-1-git-send-email-kozak-iv@yandex.ru> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.20; x86_64-alpine-linux-uclibc) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 2 Mar 2014 17:19:40 +0400 Kozak Ivan wrote: > +# bcmxcp.patch - sorry no bcmxc and no bcmxcp_usb (get errors about undefined reference to `ldexp') I fixed it and pushed a fix to aports. > diff --git a/testing/nut/bcmxcp.patch b/testing/nut/bcmxcp.patch > new file mode 100644 > index 0000000..644d9b7 > --- /dev/null > +++ b/testing/nut/bcmxcp.patch > @@ -0,0 +1,178 @@ > +--- Makefile.in > ++++ src/nut-2.7.1/drivers/Makefile.in A comment about the way this was 'resolved'. We normally try avoid patching the Makefile.in since it is generated from Makefile.am. The drawback with patching Makefile.am is that then we need re-run the autotools (aclocal, autoconf automake etc) and that might introduce new issues. The biggest benefit though is that the pach can normally be submitted upstream. Would you be able to submit a bugreport upstream (to nut developers) and give them the patch i made: http://git.alpinelinux.org/cgit/aports/tree/testing/nut/libm.patch Basically when using ldexp you should link against libm (even the manpage[1] says: Link with -lm. Thanks! -nc [1] http://man7.org/linux/man-pages/man3/ldexp.3.html --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---