Update of /cvsroot/fink/experimental/dmacks/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv3835

Modified Files:
        ncurses.info 
Log Message:
formally include upstream patches...RC for fink, please test!


Index: ncurses.info
===================================================================
RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/ncurses.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ncurses.info        7 May 2011 18:56:24 -0000       1.4
+++ ncurses.info        10 May 2011 12:45:10 -0000      1.5
@@ -1,23 +1,26 @@
 Package: ncurses
-Version: 5.9
+Version: 5.9-20110507
 Revision: 1
 
 GCC: 4.0
-Source: ftp://invisible-island.net/ncurses/current/ncurses-%v.tgz
+#Source: ftp://invisible-island.net/ncurses/current/ncurses-%v.tgz
 #Source: mirror:sourceforge:fink/ncurses-%v.tgz
-Source-MD5: 79e8d67f1f45171f45b566b03ce04184
+Source: http://dmacks.users.finkproject.org/ncurses-%v.tgz
+Source-MD5: 49dc7136424f2bdd653439eda63a2375
+SourceDirectory: ncurses-5.9
 BuildDepends: fink (>= 0.13.0)
 Depends: libncurses5-shlibs (>= %v-%r)
 Replaces: libncurses5 (<< 5.4-20041023-4)
 Essential: true
-#Need to remove these entries to avoid failure on case sensitive file systems
 PatchScript: <<
-       perl -pi -e "s/hp70092a\|//; s/hp2621a\|//; s/2621a\|//" 
misc/terminfo.src
+#!/bin/sh -ex
+       # apply upstream patchsets
+       for p in patches/*.patch.gz; do
+               gzip -cd $p | patch -p1
+       done
 
-       # fix incorrect initializers (fatal error under clang 3.0)
-       # part of upstream ncurses-5.9-20110409.patch.gz
-       perl -pi -e 's/NCursesMenu \(Items/NCursesMenu (&Items/'g c++/cursesm.h
-       perl -pi -e 's/NCursesForm \(Fields/NCursesForm (&Fields/'g 
c++/cursesf.h
+       #Need to remove these entries to avoid failure on case sensitive file 
systems
+       perl -pi -e "s/hp70092a\|//; s/hp2621a\|//; s/2621a\|//" 
misc/terminfo.src
 <<
 ConfigureParams: --without-ada --without-pkg-config --with-shared --with-debug 
--enable-termcap --mandir=%p/share/man 
--with-terminfo-dirs="%p/share/terminfo:/usr/share/terminfo" 
--with-default-terminfo-dir="%p/share/terminfo" --enable-no-padding 
--enable-sigwinch --enable-tcap-names --enable-hard-tabs --enable-overwrite 
--disable-mixed-case
 NoSetCFLAGS: true
@@ -25,9 +28,8 @@
 NoSetCPPFLAGS: true
 NoSetMAKEFLAGS: true
 SetMAKEFLAGS: -j1
-# remember to create clang and clang++ symlinks in 
%p/var/lib/fink/path-prefix-10.*
-#SetCC: clang
-#SetCXX: clang++
+SetCC: clang
+SetCXX: clang++
 CompileScript: <<
   #!/bin/sh -ev
   ./configure %c --libdir=%p/lib/ncurses cf_cv_typeof_chtype=long
@@ -94,9 +96,12 @@
 All the hard work in this version done by Chris Zubrzycki.
 Updated to 5.7 by Daniel Johnson.
 
+       Reroll tarball with upstream patches (in patches/ subdir).
+       Fink needs to mirror Essential packages on its own server).
+
        Disable pkg-config so we don't need to make it Essential:true
        (as dependency of Essential:true ncurses). gen-pkgconfig says
-       the *-config scripts are the recommended way.
+       the *-config scripts are the recommended way anyway.
 <<
 License: OSI-Approved
 Maintainer: Fink Core Group <fink-c...@lists.sourceforge.net>


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to