Bug 69246

Summary: New port: devel/libgutenfetch Library for application developers to interface with Project Gutenberg etext servers.
Product: Ports & Packages Reporter: Russell Francis <rf358197>
Component: Individual Port(s)Assignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Russell Francis 2004-07-18 17:50:16 UTC
This is a new port for the libgutenfetch library.  It is a development library which allows developers a clean and consistent interface to listing and fetching electronic texts from Project Gutenberg servers.

Attached is a shell archive with the files needed for the port.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-19 19:28:06 UTC
State Changed
From-To: open->feedback

Does not compile with latest gcc: 

cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -D_THREAD_SAFE -pthread -DLOCALEDIR="" -DDATADIR="/usr/local/share/libgutenfetch" -I/usr/local/include -O -pipe -g -c libgutenfetch_utility.c -MT libgutenfetch_utility.lo -MD -MP -MF .deps/libgutenfetch_utility.TPlo  -fPIC -DPIC -o .libs/libgutenfetch_utility.lo 
libgutenfetch_utility.c: In function `gutenfetch_util_read_binary_file_to_buffer': 
libgutenfetch_utility.c:1552: error: incompatible types in return 

Looks like new gcc don't permit NULL as a return value 
of function returning enum. Can you check with author 
and provide a patch to fix this? 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-19 19:28:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-20 15:37:11 UTC
State Changed
From-To: feedback->closed

New port added, thank you! I added a patch to fix compilation 
on gcc-2.95