pinfo stable port information

Info4: <<
Package: pinfo
Version: 0.6.9
Revision: 4
Maintainer: Benjamin Reed
BuildDepends: <<
fink (>= 0.28.0-1),
gettext-bin,
libgettext8-dev,
libiconv-dev,
libncurses5,
readline5,
<<
Depends: <<
libgettext8-shlibs,
libiconv,
libncurses5-shlibs,
readline5-shlibs,
<<
GCC: 4.0
Source: http://alioth.debian.org/download.php/1498/%n-%v.tar.bz2
Source-MD5: e0c788467945f5f97fbacad55863e5b8
PatchFile: %n.patch
PatchFile-MD5: 67d7127c7fa8500fc67285de047719bc
ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man --with-readline=%p --with-curses=%p --with-libiconv-prefix=%p --with-libintl-prefix=%p --disable-dependency-tracking
InstallScript: make -j1 install DESTDIR=%d
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TECHSTUFF
InfoDocs: pinfo.info
ConfFiles: %p/etc/pinforc
Description: Lynx-style info browser
DescDetail: <<
Pinfo is an info file (or man page) viewer with a user interface
similar to the Lynx web browser. Pinfo supports searching using
regular expressions, and is based on the ncurses library.
<<
License: GPL
Homepage: http://pinfo.alioth.debian.org/
<<

pinfo stable port .patch

diff -Nurd pinfo-0.6.9/src/filehandling_functions.c pinfo-0.6.9-new/src/filehandling_functions.c
--- pinfo-0.6.9/src/filehandling_functions.c 2006-03-16 10:15:02.000000000 -0500
+++ pinfo-0.6.9-new/src/filehandling_functions.c 2010-04-20 13:24:47.000000000 -0400
@@ -200,7 +200,7 @@
}

/* if we haven't found anything, clean up and exit */
- if (!goodHit)
+ if ( id && !goodHit )
{
fclose(id);
id = 0;

pinfo _unstable_ port .patch