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:
parent
f3bcdd5f3a
commit
4adbc092b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334057
@ -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
|
||||
|
10
japanese/xdtp/files/patch-src_include_xdtp.h
Normal file
10
japanese/xdtp/files/patch-src_include_xdtp.h
Normal 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"
|
||||
|
11
japanese/xdtp/files/patch-src_main.cpp
Normal file
11
japanese/xdtp/files/patch-src_main.cpp
Normal 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();
|
12
japanese/xdtp/files/patch-src_util_Utilities.cpp
Normal file
12
japanese/xdtp/files/patch-src_util_Utilities.cpp
Normal 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>
|
Loading…
Reference in New Issue
Block a user