view src/msvc-libidn-1.patch @ 4618:de2eedecd6ba

update broken PKG_UPDATE rules, handle missing update rules * Makefile.in: add handling for packages with no update rule * src/gtk2.mk, src/gtk3.mk, src/libvpx.mk, src/taglib.mk, src/hunspell.mk, src/vala.mk : use github tags for version info * src/llvm.mk: add '?' to update url * src/openscenegraph.mk: update SED rule for version extraction * src/pthread-stubs.mk, src/qt5.mk, src/renderproto.mk, src/sm.mk, src/s2tc.mk, src/util-macros.mk: added dummy PKG_UPDATE rule * src/qscintilla.mk: change search name for version extraction * src/qtbase.mk: use short pkg version in update path * src/suitesparse.mk: update change in main url/version url * src/tre.mk: update download page link * src/vmime.mk: update download and update url * src/wget.mk, src/xapian-core.mk: update url, sed rule * src/wt.mk: update to use github download/update * src/src-msys-libcrypt.mk: update sed rule
author John Donoghue
date Fri, 09 Mar 2018 11:46:42 -0500
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)