view src/msvc-libidn-1.patch @ 5494:898c27394c57

Use python3 in scripts (bug #58689). * Makefile.in: native mingw, depend on python3, set PYTHON3 var * tools/msys2-install.py: update for python3 syntax * tools/pkg-install.py: update for python3 syntax
author John Donoghue <john.donoghue@ieee.org>
date Sat, 04 Jul 2020 12:14:29 -0400
parents fae995570da2
children
line wrap: on
line source

diff -ur libidn-1.25-orig/examples/example.c libidn-1.25/examples/example.c
--- libidn-1.25-orig/examples/example.c	2012-04-27 06:48:08 -0400
+++ libidn-1.25/examples/example.c	2013-06-23 15:49:49 -0400
@@ -18,6 +18,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff -ur libidn-1.25-orig/examples/example2.c libidn-1.25/examples/example2.c
--- libidn-1.25-orig/examples/example2.c	2012-04-27 06:48:08 -0400
+++ libidn-1.25/examples/example2.c	2013-06-23 15:50:00 -0400
@@ -19,6 +19,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <locale.h>		/* setlocale() */
 
 /*
diff -ur libidn-1.25-orig/examples/example3.c libidn-1.25/examples/example3.c
--- libidn-1.25-orig/examples/example3.c	2012-04-27 06:48:08 -0400
+++ libidn-1.25/examples/example3.c	2013-06-23 15:50:06 -0400
@@ -18,6 +18,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff -ur libidn-1.25-orig/examples/example4.c libidn-1.25/examples/example4.c
--- libidn-1.25-orig/examples/example4.c	2012-04-27 06:48:08 -0400
+++ libidn-1.25/examples/example4.c	2013-06-23 15:50:12 -0400
@@ -18,6 +18,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff -ur libidn-1.25-orig/examples/example5.c libidn-1.25/examples/example5.c
--- libidn-1.25-orig/examples/example5.c	2012-04-27 06:48:08 -0400
+++ libidn-1.25/examples/example5.c	2013-06-23 15:50:18 -0400
@@ -18,6 +18,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff -ur libidn-1.25-orig/lib/Makefile.in libidn-1.25/lib/Makefile.in
--- libidn-1.25-orig/lib/Makefile.in	2012-05-23 04:36:47 -0400
+++ libidn-1.25/lib/Makefile.in	2013-06-23 15:49:18 -0400
@@ -1090,7 +1090,7 @@
 	$(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined \
 	$(am__append_3) $(am__append_4) $(am__append_5)
 @HAVE_LD_OUTPUT_DEF_TRUE@defexecdir = $(bindir)
-@HAVE_LD_OUTPUT_DEF_TRUE@defexec_DATA = libidn-$(DLL_VERSION).def
+@HAVE_LD_OUTPUT_DEF_TRUE@#defexec_DATA = libidn-$(DLL_VERSION).def
 @HAVE_LD_OUTPUT_DEF_TRUE@CLEANFILES = $(defexec_DATA)
 SPEC = $(top_srcdir)/doc/specifications
 all: $(BUILT_SOURCES)