Fix build with NLS disabled
Reported by: adamw
This commit is contained in:
parent
87d08088ca
commit
d9e09720c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515761
12
print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c
Normal file
12
print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c
Normal file
@ -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>
|
12
print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c
Normal file
12
print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user