Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2019 09:59:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515761 - head/print/texinfo/files
Message-ID:  <201910270959.x9R9xPEU038130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910270959.x9R9xPEU038130>