From 3d01e9f2752cd97285d7effdf548f1ea7ec8feb8 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Wed, 14 Nov 2012 14:05:49 +0100 Subject: libc/mingw: replace mingw32 with generic mingw Replace the 32-bit-only mingw32 with mingw-w64 that is capable of building toolchains for both 32-bit and 64-bit Windows. kernel/mingw: replace mingw32 with generic Windows kernel/windows: New windows kernel supporting 32 and 64 bit arch libc/mingw: Remove old options patches: Remove old mingw libc options' patches Signed-off-by: "Yann Diorcet" [yann.morin.1998@free.fr: array var in libc/mingw.sh, typos] Signed-off-by: "Yann E. MORIN" Message-Id: Patchwork-Id: 198901 --- patches/PDCurses/3.4/mingw32_cross_compile.patch | 87 ------------------------ 1 file changed, 87 deletions(-) delete mode 100644 patches/PDCurses/3.4/mingw32_cross_compile.patch (limited to 'patches/PDCurses/3.4') diff --git a/patches/PDCurses/3.4/mingw32_cross_compile.patch b/patches/PDCurses/3.4/mingw32_cross_compile.patch deleted file mode 100644 index 060ff9a5..00000000 --- a/patches/PDCurses/3.4/mingw32_cross_compile.patch +++ /dev/null @@ -1,87 +0,0 @@ ---- PDCurses-3.4.orig/win32/mingwin32.mak 2009-11-02 13:50:11.000000000 +0100 -+++ PDCurses-3.4/win32/mingwin32.mak 2009-11-02 13:53:43.000000000 +0100 -@@ -18,7 +18,7 @@ - - PDCURSES_WIN_H = $(osdir)/pdcwin.h - --CC = gcc -+CC = $(CROSS_COMPILE)gcc - - ifeq ($(DEBUG),Y) - CFLAGS = -g -Wall -DPDCDEBUG -@@ -30,8 +30,8 @@ - - CFLAGS += -I$(PDCURSES_SRCDIR) - --BASEDEF = $(PDCURSES_SRCDIR)\exp-base.def --WIDEDEF = $(PDCURSES_SRCDIR)\exp-wide.def -+BASEDEF = $(PDCURSES_SRCDIR)/exp-base.def -+WIDEDEF = $(PDCURSES_SRCDIR)/exp-wide.def - - DEFDEPS = $(BASEDEF) - -@@ -46,17 +46,17 @@ - - DEFFILE = pdcurses.def - --LINK = gcc -+LINK = $(CROSS_COMPILE)gcc - - ifeq ($(DLL),Y) - CFLAGS += -DPDC_DLL_BUILD -- LIBEXE = gcc $(DEFFILE) -+ LIBEXE = $(CROSS_COMPILE)gcc $(DEFFILE) - LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o - LIBCURSES = pdcurses.dll - LIBDEPS = $(LIBOBJS) $(PDCOBJS) $(DEFFILE) - CLEAN = $(LIBCURSES) *.a $(DEFFILE) - else -- LIBEXE = ar -+ LIBEXE = $(CROSS_COMPILE)ar - LIBFLAGS = rcv - LIBCURSES = pdcurses.a - LIBDEPS = $(LIBOBJS) $(PDCOBJS) -@@ -70,24 +70,24 @@ - libs: $(LIBCURSES) - - clean: -- -del *.o -- -del *.exe -- -del $(CLEAN) -+ -rm *.o -+ -rm *.exe -+ -rm $(CLEAN) - - demos: $(DEMOS) -- strip *.exe -+ $(CROSS_COMPILE)strip *.exe - - $(DEFFILE): $(DEFDEPS) - echo LIBRARY pdcurses > $@ - echo EXPORTS >> $@ -- type $(BASEDEF) >> $@ -+ cat $(BASEDEF) >> $@ - ifeq ($(WIDE),Y) -- type $(WIDEDEF) >> $@ -+ cat $(WIDEDEF) >> $@ - endif - - $(LIBCURSES) : $(LIBDEPS) - $(LIBEXE) $(LIBFLAGS) $@ $? -- -copy pdcurses.a panel.a -+ -cp pdcurses.a panel.a - - $(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS) - $(PDCOBJS) : $(PDCURSES_WIN_H) ---- PDCurses-3.4.orig/curses.h 2009-11-03 14:12:18.000000000 +0100 -+++ PDCurses-3.4./curses.h 2009-11-03 14:14:09.000000000 +0100 -@@ -82,7 +82,9 @@ - * - */ - -+#ifndef __bool_true_false_are_defined - typedef unsigned char bool; /* PDCurses Boolean type */ -+#endif - - #ifdef CHTYPE_LONG - # if _LP64 -- cgit v1.2.3