texproc/uim fix build with clang6
PR: 224669
This commit is contained in:
parent
94ac845319
commit
3a7cd8b157
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459234
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= uim
|
||||
PORTVERSION= 1.8.6
|
||||
PORTREVISION?= 2
|
||||
PORTREVISION?= 3
|
||||
CATEGORIES?= textproc
|
||||
MASTER_SITES= https://github.com/uim/uim/releases/download/${PORTNAME}-${PORTVERSION}/
|
||||
.if !defined(UIM_SLAVE) && defined(WITHOUT_X11)
|
||||
|
15
textproc/uim/files/patch-xim_main.cpp
Normal file
15
textproc/uim/files/patch-xim_main.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
error: invalid suffix on literal; C++11 requires a space between literal and identifier
|
||||
[-Wreserved-user-defined-literal]
|
||||
#define VERSION_NAME "uim-xim under the way! Version "PACKAGE_VERSION"\n"
|
||||
|
||||
--- xim/main.cpp.orig 2018-01-17 10:10:47 UTC
|
||||
+++ xim/main.cpp
|
||||
@@ -65,7 +65,7 @@ int g_option_mask;
|
||||
int scr_width, scr_height;
|
||||
int host_byte_order;
|
||||
|
||||
-#define VERSION_NAME "uim-xim under the way! Version "PACKAGE_VERSION"\n"
|
||||
+#define VERSION_NAME "uim-xim under the way! Version " PACKAGE_VERSION "\n"
|
||||
const char *version_name=VERSION_NAME;
|
||||
const char *usage=
|
||||
"--help , --version :Show usage or version\n"
|
Loading…
Reference in New Issue
Block a user