summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2015-04-15 17:09:42 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2015-04-15 17:09:42 +0000
commitec39ea05cf39590e63dd2a7f4d56e7186aca97a9 (patch)
treed267ccbffcc542b4de084d06ce71574489e32af2 /deskutils
parent- Install INFO docs again as they're more complete [1] (diff)
Fix building on i386
PR: 199393 Submitted by: ppp15478@ribbon.or.jp
Notes
Notes: svn path=/head/; revision=384064
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/taskwarrior/Makefile2
-rw-r--r--deskutils/taskwarrior/files/patch-src-Variant.h14
2 files changed, 14 insertions, 2 deletions
diff --git a/deskutils/taskwarrior/Makefile b/deskutils/taskwarrior/Makefile
index 9032d593509e..5a64402612d1 100644
--- a/deskutils/taskwarrior/Makefile
+++ b/deskutils/taskwarrior/Makefile
@@ -15,8 +15,6 @@ LICENSE= MIT
OPTIONS_DEFINE=GNUTLS
OPTIONS_DEFAULT=GNUTLS
-ONLY_FOR_ARCHS= amd64
-
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
GNUTLS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_GnuTLS=TRUE
diff --git a/deskutils/taskwarrior/files/patch-src-Variant.h b/deskutils/taskwarrior/files/patch-src-Variant.h
new file mode 100644
index 000000000000..67e7fd987b01
--- /dev/null
+++ b/deskutils/taskwarrior/files/patch-src-Variant.h
@@ -0,0 +1,14 @@
+--- src/Variant.h 2015-03-16 08:02:55.000000000 +0900
++++ src/Variant.h 2015-04-12 08:39:14.000000000 +0900
+@@ -49,7 +49,11 @@
+ Variant (const double);
+ Variant (const std::string&);
+ Variant (const char*);
++#if defined(__FreeBSD__) && defined(__i386__)
++ Variant (const time_t, const enum type new_type);
++#else
+ Variant (const time_t, const enum type new_type = type_date);
++#endif
+ ~Variant ();
+
+ void source (const std::string&);