Re: Unable to build netpbm-bin, netpbm, netpbm-shlibs [11.07.01-1]

Hanspeter Niederstrasser <[email protected]> Wed, 25 Sep 2024 03:25:18 -0500
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 9/24/24 10:57 AM, James Kolata via Fink-beginners wrote:
> 
> All have the same error message:
> 
> svgtopam.c:187:27: error: call to undeclared library function 'strdup' with type 'char *(const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>          pathP->pathText = strdup(pathText);
>                            ^
> svgtopam.c:187:27: note: include the header <string.h> or explicitly provide a declaration for 'strdup'
> svgtopam.c:919:26: warning: unused variable 'depth' [-Wunused-variable]
>      unsigned int   const depth    = xmlTextReaderDepth(xmlReaderP);
>                           ^
> 1 warning and 1 error generated.
> 
> 
> MacOS 14.6.1
> 
> Package manager version: 0.45.99.git
> Distribution version: selfupdate-rsync Tue Sep 24 10:25:53 2024, 14.0, x86_64
> Trees: local/main stable/main local/injected
> Xcode.app: 15.4
> Xcode command-line tools: 15.3.0.0.1.1708646388
> netpbm11-shlibs-11.07.01-1 is set to build with only one job.

I pushded a fix that gets rid of the issue for me on 10.14.

Hanspeter

-- 
Organic chemistry is the study of carbon compounds.
Biochemistry is the study of carbon compounds that crawl.
   --Mike Adams



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners