FreeBSD Bugzilla – Attachment 133735 Details for
Bug 178250
Fix build failures of japanese/{mozc-server,mozc-tool,ibus-mozc,mozc-el}
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 4.99 KB, created by
Tadaaki Nagao
on 2013-04-30 07:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Tadaaki Nagao
Created:
2013-04-30 07:50:00 UTC
Size:
4.99 KB
patch
obsolete
>diff -ruN /usr/ports/japanese/mozc-server.orig/Makefile /usr/ports/japanese/mozc-server/Makefile >--- /usr/ports/japanese/mozc-server.orig/Makefile 2013-04-28 18:13:49.550888000 +0900 >+++ /usr/ports/japanese/mozc-server/Makefile 2013-04-29 22:38:13.063887261 +0900 >@@ -25,12 +25,14 @@ > > BUILD_MOZC_LIST?= mozc_server > >-GYP_OPTIONS= >+GYP_OPTIONS= > .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" || \ > ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" || \ > ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" || \ > ${BUILD_MOZC_LIST:Mmozc_el} == "mozc_el" > GYP_OPTIONS= --noqt >+.elif ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" >+USE_QT4+= corelib gui > .endif > > .include <bsd.port.pre.mk> >@@ -60,7 +62,7 @@ > .endfor > LOCALBASE_PTN= ${LOCALBASE:S/\\/\\\\/g:S/"/\"/g:S/\$/\\$/g:S/,/\,/g} > >-BUILD_MODE= Release >+BUILD_MODE= Release > BUILD_CMD= ${SETENV} ${MAKE_ENV} ${GMAKE} > BUILD_MOZC_CMD= cd ${BUILD_WRKSRC} && \ > ${SETENV} BUILD_COMMAND="${WRKSRC}/mozcmake" \ >@@ -74,8 +76,8 @@ > ${LOCALBASE_REPLACE_FILES} > cd ${WRKSRC} && \ > ${REINPLACE_CMD} ${SSL_REINPLACE_STR} base/base.gyp >- ${MKDIR} -p ${WRKSRC}/mozc_build_tools/linux >- ${LN} -sf ${LOCALBASE}/bin/protoc ${WRKSRC}/mozc_build_tools/linux/ >+ ${MKDIR} ${WRKSRC}/mozc_build_tools/linux >+ ${LN} -sf ${LOCALBASE}/bin/protoc ${WRKSRC}/mozc_build_tools/linux/ > .if ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" > cd ${WRKSRC} && \ > ${REINPLACE_CMD} 's,/po/mo},%po}mo,g' \ >@@ -99,8 +101,9 @@ > > # mozc_server > .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" >-BUILD_DEPENDS+= glib:${PORTSDIR}/devel/glib20 \ >- gtk:${PORTSDIR}/x11-toolkits/gtk20 >+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 \ >+ ${LOCALBASE}/libdata/pkgconfig/gtk+-x11-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 \ >+ ${LOCALBASE}/libdata/pkgconfig/zinnia.pc:${PORTSDIR}/japanese/zinnia > PLIST_FILES+= bin/mozc_server > > do-build-mozc_server: >@@ -116,8 +119,7 @@ > # mozc_tool > .if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" > LIB_DEPENDS+= zinnia.0:${PORTSDIR}/japanese/zinnia >-BUILD_DEPENDS+= gtk:${PORTSDIR}/x11-toolkits/gtk20 >-USE_QT4+= corelib gui >+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/gtk+-x11-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 > RUN_DEPENDS+= ${LOCALBASE}/share/tegaki/models/zinnia/handwriting-ja.model:${PORTSDIR}/japanese/tegaki-zinnia-japanese > > PLIST_FILES+= bin/mozc_tool \ >@@ -164,7 +166,7 @@ > ${DATADIR_REL}/icons/product_logo.png \ > ${DATADIR_REL}/icons/properties.png \ > ${DATADIR_REL}/icons/tool.png \ >- share/ibus/component/mozc.xml >+ share/ibus/component/mozc.xml > PLIST_DIRS+= ${DATADIR_REL}/icons ${DATADIR_REL} > > do-build-ibus_mozc: >@@ -202,7 +204,7 @@ > > LIB_DEPENDS+= fcitx-config.4:${PORTSDIR}/chinese/fcitx \ > zinnia.0:${PORTSDIR}/japanese/zinnia >-BUILD_DEPENDS+= glib:${PORTSDIR}/devel/glib20 >+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 > RUN_DEPENDS+= mozc_server:${PORTSDIR}/japanese/mozc-server \ > mozc_tool:${PORTSDIR}/japanese/mozc-tool \ > mozc_server_start:${PORTSDIR}/japanese/mozc-additions >@@ -264,8 +266,8 @@ > .if ${BUILD_MOZC_LIST:Mmozc_el} == "mozc_el" > LIB_DEPENDS+= zinnia.0:${PORTSDIR}/japanese/zinnia > BUILD_DEPENDS+= emacs:${PORTSDIR}/editors/emacs \ >- glib:${PORTSDIR}/devel/glib20 \ >- gtk:${PORTSDIR}/x11-toolkits/gtk20 >+ ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 \ >+ ${LOCALBASE}/libdata/pkgconfig/gtk+-x11-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 > RUN_DEPENDS+= mozc_server:${PORTSDIR}/japanese/mozc-server \ > mozc_server_start:${PORTSDIR}/japanese/mozc-additions > >diff -ruN /usr/ports/japanese/mozc-server.orig/files/patch-gyp_common.gypi /usr/ports/japanese/mozc-server/files/patch-gyp_common.gypi >--- /usr/ports/japanese/mozc-server.orig/files/patch-gyp_common.gypi 2013-04-24 06:09:19.525367000 +0900 >+++ /usr/ports/japanese/mozc-server/files/patch-gyp_common.gypi 2013-04-29 22:36:45.226889706 +0900 >@@ -1,5 +1,5 @@ >---- gyp/common.gypi.orig 2013-04-21 03:48:45.395416165 +0900 >-+++ gyp/common.gypi 2013-04-21 08:31:10.191270448 +0900 >+--- gyp/common.gypi.orig 2013-03-29 13:33:42.000000000 +0900 >++++ gyp/common.gypi 2013-04-29 22:28:19.000000000 +0900 > @@ -58,7 +58,7 @@ > # warning_cflags will be shared with Mac and Linux. > 'warning_cflags': [ >@@ -9,7 +9,15 @@ > '-Wno-char-subscripts', > '-Wno-sign-compare', > '-Wno-deprecated-declarations', >-@@ -194,7 +194,7 @@ >+@@ -90,6 +90,7 @@ >+ # Libraries for GNU/Linux environment. >+ 'linux_ldflags': [ >+ '-pthread', >++ '-fstack-protector', >+ ], >+ >+ # 'conditions' is put inside of 'variables' so that we can use >+@@ -194,7 +195,7 @@ > # - http://code.google.com/p/protobuf/issues/detail?id=128 > # - http://code.google.com/p/protobuf/issues/detail?id=370 > # for the background information. >@@ -18,7 +26,7 @@ > > # use_libzinnia represents if zinnia library is used or not. > # This option is only for Linux. >-@@ -735,6 +735,12 @@ >+@@ -735,6 +736,12 @@ > # <unordered_map> and <unordered_set>. > '-Wno-deprecated', > ],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 178250
: 133735