mingw-w64 (0~20100125-3) debian-dir only changes

Summary

 debian/changelog                                  |   18 +
 debian/compat                                     |    1 
 debian/control                                    |   25 +
 debian/copyright                                  |  317 ++++++++++++++++++++++
 debian/patches/01_workaround_missing_headers.diff |   56 +++
 debian/rules                                      |   84 +++++
 6 files changed, 501 insertions(+)

    
download this patch

Patch contents

--- mingw-w64-0~20100125.orig/debian/changelog
+++ mingw-w64-0~20100125/debian/changelog
@@ -0,0 +1,18 @@
+mingw-w64 (0~20100125-3) unstable; urgency=low
+
+  * Switch to Architecture: all.  It's meant to have the same content
+    regardless of the Debian arch that hosts it.
+
+ -- Robert Millan <rmh.debian@aybabtu.com>  Sat, 30 Jan 2010 02:08:57 +0100
+
+mingw-w64 (0~20100125-2) unstable; urgency=low
+
+  * Match directory name used by gcc-mingw32.
+
+ -- Robert Millan <rmh.debian@aybabtu.com>  Tue, 26 Jan 2010 16:17:25 +0100
+
+mingw-w64 (0~20100125-1) unstable; urgency=low
+
+  * Initial release.  (Closes: #566907)
+
+ -- Robert Millan <rmh.debian@aybabtu.com>  Mon, 25 Jan 2010 22:58:25 +0100
--- mingw-w64-0~20100125.orig/debian/control
+++ mingw-w64-0~20100125/debian/control
@@ -0,0 +1,25 @@
+Source: mingw-w64
+Section: devel
+Priority: extra
+Maintainer: Robert Millan <rmh.debian@aybabtu.com>
+Build-Depends: cdbs (>= 0.4.57),
+ debhelper (>= 7),
+ libtool,
+ autoconf,
+ automake,
+ mingw32-binutils (>= 2.20),
+ gcc-mingw32 (>= 4.4.2-3),
+Standards-Version: 3.8.1
+Homepage: http://mingw-w64.sourceforge.net/
+
+Package: mingw-w64
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: mingw32-binutils (>= 2.20), gcc-mingw32 (>= 4.4.2-3)
+Description: Minimalist GNU w64 (cross) runtime
+ This package contains the target runtime files for a cross-compilable
+ Windows/amd64 target.
+ .
+ Along with this package, you need the amd64-mingw32 cross-compiler in
+ gcc-mingw32 if you want to compile binaries for Windows/amd64
+ architecture.
--- mingw-w64-0~20100125.orig/debian/compat
+++ mingw-w64-0~20100125/debian/compat
@@ -0,0 +1 @@
+7
--- mingw-w64-0~20100125.orig/debian/rules
+++ mingw-w64-0~20100125/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+SHELL = bash
+
+src_package		:= $(shell dpkg-parsechangelog | sed -ne "s/^Source: \(.*\)/\1/p")
+deb_version		:= $(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p")
+upstream_version	:= $(shell echo $(deb_version) | sed -e "s/-[^-]*$$//")
+major 			:= $(shell echo $(upstream_version) | sed -e "s/\([0-9]\+\.[0-9]\+\)[\.-].*/\1/g")
+
+# single-binary package
+package := $(src_package)
+
+CRT_CFLAGS = $(CFLAGS) \
+		-I$(CURDIR)/mingw-w64-headers/crt \
+		-I$(CURDIR)/mingw-w64-headers/include \
+		$(NULL)
+
+# native strip messes up the archive indexes
+DEB_STRIP_EXCLUDE = /usr/amd64-mingw32msvc/lib
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_CONFIGURE_USER_FLAGS := \
+	--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --includedir="\$${prefix}/include" \
+	--mandir="\$${prefix}/share/man" --infodir="\$${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var \
+	--libexecdir="\$${prefix}/lib/$(package)" \
+	--host=amd64-mingw32msvc \
+	$(NULL)
+
+mingw-w64-headers/configure mingw-w64-headers/Makefile.in: mingw-w64-headers/configure.ac mingw-w64-headers/Makefile.am
+	cd mingw-w64-headers && autoreconf
+
+mingw-w64-crt/configure mingw-w64-crt/Makefile.in: mingw-w64-crt/configure.ac mingw-w64-crt/Makefile.am
+	cd mingw-w64-crt && autoreconf
+
+mingw-w64-headers/Makefile: mingw-w64-headers/configure mingw-w64-headers/Makefile.in
+	cd mingw-w64-headers && ./configure $(DEB_CONFIGURE_USER_FLAGS)
+
+mingw-w64-crt/Makefile: mingw-w64-crt/configure mingw-w64-crt/Makefile.in
+	cd mingw-w64-crt && \
+		CFLAGS="$(CRT_CFLAGS)" \
+		./configure $(DEB_CONFIGURE_USER_FLAGS)
+
+stamps/build-headers: mingw-w64-headers/Makefile
+	cd mingw-w64-headers && $(MAKE)
+	mkdir -p stamps
+	touch $@
+
+stamps/build-crt: mingw-w64-crt/Makefile
+	cd mingw-w64-crt && $(MAKE)
+	mkdir -p stamps
+	touch $@
+
+stamps/install: stamps/build-headers stamps/build-crt
+	cd mingw-w64-headers && $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)/
+	cd mingw-w64-crt && $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)/
+
+	# match the directory name used by gcc-mingw32
+	mv debian/$(package)/usr/{x86_64-pc,amd64}-mingw32msvc
+
+	find debian/$(package) -type d -empty -delete
+
+	# this replaces dh_strip
+	amd64-mingw32msvc-strip --strip-debug debian/$(package)/usr/amd64-mingw32msvc/lib/*.a
+
+	mkdir -p debian/$(package)/usr/share/lintian/overrides
+	(for i in $$(cd debian/$(package)/usr/amd64-mingw32msvc/lib && ls *.o) ; do \
+		echo "$(package): executable-not-elf-or-script ./usr/amd64-mingw32msvc/lib/$$i" ; \
+	done && \
+	for i in $$(cd debian/$(package)/usr/amd64-mingw32msvc/lib && ls *.a) ; do \
+		echo "$(package): arch-independent-package-contains-binary-or-object ./usr/amd64-mingw32msvc/lib/$$i" ; \
+	done) \
+	 > debian/$(package)/usr/share/lintian/overrides/$(package)
+
+	mkdir -p stamps
+	touch $@
+
+build/$(package):: stamps/build-headers stamps/build-crt
+install/$(package):: stamps/install
+
+clean::
+	-cd mingw-w64-headers && $(MAKE) distclean > /dev/null
+	-cd mingw-w64-crt && $(MAKE) distclean > /dev/null
+	rm -rf stamps
--- mingw-w64-0~20100125.orig/debian/copyright
+++ mingw-w64-0~20100125/debian/copyright
@@ -0,0 +1,317 @@
+Name: mingw-w64
+Source: http://mingw-w64.sourceforge.net/
+
+Files: *
+Copyright: 2009, 2010 mingw-w64 project
+License: ZPL-2.1
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+    1. Redistributions in source code must retain the accompanying copyright
+       notice, this list of conditions, and the following disclaimer.
+    2. Redistributions in binary form must reproduce the accompanying
+       copyright notice, this list of conditions, and the following disclaimer
+       in the documentation and/or other materials provided with the
+       distribution.
+    3. Names of the copyright holders must not be used to endorse or promote
+       products derived from this software without prior written permission
+       from the copyright holders.
+    4. The right to distribute this software or to use it for any purpose does
+       not give you the right to use Servicemarks (sm) or Trademarks (tm) of
+       the copyright holders.  Use of them is covered by separate agreement
+       with the copyright holders.
+    5. If any files are modified, you must cause the modified files to carry
+       prominent notices stating that you changed the files and the date of
+       any change.
+ .
+ Disclaimer
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+ EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 
+ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: mingw-w64-headers/direct-x/include/d3dx8core.h
+       mingw-w64-headers/direct-x/include/d3d9types.h
+       mingw-w64-headers/direct-x/include/dxdiag.h
+       mingw-w64-headers/direct-x/include/dplay8.h
+       mingw-w64-headers/direct-x/include/dplobby8.h
+       mingw-w64-headers/direct-x/include/dpaddr.h
+Copyright: 2002,2003,2004,2005  Raphael Junqueira
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/direct-x/include/dls1.h
+       mingw-w64-headers/direct-x/include/dls2.h
+       mingw-w64-headers/direct-x/include/dmusicc.h
+       mingw-w64-headers/direct-x/include/dmusicf.h
+       mingw-w64-headers/direct-x/include/dmusbuff.h
+       mingw-w64-headers/direct-x/include/dmusici.h
+       mingw-w64-headers/direct-x/include/dmplugin.h
+       mingw-w64-headers/direct-x/include/dmerror.h
+       mingw-w64-headers/direct-x/include/dmusics.h
+       mingw-w64-headers/direct-x/include/dmdls.h
+Copyright: 2003-2004  Rok Mandeljc
+License: LGPL-2.1+
+
+Files: mingw-w64-crt/misc/getopt.c
+Copyright: 2000  The NetBSD Foundation, Inc.
+License:
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+
+Files: mingw-w64-headers/crt/stdarg.h
+Copyright: 1989, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: mingw-w64-crt/math/sf_erf.c
+       mingw-w64-crt/math/s_erf.c
+Copyright: 1993  Sun Microsystems, Inc.
+License:
+ * Permission to use, copy, modify, and distribute this
+ * software is freely granted, provided that this notice 
+ * is preserved.
+
+Files: mingw-w64-headers/direct-x/include/dmoreg.h
+       mingw-w64-headers/direct-x/include/dmo.h
+       mingw-w64-headers/direct-x/include/dmort.h
+       mingw-w64-headers/direct-x/include/dshow.h
+Copyright: 2002  Alexandre Julliard
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/direct-x/include/dsconf.h
+       mingw-w64-headers/direct-x/include/dxerr8.h
+       mingw-w64-headers/direct-x/include/dxerr9.h
+Copyright: 2003, 2004  Robert Reif
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/ddk/include/ddk/csq.h
+Copyright: 2004,  Vizzini (vizzini@plasmic.com)
+License: GPL-1+
+
+Files: mingw-w64-crt/misc/getopt.c
+Copyright: 2002,  Todd C. Miller <Todd.Miller@courtesan.com>
+License:
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Files: mingw-w64-crt/misc/getopt.c
+Copyright: 2000  The NetBSD Foundation, Inc.
+License:
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+
+
+Files: mingw-w64-headers/direct-x/include/d3drm.h
+Copyright: 2005,  Peter Berg Larsen
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/direct-x/include/dsdriver.h
+       mingw-w64-headers/ddk/include/ddk/dciddi.h
+       mingw-w64-headers/direct-x/include/ddrawi.h
+       mingw-w64-headers/ddk/include/ddk/ddrawi.h
+       mingw-w64-headers/direct-x/include/d3dhal.h
+       mingw-w64-headers/ddk/include/ddk/d3dhal.h
+Copyright: 2000, 2001  Ove Kaaven
+License: LGPL-2.1+
+
+Files: mingw-w64-libraries/pseh/include/pseh/pseh2-common.h
+       mingw-w64-libraries/pseh/src/framebased.c
+       mingw-w64-libraries/pseh/include/pseh/framebased.h
+       mingw-w64-libraries/pseh/include/pseh/pseh.h
+       mingw-w64-libraries/pseh/include/pseh/framebased/internal.h
+       mingw-w64-libraries/pseh/include/pseh/excpt.h
+       mingw-w64-libraries/pseh/src/i386/framebased-gcchack.c
+       mingw-w64-libraries/pseh/include/pseh/pseh2.h
+Copyright: 2004/2005, 2008, 2009, 2010  KJK::Hyperion
+License:
+        Permission is hereby granted, free of charge, to any person obtaining a
+        copy of this software and associated documentation files (the "Software"),
+        to deal in the Software without restriction, including without limitation
+        the rights to use, copy, modify, merge, publish, distribute, sublicense,
+        and/or sell copies of the Software, and to permit persons to whom the
+        Software is furnished to do so, subject to the following conditions:
+ .
+        The above copyright notice and this permission notice shall be included in
+        all copies or substantial portions of the Software.
+ .
+        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+        FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+        DEALINGS IN THE SOFTWARE.
+
+
+Files: mingw-w64-headers/direct-x/include/d3d9types.h
+Copyright: 2005  Oliver Stieber
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/direct-x/include/d3d8.h
+       mingw-w64-headers/direct-x/include/d3d8types.h
+       mingw-w64-headers/direct-x/include/d3d8caps.h
+       mingw-w64-headers/direct-x/include/d3d9.h
+       mingw-w64-headers/direct-x/include/d3d9types.h
+       mingw-w64-headers/direct-x/include/d3d9caps.h
+Copyright: 2002-2003  Jason Edmeades
+License: LGPL-2.1+
+
+Files: mingw-w64-crt/stdio/mingw_pformat.c
+       mingw-w64-crt/gdtoa/arithchk.c
+       mingw-w64-crt/gdtoa/strtof.c
+       mingw-w64-crt/gdtoa/strtopx.c
+       mingw-w64-crt/gdtoa/gdtoaimp.h
+       mingw-w64-crt/gdtoa/strtodnrp.c
+       mingw-w64-crt/gdtoa/hexnan.c
+       mingw-w64-crt/gdtoa/hd_init.c
+       mingw-w64-crt/gdtoa/strtodg.c
+       mingw-w64-crt/gdtoa/dmisc.c
+       mingw-w64-crt/gdtoa/gmisc.c
+       mingw-w64-crt/gdtoa/sum.c
+       mingw-w64-crt/gdtoa/g_dfmt.c
+       mingw-w64-crt/gdtoa/g_ffmt.c
+       mingw-w64-crt/gdtoa/g__fmt.c
+       mingw-w64-crt/gdtoa/g_xfmt.c
+       mingw-w64-crt/gdtoa/gethex.c
+       mingw-w64-crt/gdtoa/gdtoa.h
+       mingw-w64-crt/gdtoa/misc.c
+       mingw-w64-crt/gdtoa/smisc.c
+       mingw-w64-crt/gdtoa/ulp.c
+Copyright: 1997, 1998, 1999, 2001  Lucent Technologies
+License:
+ Permission to use, copy, modify, and distribute this software and
+ its documentation for any purpose and without fee is hereby
+ granted, provided that the above copyright notice appear in all
+ copies and that both that the copyright notice and this
+ permission notice and warranty disclaimer appear in supporting
+ documentation, and that the name of Lucent or any of its entities
+ not be used in advertising or publicity pertaining to
+ distribution of the software without specific, written prior
+ permission.
+ .
+ LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
+ IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
+ SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
+ IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+ THIS SOFTWARE.
+
+Files: mingw-w64-headers/direct-x/include/d3d.h
+       mingw-w64-headers/direct-x/include/dsound.h
+       mingw-w64-headers/direct-x/include/dinput.h
+       mingw-w64-headers/direct-x/include/ddraw.h
+       mingw-w64-headers/direct-x/include/dplay.h
+Copyright: the Wine project
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/direct-x/include/dplobby.h
+Copyright: 1999  Francois Gouget
+           1999  Peter Hunnisett
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/ddk/include/ddk/imm.h
+Copyright: 2007  CodeWeavers, Aric Stewart
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/direct-x/include/dpnathlp.h
+Copyright: 2006  Maarten Lankhorst
+License: LGPL-2.1+
+
+Files: mingw-w64-headers/direct-x/include/d3dtypes.h
+       mingw-w64-headers/direct-x/include/d3dcaps.h
+       mingw-w64-headers/direct-x/include/dplobby.h
+Copyright: 1999, 2000  Peter Hunnisett
+License: LGPL-2.1+
+
+Files: mingw-w64-crt/gdtoa/strtodnrp.c
+       mingw-w64-crt/gdtoa/qnan.c
+Copyright: 2004, 2005  David M. Gay
+           1998, 2000  Lucent Technologies
+License:
+ Permission to use, copy, modify, and distribute this software and
+ its documentation for any purpose and without fee is hereby
+ granted, provided that the above copyright notice appear in all
+ copies and that both that the copyright notice and this
+ permission notice and warranty disclaimer appear in supporting
+ documentation, and that the name of Lucent or any of its entities
+ not be used in advertising or publicity pertaining to
+ distribution of the software without specific, written prior
+ permission.
+ .
+ LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
+ IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
+ SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
+ IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+ THIS SOFTWARE.
+
+
+Files: debian/*
+Copyright: 2009, 2010  Robert Millan
+License: GPL-2+
+
+
+License: LGPL-2.1+
+ On Debian systems the full text of the GNU Lesser General Public
+ License can be found in the `/usr/share/common-licenses/LGPL'
+ file.
+
+License: GPL-2+
+ On Debian systems the full text of the GNU General Public
+ License can be found in the `/usr/share/common-licenses/GPL'
+ file.
--- mingw-w64-0~20100125.orig/debian/patches/01_workaround_missing_headers.diff
+++ mingw-w64-0~20100125/debian/patches/01_workaround_missing_headers.diff
@@ -0,0 +1,56 @@
+--- mingw-w64-0~20100125.orig/mingw-w64-crt/Makefile.am
++++ mingw-w64-0~20100125/mingw-w64-crt/Makefile.am
+@@ -147,7 +147,7 @@
+   misc/execvp.c        misc/execvpe.c       misc/feclearexcept.c         misc/fegetenv.c        misc/fegetexceptflag.c \
+   misc/fegetround.c    misc/feholdexcept.c  misc/feraiseexcept.c         misc/fesetenv.c        misc/fesetexceptflag.c \
+   misc/fesetround.c    misc/fetestexcept.c  misc/feupdateenv.c           misc/ftruncate.c       misc/fwide.c           \
+-  misc/getlogin.c      misc/getopt.c        misc/gettimeofday.c          misc/gmtime.c          misc/imaxabs.c         \
++  misc/getlogin.c      misc/gettimeofday.c          misc/gmtime.c          misc/imaxabs.c         \
+   misc/imaxdiv.c       misc/isblank.c       misc/iswblank.c              misc/localtime.c       \
+   misc/mbrtowc.c       misc/mbsinit.c       misc/mingw-aligned-malloc.c  misc/mingw-fseek.c     misc/_mkgmtime.c       \
+   misc/mktime.c        misc/seterrno.c      misc/sleep.c                 misc/spawnv.c          misc/spawnve.c         \
+@@ -243,14 +243,6 @@
+ nodist_lib32_libm_a_SOURCES = $(src_libm)
+ lib32_libm_a_CPPFLAGS=-m32
+ 
+-lib32_LIBRARIES += lib32/libgmon.a
+-lib32_libgmon_a_SOURCES = profile/mcount.c \
+-  profile/profil.h profile/profil.c        \
+-  profile/gmon.h   profile/gmon.c \
+-  profile/mcountFunc.S
+-lib32_libgmon_a_AR = $(DTLIB) -m i386 --as-flags=--32; $(AR) $(ARFLAGS)
+-lib32_libgmon_a_CPPFLAGS=-m32
+-
+ lib32_LIBRARIES += lib32/libshell32.a
+ lib32_libshell32_a_SOURCES = $(src_libshell32)
+ lib32_libshell32_a_AR = $(DTLIB) -m i386 --as-flags=--32; $(AR) $(ARFLAGS)
+@@ -454,14 +446,6 @@
+ lib64_libdxguid_a_SOURCES = $(src_libdxguid)
+ lib64_libdxguid_a_CPPFLAGS=-m64
+ 
+-lib64_LIBRARIES += lib64/libgmon.a
+-lib64_libgmon_a_SOURCES = profile/mcount.c \
+-  profile/profil.h profile/profil.c        \
+-  profile/gmon.h   profile/gmon.c \
+-  profile/mcountFunc.S
+-lib64_libgmon_a_CPPFLAGS=-m64
+-lib64_libgmon_a_AR = $(DTLIB) -m i386:x86-64 --as-flags=--64; $(AR) $(ARFLAGS)
+-
+ lib64_LIBRARIES += lib64/libksuser.a
+ lib64_libksuser_a_SOURCES = $(src_libksuser)
+ lib64_libksuser_a_CPPFLAGS=-m64
+--- mingw-w64-0~20100125.orig/mingw-w64-headers/Makefile.am
++++ mingw-w64-0~20100125/mingw-w64-headers/Makefile.am
+@@ -22,7 +22,7 @@
+   crt/assert.h             crt/complex.h   crt/conio.h     crt/crtdbg.h    crt/crtdefs.h    crt/ctype.h       crt/direct.h           \
+   crt/dirent.h             crt/dir.h       crt/dos.h       crt/eh.h         crt/errno.h       crt/fcntl.h            \
+   crt/dvec.h  crt/ivec.h crt/fvec.h \
+-  crt/fenv.h               crt/float.h     crt/fpieee.h    crt/getopt.h     crt/ieeefp.h      crt/intrin.h           \
++  crt/fenv.h               crt/float.h     crt/fpieee.h    crt/ieeefp.h      crt/intrin.h           \
+   crt/inttypes.h           crt/io.h        crt/libgen.h    crt/limits.h    crt/locale.h     crt/malloc.h      crt/math.h             \
+   crt/mbctype.h            crt/mbstring.h  crt/mem.h       crt/memory.h    crt/_mingw.h     crt/_mingw_mac.h  crt/_mingw_print_pop.h \
+   crt/_mingw_print_push.h  crt/new.h       crt/string.h	   crt/strings.h   crt/dlfcn.h      \
+--- mingw-w64-0~20100125.orig/mingw-w64-headers/crt/getopt.h
++++ mingw-w64-0~20100125/mingw-w64-headers/crt/getopt.h
+@@ -0,0 +1 @@
++/* empty file */