[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-barcode] Patch to fix build on systems without GNU libc calloc
From: |
Clemens Lang |
Subject: |
[Bug-barcode] Patch to fix build on systems without GNU libc calloc |
Date: |
Mon, 19 Oct 2015 20:06:50 +0200 (CEST) |
Hi,
this is a follow-up to
http://lists.gnu.org/archive/html/bug-barcode/2015-06/msg00000.html
reporting a build failure on OS X with a patch to fix the issue rather than a
workaround.
When building GNU barcode 0.99 on a system that doesn't have GNU libc calloc
(such
as OS X), a replacement implementation is used instead. However, the sample
binary
then fails to link because rpl_calloc is undefined. That happens because
sample_LDADD does not contain lib/libgnu.la, which would provide this symbol.
See
the attached patch, which fixes this.
Additionally, the version number in doc/barcode.texi wasn't updated for the 0.99
release.
I have an existing copyright assignment to the FSF.
--
Clemens Lang
MacPorts Developer
patch-Makefile.am-sample-may-need-replacement-calloc-from-libgnu.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-barcode] Patch to fix build on systems without GNU libc calloc,
Clemens Lang <=