namot stable port information

Package: namot
Version: 2.2.0-pre4
Revision: 1014
Source: mirror:sourceforge:%n/%n-%v.tgz
Source-MD5: 33cc542fa56d46385cde3f35805d812f
PatchFile: %n.patch
PatchFile-MD5: 1228aeb9c5e5b51e0550b834bbc0f5b6
Depends: x11, openmotif3-shlibs, readline5-shlibs, gsl-shlibs, libpng3-shlibs
BuildDepends: libpng3, gsl, openmotif3, readline5, x11-dev, fink (>= 0.24.12-1)
ConfigureParams: --mandir='${prefix}/share/man' --libexecdir='${prefix}/lib' --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
#SetCFLAGS: -force_flat_namespace
Description: Nucleic Acid MOdelling Tool
DescDetail: <<
The Nucleic Acid Modeling Tool(NAMOT) is a program to allow users to
manipulate molecular models of nucleic acids based on a set of reduced
co-ordinates developed at Los Alamos National Laboratory and the Max Planck
Institute for Biophysical Chemistry. It uses a combination of Xlib and Xt
functions to build the interface. External, user modifiable libraries
allow the user to customize the program. The use of an extended
description allows for the modeling of standard and unusual structures.
Thanks to Jack Howarth for numerous improvements.
<<
DocFiles: README AUTHORS COPYING NEWS
Homepage: http://namot.sourceforge.net/
License: Restrictive
Maintainer: W. G. Scott

namot stable port .patch

--- namot-2.2.0-pre4/src/graphics.c.org 2006-03-03 22:33:11.000000000 -0500
+++ namot-2.2.0-pre4/src/graphics.c 2006-03-03 22:38:21.000000000 -0500
@@ -1331,7 +1331,7 @@
PackPNGRows(
) {
int ctr1=0,ctr2=0;
- char *srcptr=NULL;
+ unsigned char *srcptr=NULL;
png_byte **row_pointers;
long pos=0;
void *Imageptr;
--- namot-2.2.0-pre4/src/x.h.org 2006-03-03 22:39:06.000000000 -0500
+++ namot-2.2.0-pre4/src/x.h 2006-03-03 22:43:11.000000000 -0500
@@ -17,8 +17,9 @@
*/

#define Long long
+#ifndef HAVE_PNG_H
#define Byte unsigned char
-
+#endif
extern void InitX();

#ifdef GRAPHICS

namot _unstable_ port .patch