[mingw32-pdcurses] Use the correct toolchain tools in the patch

epienbro epienbro at fedoraproject.org
Mon Feb 27 20:11:46 UTC 2012


commit 186c683e19595dd094e395b499812523cf2f3912
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Mon Feb 27 21:11:41 2012 +0100

    Use the correct toolchain tools in the patch

 mingw32-pdcurses-3.4-build.patch |    4 ++--
 mingw32-pdcurses.spec            |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-pdcurses-3.4-build.patch b/mingw32-pdcurses-3.4-build.patch
index 6f87f8f..d111632 100644
--- a/mingw32-pdcurses-3.4-build.patch
+++ b/mingw32-pdcurses-3.4-build.patch
@@ -16,7 +16,7 @@
  ifeq ($(DLL),Y)
  	CFLAGS += -DPDC_DLL_BUILD
 -	LIBEXE = gcc $(DEFFILE)
-+	LIBEXE = i686-pc-mingw32-gcc $(DEFFILE)
++	LIBEXE = i686-w64-mingw32-gcc $(DEFFILE)
  	LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o
  	LIBCURSES = pdcurses.dll
  	LIBDEPS = $(LIBOBJS) $(PDCOBJS) $(DEFFILE)
@@ -33,7 +33,7 @@
  
  demos:	$(DEMOS)
 -	strip *.exe
-+	i686-pc-mingw32-strip *.exe
++	i686-w64-mingw32-strip *.exe
  
  $(DEFFILE): $(DEFDEPS)
  	echo LIBRARY pdcurses > $@
diff --git a/mingw32-pdcurses.spec b/mingw32-pdcurses.spec
index 1639986..e228cc3 100644
--- a/mingw32-pdcurses.spec
+++ b/mingw32-pdcurses.spec
@@ -87,6 +87,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 3.4-10
 - Rebuild against the mingw-w64 toolchain
+- Use the correct toolchain tools in the patch
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.4-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild


More information about the mingw mailing list