summarylogtreecommitdiffstats
path: root/001-mingw-pdcurses-4.1.0-build.patch
diff options
context:
space:
mode:
authorAndrew Sun2019-06-13 10:56:50 -0400
committerAndrew Sun2019-06-13 10:56:50 -0400
commitdbdc988f21325828bb29d2c4ff2a075995cb5725 (patch)
treef6ecf601ccaa803a12cdbd08ee89db0426dfa159 /001-mingw-pdcurses-4.1.0-build.patch
parentaa8210254e200b19d2c1acb90d671c09760e695e (diff)
downloadaur-dbdc988f21325828bb29d2c4ff2a075995cb5725.tar.gz
mingw-w64-pdcurses: update to 4.1.0
Diffstat (limited to '001-mingw-pdcurses-4.1.0-build.patch')
-rw-r--r--001-mingw-pdcurses-4.1.0-build.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/001-mingw-pdcurses-4.1.0-build.patch b/001-mingw-pdcurses-4.1.0-build.patch
new file mode 100644
index 00000000000..2224b9ce281
--- /dev/null
+++ b/001-mingw-pdcurses-4.1.0-build.patch
@@ -0,0 +1,68 @@
+diff -Naur pdcurses-4.1.0-orig/wincon/Makefile.mng pdcurses-4.1.0/wincon/Makefile.mng
+--- pdcurses-4.1.0-orig/wincon/Makefile.mng 2019-05-09 02:27:41.000000000 +0300
++++ pdcurses-4.1.0/wincon/Makefile.mng 2019-05-28 08:49:28.054006700 +0300
+@@ -100,8 +100,9 @@
+ ifeq ($(DLL),Y)
+ CFLAGS += -DPDC_DLL_BUILD
+ LIBEXE = $(PREFIX)gcc
+- LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o
+- LIBCURSES = pdcurses.dll
++ LIBARCHIVE = libpdcurses.dll.a
++ LIBFLAGS = -Wl,--out-implib,$(LIBARCHIVE) -shared -o
++ LIBCURSES = libpdcurses.dll
+ LIBDEPS = $(LIBOBJS) $(PDCOBJS)
+ LIBSADDED =
+ EXELIBS =
+@@ -113,7 +114,8 @@
+ else
+ LIBFLAGS = rv
+ endif
+- LIBCURSES = pdcurses.a
++ LIBARCHIVE = libpdcurses.a
++ LIBCURSES = $(LIBARCHIVE)
+ LIBDEPS = $(LIBOBJS) $(PDCOBJS)
+ LIBSADDED =
+ EXELIBS =
+@@ -139,7 +141,7 @@
+
+ $(LIBCURSES) : $(LIBDEPS)
+ $(LIBEXE) $(LIBFLAGS) $@ $? $(LIBSADDED)
+- $(CP) pdcurses.a panel.a
++ $(CP) $(LIBARCHIVE) libpanel.a
+
+ $(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
+ $(PDCOBJS) : $(PDCURSES_WIN_H)
+diff -Naur pdcurses-4.1.0-orig/wingui/Makefile.mng pdcurses-4.1.0/wingui/Makefile.mng
+--- pdcurses-4.1.0-orig/wingui/Makefile.mng 2019-05-09 02:27:41.000000000 +0300
++++ pdcurses-4.1.0/wingui/Makefile.mng 2019-05-28 08:48:33.963930900 +0300
+@@ -98,8 +98,9 @@
+ ifeq ($(DLL),Y)
+ CFLAGS += -DPDC_DLL_BUILD
+ LIBEXE = $(CC)
+- LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o
+- LIBCURSES = pdcurses.dll
++ LIBARCHIVE = libpdcurses.dll.a
++ LIBFLAGS = -Wl,--out-implib,$(LIBARCHIVE) -shared -o
++ LIBCURSES = libpdcurses.dll
+ LIBDEPS = $(LIBOBJS) $(PDCOBJS)
+ LIBSADDED = -lgdi32 -lcomdlg32
+ EXELIBS =
+@@ -111,7 +112,8 @@
+ else
+ LIBFLAGS = rv
+ endif
+- LIBCURSES = pdcurses.a
++ LIBARCHIVE = libpdcurses.a
++ LIBCURSES = $(LIBARCHIVE)
+ LIBDEPS = $(LIBOBJS) $(PDCOBJS)
+ LIBSADDED =
+ EXELIBS = -lgdi32 -lcomdlg32
+@@ -137,7 +139,7 @@
+
+ $(LIBCURSES) : $(LIBDEPS)
+ $(LIBEXE) $(LIBFLAGS) $@ $? $(LIBSADDED)
+- $(CP) pdcurses.a panel.a
++ $(CP) $(LIBARCHIVE) libpanel.a
+
+ $(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
+ $(PDCOBJS) : $(PDCURSES_WIN_H)