unrtf stable port information

Package: unrtf
Version: 0.20.5
Revision: 1
Source: http://www.gnu.org/software/%n/%n-%v.tar.gz
Source-MD5: 6a972d275bee7ca812458561a436095b
PatchFile: %n.patch
PatchFile-MD5: 510998d703d0192fb074a8614042c565
BuildDepends: fink (>= 0.25.12-1)
SetCPPFLAGS: -Wall
ConfigureParams: --mandir=%p/share/man --disable-dependency-tracking
InstallScript: make install DESTDIR=%d
Description: Converts rtf format to several other formats
DocFiles: AUTHORS COPYING ChangeLog NEWS README
DescDetail: <<
UnRTF is a moderately complicated converter from RTF to other formats,
including HTML, LaTeX, text, and PostScript. Converting to HTML, it
supports tables, fonts, colors, embedded images, hyperlinks, paragraph
alignment among other things. All other conversions are "alpha"--just
begun.
Usage example: 'unrtf foo.rtf --html > foo.html'
See the man page for options, and the doc for limitations.
<<
DescPort: <<
Previous versions by Matt Stephenson and Michele Garoche.
Patched various c files to use 'stdlib.h' instead of 'malloc.h'.
Patched malloc.c to avoid warning casting pointer from integer.
<<
License: GPL
Homepage: http://www.gnu.org/software/unrtf/unrtf.html
Maintainer: None

unrtf stable port .patch

diff -Nurd -x'*~' unrtf-0.20.5.orig/src/attr.c unrtf-0.20.5/src/attr.c
--- unrtf-0.20.5.orig/src/attr.c 2007-12-22 07:30:37.000000000 -0500
+++ unrtf-0.20.5/src/attr.c 2008-01-20 16:33:49.000000000 -0500
@@ -341,7 +341,7 @@
AttrStack *stack = stack_of_stacks_top;
if (!stack) {
warning_handler("No stack to get attribute from");
- return;
+ return NULL;
}

i=stack->tos;

unrtf _unstable_ port .patch