Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385972 Details for
Bug 524332
net-p2p/bitcoin-qt-0.9.3 with /bin/sh -> dash - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
use posix test syntax and no brace expansions
bcqt.diff (text/plain), 10.78 KB, created by
Mikael Magnusson
on 2014-10-03 03:13:08 UTC
(
hide
)
Description:
use posix test syntax and no brace expansions
Filename:
MIME Type:
Creator:
Mikael Magnusson
Created:
2014-10-03 03:13:08 UTC
Size:
10.78 KB
patch
obsolete
>diff -pudr bitcoin-0.9.3.orig/configure.ac bitcoin-0.9.3/configure.ac >--- bitcoin-0.9.3.orig/configure.ac 2014-10-03 05:04:16.331488720 +0200 >+++ bitcoin-0.9.3/configure.ac 2014-10-03 05:04:20.134488519 +0200 >@@ -263,7 +263,7 @@ if test x$use_comparison_tool != xno; th > fi > > if test x$use_comparison_tool_reorg_tests != xno; then >- if test x$use_comparison_tool == x; then >+ if test x$use_comparison_tool = x; then > AC_MSG_ERROR("comparison tool reorg tests but comparison tool was not specified") > fi > AC_SUBST(COMPARISON_TOOL_REORG_TESTS, 1) >@@ -271,20 +271,20 @@ else > AC_SUBST(COMPARISON_TOOL_REORG_TESTS, 0) > fi > >-if test x$use_lcov == xyes; then >- if test x$LCOV == x; then >+if test x$use_lcov = xyes; then >+ if test x$LCOV = x; then > AC_MSG_ERROR("lcov testing requested but lcov not found") > fi >- if test x$GCOV == x; then >+ if test x$GCOV = x; then > AC_MSG_ERROR("lcov testing requested but gcov not found") > fi >- if test x$JAVA == x; then >+ if test x$JAVA = x; then > AC_MSG_ERROR("lcov testing requested but java not found") > fi >- if test x$GENHTML == x; then >+ if test x$GENHTML = x; then > AC_MSG_ERROR("lcov testing requested but genhtml not found") > fi >- if test x$use_comparison_tool == x; then >+ if test x$use_comparison_tool = x; then > AC_MSG_ERROR("lcov testing requested but comparison tool was not specified") > fi > LCOV="$LCOV --gcov-tool=$GCOV" >@@ -515,7 +515,7 @@ BITCOIN_QT_INIT > > if test x$use_pkgconfig = xyes; then > >- if test x$PKG_CONFIG == x; then >+ if test x$PKG_CONFIG = x; then > AC_MSG_ERROR(pkg-config not found.) > fi > >@@ -626,7 +626,7 @@ if test x$bitcoin_enable_qt != xno; then > dnl enable qr support > AC_MSG_CHECKING([whether to build GUI with support for QR codes]) > if test x$have_qrencode = xno; then >- if test x$use_qr == xyes; then >+ if test x$use_qr = xyes; then > AC_MSG_ERROR("QR support requested but cannot be built. use --without-qrencode") > fi > AC_MSG_RESULT(no) >@@ -640,7 +640,7 @@ if test x$bitcoin_enable_qt != xno; then > fi > fi > >- if test x$XGETTEXT == x; then >+ if test x$XGETTEXT = x; then > AC_MSG_WARN("xgettext is required to update qt translations") > fi > >@@ -668,9 +668,9 @@ fi > AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin]) > AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin]) > AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows]) >-AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet == xyes]) >+AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet = xyes]) > AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes]) >-AM_CONDITIONAL([USE_LCOV],[test x$use_lcov == xyes]) >+AM_CONDITIONAL([USE_LCOV],[test x$use_lcov = xyes]) > AM_CONDITIONAL([USE_COMPARISON_TOOL],[test x$use_comparison_tool != xno]) > AM_CONDITIONAL([USE_COMPARISON_TOOL_REORG_TESTS],[test x$use_comparison_tool_reorg_test != xno]) > AM_CONDITIONAL([GLIBC_BACK_COMPAT],[test x$use_glibc_compat = xyes]) >diff -pudr bitcoin-0.9.3.orig/src/Makefile.include bitcoin-0.9.3/src/Makefile.include >--- bitcoin-0.9.3.orig/src/Makefile.include 2014-10-03 05:04:16.347490241 +0200 >+++ bitcoin-0.9.3/src/Makefile.include 2014-10-03 05:05:56.579738200 +0200 >@@ -40,18 +40,18 @@ $(LIBBITCOINQT): > ui_%.h: %.ui > @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D) > @test -f $(UIC) && QT_SELECT=$(QT_SELECT) $(UIC) -o $(abs_builddir)/$@ $(abs_srcdir)/$< || echo error: could not build $(abs_builddir)/$@ >- $(SED) -e '/^\*\*.*Created:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@{.n,} >- $(SED) -e '/^\*\*.*by:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@{.n,} >+ $(SED) -e '/^\*\*.*Created:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@.n $@ >+ $(SED) -e '/^\*\*.*by:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@.n $@ > > %.moc: %.cpp > QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $< >- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} >- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} >+ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $@ >+ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $@ > > moc_%.cpp: %.h > QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $< >- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} >- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} >+ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $@ >+ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $@ > > %.qm: %.ts > @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D) >diff -pudr bitcoin-0.9.3.orig/src/m4/bitcoin_qt.m4 bitcoin-0.9.3/src/m4/bitcoin_qt.m4 >--- bitcoin-0.9.3.orig/src/m4/bitcoin_qt.m4 2014-10-03 05:04:16.356489305 +0200 >+++ bitcoin-0.9.3/src/m4/bitcoin_qt.m4 2014-10-03 05:04:20.135488882 +0200 >@@ -81,12 +81,12 @@ dnl Outputs: bitcoin_enable_qt, bitcoin_ > AC_DEFUN([BITCOIN_QT_CONFIGURE],[ > use_pkgconfig=$1 > >- if test x$use_pkgconfig == x; then >+ if test x$use_pkgconfig = x; then > use_pkgconfig=yes > fi > > if test x$use_pkgconfig = xyes; then >- if test x$PKG_CONFIG == x; then >+ if test x$PKG_CONFIG = x; then > AC_MSG_ERROR(pkg-config not found.) > fi > BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS_WITH_PKGCONFIG([$2])]) >@@ -131,7 +131,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[ > if test x$use_dbus = xyes && test x$have_qt_dbus = xno; then > AC_MSG_ERROR("libQtDBus not found. Install libQtDBus or remove --with-qtdbus.") > fi >- if test x$LUPDATE == x; then >+ if test x$LUPDATE = x; then > AC_MSG_WARN("lupdate is required to update qt translations") > fi > ],[ >@@ -226,10 +226,10 @@ dnl Outputs: have_qt_test and have_qt_db > AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITH_PKGCONFIG],[ > m4_ifdef([PKG_CHECK_MODULES],[ > auto_priority_version=$1 >- if test x$auto_priority_version == x; then >+ if test x$auto_priority_version = x; then > auto_priority_version=qt5 > fi >- if test x$bitcoin_qt_want_version == xqt5 || ( test x$bitcoin_qt_want_version == xauto && test x$auto_priority_version == xqt5 ); then >+ if test x$bitcoin_qt_want_version = xqt5 || ( test x$bitcoin_qt_want_version = xauto && test x$auto_priority_version = xqt5 ); then > QT_LIB_PREFIX=Qt5 > bitcoin_qt_got_major_vers=5 > else >@@ -239,14 +239,14 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITH_PKG > qt5_modules="Qt5Core Qt5Gui Qt5Network Qt5Widgets" > qt4_modules="QtCore QtGui QtNetwork" > BITCOIN_QT_CHECK([ >- if test x$bitcoin_qt_want_version == xqt5 || ( test x$bitcoin_qt_want_version == xauto && test x$auto_priority_version == xqt5 ); then >+ if test x$bitcoin_qt_want_version = xqt5 || ( test x$bitcoin_qt_want_version = xauto && test x$auto_priority_version = xqt5 ); then > PKG_CHECK_MODULES([QT], [$qt5_modules], [QT_INCLUDES="$QT_CFLAGS"; have_qt=yes],[have_qt=no]) >- elif test x$bitcoin_qt_want_version == xqt4 || ( test x$bitcoin_qt_want_version == xauto && test x$auto_priority_version == xqt4 ); then >+ elif test x$bitcoin_qt_want_version = xqt4 || ( test x$bitcoin_qt_want_version = xauto && test x$auto_priority_version = xqt4 ); then > PKG_CHECK_MODULES([QT], [$qt4_modules], [QT_INCLUDES="$QT_CFLAGS"; have_qt=yes], [have_qt=no]) > fi > > dnl qt version is set to 'auto' and the preferred version wasn't found. Now try the other. >- if test x$have_qt == xno && test x$bitcoin_qt_want_version == xauto; then >+ if test x$have_qt = xno && test x$bitcoin_qt_want_version = xauto; then > if test x$auto_priority_version = x$qt5; then > PKG_CHECK_MODULES([QT], [$qt4_modules], [QT_INCLUDES="$QT_CFLAGS"; have_qt=yes; QT_LIB_PREFIX=Qt; bitcoin_qt_got_major_vers=4], [have_qt=no]) > else >@@ -293,7 +293,7 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_ > if test x$bitcoin_qt_want_version = xauto; then > _BITCOIN_QT_CHECK_QT5 > fi >- if test x$bitcoin_cv_qt5 == xyes || test x$bitcoin_qt_want_version = xqt5; then >+ if test x$bitcoin_cv_qt5 = xyes || test x$bitcoin_qt_want_version = xqt5; then > QT_LIB_PREFIX=Qt5 > bitcoin_qt_got_major_vers=5 > else >@@ -309,14 +309,14 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_ > fi > if test x$qt_plugin_path != x; then > LIBS="$LIBS -L$qt_plugin_path/accessible" >- if test x$bitcoin_qt_got_major_vers == x5; then >+ if test x$bitcoin_qt_got_major_vers = x5; then > LIBS="$LIBS -L$qt_plugin_path/platforms" > else > LIBS="$LIBS -L$qt_plugin_path/codecs" > fi > fi > >- if test x$TARGET_OS == xwindows; then >+ if test x$TARGET_OS = xwindows; then > AC_CHECK_LIB([imm32], [main],, BITCOIN_QT_FAIL(libimm32 not found)) > fi > ]) >@@ -326,7 +326,7 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_ > BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Core] ,[main],,BITCOIN_QT_FAIL(lib$QT_LIB_PREFIXCore not found))) > BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Gui] ,[main],,BITCOIN_QT_FAIL(lib$QT_LIB_PREFIXGui not found))) > BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Network],[main],,BITCOIN_QT_FAIL(lib$QT_LIB_PREFIXNetwork not found))) >- if test x$bitcoin_qt_got_major_vers == x5; then >+ if test x$bitcoin_qt_got_major_vers = x5; then > BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Widgets],[main],,BITCOIN_QT_FAIL(lib$QT_LIB_PREFIXWidgets not found))) > fi > QT_LIBS="$LIBS" >@@ -342,12 +342,12 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_ > dnl _BITCOIN_QT_CHECK_STATIC_PLUGINS does a quick link-check and appends the > dnl results to QT_LIBS. > BITCOIN_QT_CHECK([ >- if test x$bitcoin_qt_got_major_vers == x5; then >+ if test x$bitcoin_qt_got_major_vers = x5; then > _BITCOIN_QT_IS_STATIC >- if test x$bitcoin_cv_static_qt == xyes; then >+ if test x$bitcoin_cv_static_qt = xyes; then > AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static]) > _BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(AccessibleFactory)], [-lqtaccessiblewidgets]) >- if test x$TARGET_OS == xwindows; then >+ if test x$TARGET_OS = xwindows; then > _BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)],[-lqwindows]) > fi > fi >diff -pudr bitcoin-0.9.3.orig/src/qt/Makefile.am bitcoin-0.9.3/src/qt/Makefile.am >--- bitcoin-0.9.3.orig/src/qt/Makefile.am 2014-10-03 05:04:16.357489762 +0200 >+++ bitcoin-0.9.3/src/qt/Makefile.am 2014-10-03 05:05:56.580738095 +0200 >@@ -373,7 +373,7 @@ translate: bitcoinstrings.cpp $(QT_FORMS > $(QT_QRC_CPP): $(QT_QRC) $(QT_QM) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H) > @cd $(abs_srcdir); test -f $(RCC) && QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin -o $(abs_builddir)/$@ $< || \ > echo error: could not build $@ >- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} >- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} >+ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $@ >+ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $@ > > CLEANFILES = $(BUILT_SOURCES) $(QT_QM) $(QT_FORMS_H) *.gcda *.gcno
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 Raw
Actions:
View
Attachments on
bug 524332
: 385972