1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

fixed a build issue on 10

This commit is contained in:
Daichi GOTO 2013-11-17 07:41:50 +00:00
parent f3bcdd5f3a
commit 4adbc092b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334057
4 changed files with 34 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= xdtp
PORTVERSION= 1.5.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= http://www.ongs.co.jp/software/xdtp/
EXTRACT_SUFX= .tgz

View File

@ -0,0 +1,10 @@
--- src/include/xdtp.h.orig 2013-10-06 03:58:31.000000000 +0900
+++ src/include/xdtp.h 2013-10-06 03:58:44.000000000 +0900
@@ -40,6 +40,7 @@
#include <string.h>
#include <locale.h>
#include <errno.h>
+#include <unistd.h>
#include "xdtptypes.h"

View File

@ -0,0 +1,11 @@
--- src/main.cpp.orig 2013-10-06 03:56:39.000000000 +0900
+++ src/main.cpp 2013-10-06 03:56:58.000000000 +0900
@@ -36,6 +36,8 @@
#include "xdtp.h"
#include "XDTPTransform.h"
+#include <getopt.h>
+
using namespace XDTP;
static void initialize_locale();

View File

@ -0,0 +1,12 @@
--- src/util/Utilities.cpp.orig 2013-10-06 03:57:39.000000000 +0900
+++ src/util/Utilities.cpp 2013-10-06 03:57:55.000000000 +0900
@@ -37,7 +37,9 @@
#include <stdio.h>
#include <fcntl.h>
+#include <unistd.h>
#include <sys/errno.h>
+#include <sys/types.h>
#ifdef __linux__
#include <sys/file.h>