Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv9870/devel

Modified Files:
        mingw-gcc.info 
Added Files:
        mingw-gcc.patch 
Log Message:
Fix compilation on systems with texinfo 4.10 and newer

--- NEW FILE: mingw-gcc.patch ---
diff -ru gcc-4.1.0/configure gcc-4.1.0-patched/configure
--- gcc-4.1.0/configure 2005-12-16 13:57:40.000000000 +0100
+++ gcc-4.1.0-patched/configure 2011-05-02 14:07:34.000000000 +0200
@@ -3543,7 +3543,7 @@
     # For an installed makeinfo, we require it to be from texinfo 4.2 or
     # higher, else we use the "missing" dummy.
     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])' >/dev/null 2>&1; 
then
+       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([2-9]|[1-9][0-9])|[5-9])' 
>/dev/null 2>&1; then
       :
     else
       MAKEINFO="$MISSING makeinfo"

Index: mingw-gcc.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/mingw-gcc.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mingw-gcc.info      27 Apr 2011 14:28:38 -0000      1.6
+++ mingw-gcc.info      3 May 2011 09:10:06 -0000       1.7
@@ -1,6 +1,6 @@
 Package: mingw-gcc
 Version: 4.1.0
-Revision: 2
+Revision: 3
 Description: GNU GCC for MinGW
 License: LGPL
 Maintainer: None <fink-de...@lists.sourceforge.net>
@@ -10,13 +10,16 @@
   mingw-runtime (>= 3.8-1),
   mingw-w32api (>= 3.3-1)
 <<
-BuildDepends: tar (>=1.14-2)
+BuildDepends: tar (>=1.14-2), fink (>= 0.24.12)
 
 Source: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%v/gcc-%v.tar.bz2
 Source-MD5: 88785071f29ed0e0b6b61057a1079442
 SourceDirectory: gcc-%v
 
+PatchFile: %n.patch
+PatchFile-MD5: 2e0a043611b2613d0787159b2f87ed82
 PatchScript: <<
+  sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
   /usr/bin/sed -i.bak \
     -e 's|LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/w32api|LIBGCC2_INCLUDES = 
-I%p/lib/mingw/i686-pc-mingw32|' \
     -e '12s|^$|CRTSTUFF_CFLAGS += -isystem %p/lib/mingw/i686-pc-mingw32|' \
@@ -83,13 +86,18 @@
 <<
 
 DocFiles: COPYING* ChangeLog MAINTAINERS README* 
+InfoDocs: i686-pc-mingw32-fastjar.info i686-pc-mingw32-gccinstall.info
 
 Homepage: http://gcc.gnu.org/
 DescPort: <<
 Like 'avr-gcc' package, lib & include folders have been moved to 
 /sw/share/mingw and the binaries are put into /sw/bin .
+
 All xxx.info files renamed to i686-pc-mingw32-xxx.info to avoid clashes
 with other potential toolchains.
+
+Patch configure to fix broken texinfo detection code
+
 TODO: Native Language Support
 <<
 DescUsage: <<


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to