aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gdisk
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-07-31 00:05:38 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-07-31 00:05:38 +0000
commitbef5fe4531b9e3052763b1d40933430e6672afe9 (patch)
treee25e8c1f74579af2181a87ab79435d138bb36543 /sysutils/gdisk
parentb316f46909f72923cfaec694532c5367fd242afd (diff)
downloadports-bef5fe4531b9e3052763b1d40933430e6672afe9.tar.gz
ports-bef5fe4531b9e3052763b1d40933430e6672afe9.zip
Fix UTF16 option
PR: 227666 Submitted by: Ting-Wei Lan <lantw44@gmail.com>
Notes
Notes: svn path=/head/; revision=475960
Diffstat (limited to 'sysutils/gdisk')
-rw-r--r--sysutils/gdisk/files/patch-parttypes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/gdisk/files/patch-parttypes.h b/sysutils/gdisk/files/patch-parttypes.h
new file mode 100644
index 000000000000..86936d479922
--- /dev/null
+++ b/sysutils/gdisk/files/patch-parttypes.h
@@ -0,0 +1,12 @@
+--- parttypes.h.orig 2018-07-05 20:19:46 UTC
++++ parttypes.h
+@@ -16,6 +16,9 @@
+ #define __PARTITION_TYPES
+
+ using namespace std;
++#ifdef USE_UTF16
++using namespace icu;
++#endif
+
+ // A partition type
+ struct AType {