svn commit: r515761 - head/print/texinfo/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Oct 27 09:59:26 UTC 2019
Author: sunpoet
Date: Sun Oct 27 09:59:25 2019
New Revision: 515761
URL: https://svnweb.freebsd.org/changeset/ports/515761
Log:
Fix build with NLS disabled
Reported by: adamw
Added:
head/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c (contents, props changed)
head/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c (contents, props changed)
Added: head/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c Sun Oct 27 09:59:25 2019 (r515761)
@@ -0,0 +1,12 @@
+--- tp/Texinfo/XS/parsetexi/api.c.orig 2019-08-25 17:11:45 UTC
++++ tp/Texinfo/XS/parsetexi/api.c
+@@ -25,7 +25,9 @@
+
+ #undef context
+
++#if defined(HAVE_LIBINTL_H)
+ #include <libintl.h>
++#endif
+
+ #include <stdlib.h>
+ #include <stdio.h>
Added: head/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c Sun Oct 27 09:59:25 2019 (r515761)
@@ -0,0 +1,12 @@
+--- tp/Texinfo/XS/parsetexi/errors.c.orig 2019-08-25 17:11:45 UTC
++++ tp/Texinfo/XS/parsetexi/errors.c
+@@ -14,7 +14,9 @@
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+ #include <config.h>
++#if defined(HAVE_LIBINTL_H)
+ #include <libintl.h>
++#endif
+
+ #include <stdlib.h>
+ #include <stdarg.h>
More information about the svn-ports-head
mailing list