Bug 69246 - New port: devel/libgutenfetch Library for application developers to interface with Project Gutenberg etext servers.
Summary: New port: devel/libgutenfetch Library for application developers to interface...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-18 17:50 UTC by Russell Francis
Modified: 2004-07-20 15:37 UTC (History)
0 users

See Also:


Attachments
file.shar (2.54 KB, text/plain)
2004-07-18 17:50 UTC, Russell Francis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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