diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-10-27 09:59:25 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-10-27 09:59:25 +0000 |
commit | d9e09720c031c529416a365fa459b2bc3034406b (patch) | |
tree | b31175a4f548b2c58517412d1a338f172c374cfd /print/texinfo | |
parent | 87d08088cad5aa2c069917e4ea550774c5d7657c (diff) | |
download | ports-d9e09720c031c529416a365fa459b2bc3034406b.tar.gz ports-d9e09720c031c529416a365fa459b2bc3034406b.zip |
Fix build with NLS disabled
Reported by: adamw
Notes
Notes:
svn path=/head/; revision=515761
Diffstat (limited to 'print/texinfo')
-rw-r--r-- | print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c | 12 | ||||
-rw-r--r-- | print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c b/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c new file mode 100644 index 000000000000..b433f95c1ce2 --- /dev/null +++ b/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-api.c @@ -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> diff --git a/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c b/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c new file mode 100644 index 000000000000..6ba02010067d --- /dev/null +++ b/print/texinfo/files/patch-tp-Texinfo-XS-parsetexi-errors.c @@ -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> |