|
From: Bert T. <15...@bu...> - 2016-09-04 06:30:53
|
** Changed in: pcb
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of PCB Bug
Team, which is subscribed to pcb.
https://bugs.launchpad.net/bugs/1542858
Title:
strchrnull not in OSX C library
Status in pcb:
Fix Committed
Bug description:
src/hid/gtk/gui-library-window.c references the function strchrnul
which is a GNU specific function and not present on OSX.
I tried building with both xcode and with the gcc from macports, and
neither was able to find this function in the standard libraries.
I was able to compile pcb by pulling the following files:
http://src.gnu-darwin.org/src/contrib/cpio/lib/strchrnul.c
http://src.gnu-darwin.org/src/contrib/cpio/lib/strchrnul.h
adding it to the makefile.am and putting an include at the top of gui-
library-window.c
I'm not sure if this solution works with all licensing issues. I think
there's also a tool called gnulib that could be used to pull it in.
To manage notifications about this bug go to:
https://bugs.launchpad.net/pcb/+bug/1542858/+subscriptions
|