require unistd.h for access(2)

This commit is contained in:
obache 2013-03-20 06:08:44 +00:00
parent 54f314f682
commit e3c11fc68c
4 changed files with 32 additions and 2 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2009/11/24 11:53:35 obache Exp $
$NetBSD: distinfo,v 1.2 2013/03/20 06:08:44 obache Exp $
SHA1 (scim-fcitx.3.1.1.tar.bz2) = 900d4c4de01bc87a1f9b543afc15e8ccb1ae7775
RMD160 (scim-fcitx.3.1.1.tar.bz2) = 7c064af4b8c847caac1ae27d6356e9b925bb6528
Size (scim-fcitx.3.1.1.tar.bz2) = 1612134 bytes
SHA1 (patch-aa) = 3b50251864dd69c79dfef9c46c728e735a88248e
SHA1 (patch-src_tools.cpp) = 3d3e3328289faebea780a1504f1ce70e8d7a2671

View file

@ -0,0 +1,14 @@
$NetBSD: patch-src_tools.cpp,v 1.1 2013/03/20 06:08:44 obache Exp $
* require unistd.h for access(2).
--- src/tools.cpp.orig 2005-05-20 14:41:12.000000000 +0000
+++ src/tools.cpp
@@ -12,6 +12,7 @@ using namespace scim;
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <limits.h>
#include <string.h>

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2012/08/19 09:04:17 obache Exp $
$NetBSD: distinfo,v 1.3 2013/03/20 06:15:58 obache Exp $
SHA1 (scim-hangul-0.4.0.tar.gz) = 2ba06a6d851a1d86c5a9b659c573bfd87e6a7555
RMD160 (scim-hangul-0.4.0.tar.gz) = 7c03cb5461e05f1d4944bef06ebf25005ee0e403
Size (scim-hangul-0.4.0.tar.gz) = 456953 bytes
SHA1 (patch-src_scim__hangul__imengine.cpp) = ee684faefa3d9a54d44edc92d1559172774bcf06
SHA1 (patch-src_scim__hangul__imengine__setup.cpp) = ef01740a3e28cff8c6aa60036c53772f95fb7a19

View file

@ -0,0 +1,14 @@
$NetBSD: patch-src_scim__hangul__imengine.cpp,v 1.1 2013/03/20 06:15:58 obache Exp $
* require unistd.h for access(2)
--- src/scim_hangul_imengine.cpp.orig 2012-07-08 11:16:59.000000000 +0000
+++ src/scim_hangul_imengine.cpp
@@ -33,6 +33,7 @@
#include <config.h>
#endif
+#include <unistd.h>
#include <cstring>
#include <scim.h>
#include "scim_hangul_imengine.h"