From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 20 01:47:18 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01B4716A4CF; Tue, 20 Jul 2004 01:47:18 +0000 (GMT) Received: from ms-smtp-01-eri0.ohiordc.rr.com (ms-smtp-01-smtplb.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D14543D2D; Tue, 20 Jul 2004 01:47:17 +0000 (GMT) (envelope-from rf358197@ohio.edu) Received: from [192.168.0.2] (dhcp024-208-176-081.columbus.rr.com [24.208.176.81])i6K1lFJW008372; Mon, 19 Jul 2004 21:47:15 -0400 (EDT) Message-ID: <40FCEA51.30604@ohio.edu> Date: Tue, 20 Jul 2004 09:48:01 +0000 From: Russell Franci User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040710) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pav Lucistnik References: <200407191829.i6JIT74l095426@freefall.freebsd.org> In-Reply-To: <200407191829.i6JIT74l095426@freefall.freebsd.org> Content-Type: multipart/mixed; boundary="------------090304040902070006040305" X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/69246: New port: devel/libgutenfetch Library forapplication developers to interface with Project Gutenberg etext servers. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 01:47:18 -0000 This is a multi-part message in MIME format. --------------090304040902070006040305 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Pav Lucistnik wrote: > Synopsis: New port: devel/libgutenfetch Library for application developers to interface with Project Gutenberg etext servers. > > State-Changed-From-To: open->feedback > State-Changed-By: pav > State-Changed-When: Mon Jul 19 18:28:06 GMT 2004 > State-Changed-Why: > 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? > > > Responsible-Changed-From-To: freebsd-ports-bugs->pav > Responsible-Changed-By: pav > Responsible-Changed-When: Mon Jul 19 18:28:06 GMT 2004 > Responsible-Changed-Why: > Handle. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=69246 Yes, This is correct, I have provided an updated shell archive to reflect the fix. Thanks, Russ --------------090304040902070006040305 Content-Type: text/plain; name="port.libgutenfetch.shar" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="port.libgutenfetch.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libgutenfetch # libgutenfetch/Makefile # libgutenfetch/distinfo # libgutenfetch/pkg-descr # echo c - libgutenfetch mkdir -p libgutenfetch > /dev/null 2>&1 echo x - libgutenfetch/Makefile sed 's/^X//' >libgutenfetch/Makefile << 'END-of-libgutenfetch/Makefile' X# New ports collection makefile for: libgutenfetch X# Date created: 17 July 2004 X# Whom: Russell Francis X# X# $FreeBSD$ X# X XPORTNAME= libgutenfetch XPORTVERSION= 1.2 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= libgutenfetch X XMAINTAINER= johntabularasa@users.sf.net XCOMMENT= A library that allows application developers to connect to PG X XLIB_DEPENDS= curl:${PORTSDIR}/ftp/curl:install X XGNU_CONFIGURE= yes XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LIBS="-L${LOCALBASE}/lib" XUSE_GMAKE= yes XUSE_BZIP2= yes X XMAN3 = libgutenfetch.3 \ X gutenfetch_version.3 \ X gutenfetch_shutdown.3 \ X gutenfetch_set_active_server_full.3 \ X gutenfetch_set_active_server.3 \ X gutenfetch_new_server.3 \ X gutenfetch_list_servers.3 \ X gutenfetch_is_threadsafe.3 \ X gutenfetch_init.3 \ X gutenfetch_get_aussie_server.3 \ X gutenfetch_get_active_server.3 \ X gutenfetch_free_server.3 \ X gutenfetch_free_servers.3 \ X gutenfetch_duplicate_server.3 X XPLIST_FILES= lib/libgutenfetch.a \ X lib/libgutenfetch.la \ X lib/libgutenfetch.so \ X lib/libgutenfetch.so.0 \ X share/libgutenfetch/servers.txt X XPLIST_DIRS= share/libgutenfetch X X.include END-of-libgutenfetch/Makefile echo x - libgutenfetch/distinfo sed 's/^X//' >libgutenfetch/distinfo << 'END-of-libgutenfetch/distinfo' XMD5 (libgutenfetch-1.2.tar.bz2) = 70d6ec0f682fde0f4f3b15f28aa354d7 XSIZE (libgutenfetch-1.2.tar.bz2) = 208312 END-of-libgutenfetch/distinfo echo x - libgutenfetch/pkg-descr sed 's/^X//' >libgutenfetch/pkg-descr << 'END-of-libgutenfetch/pkg-descr' XThis is a port of libgutenfetch, which provides a clean and consistent Xinterface for application developers to write clients which list and Xfetch free electronic texts from any number of Project Gutenberg servers Xthroughout the world. X XWWW: http://sourceforge.net/projects/libgutenfetch/ X X- Russell Francis Xjohntabularasa@users.sf.net END-of-libgutenfetch/pkg-descr exit --------------090304040902070006040305--