Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5464

Modified Files:
        namot.info 
Added Files:
        namot.patch 
Log Message:
namot now works with gcc4 thanks to Jack Howarth

--- NEW FILE: namot.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

Index: namot.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/sci/namot.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- namot.info  3 Feb 2006 18:29:30 -0000       1.3
+++ namot.info  4 Mar 2006 05:13:18 -0000       1.4
@@ -1,33 +1,23 @@
 Package: namot
 Version: 2.2.0-pre4
-Revision: 12
-Architecture: powerpc
-GCC: 3.3
+Revision: 13
 Source: mirror:sourceforge:%n/%n-%v.tgz
 Source-MD5: 33cc542fa56d46385cde3f35805d812f 
-Depends: x11, lesstif-shlibs, readline-shlibs, gsl-shlibs, libpng3-shlibs
-BuildDepends: libpng3, gsl, lesstif, readline, x11-dev, gcc3.3
+Patch: %n.patch
+Depends: x11, openmotif3-shlibs, readline-shlibs (>= 4.3-28), gsl-shlibs, 
libpng3-shlibs
+BuildDepends: libpng3, gsl, openmotif3, readline (>= 4.3-28), x11-dev
 ConfigureParams: --mandir='${prefix}/share/man' --libexecdir='${prefix}/lib'
 SetCFLAGS: -force_flat_namespace
-SetCC: gcc-3.3
-SetCXX: g++-3.3
 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 modifi-
-able libraries allow the user to  customize  the  program.
-The use of an extended description allows for the modeling
-of standard and  unusual  structures.
-<<
-DescPackaging: <<
- This version is compiled with g++-3.3, even in the 10.4 tree.  If it is
- ever updated to a more recent compiler, anything which depends on it must
- be updated at the same time that it is.
+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/



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to