summarylogtreecommitdiffstats
path: root/0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch
diff options
context:
space:
mode:
authorredfish2019-01-19 17:08:43 -0500
committerredfish2019-01-19 17:08:43 -0500
commit3b20a5c686ddbe8b7a5f4f0d6c3cbd08125ca5aa (patch)
treef87ad3fc1578af2331ca19775f157303527d1dd1 /0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch
parenta3ccc19a616a9b9dde4c8a6a4e346a2878e7c47f (diff)
downloadaur-3b20a5c686ddbe8b7a5f4f0d6c3cbd08125ca5aa.tar.gz
patch with link dependencies
Upstream build system relies on files generated by the build of monero.
Diffstat (limited to '0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch')
-rw-r--r--0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch b/0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch
new file mode 100644
index 000000000000..5f0a4128bb6d
--- /dev/null
+++ b/0002-pro-add-protobuf-lib-to-link-commnad-for-Linux.patch
@@ -0,0 +1,31 @@
+From a76cdaa5f75736269bf5f28cb39b76b1cb6d3ad2 Mon Sep 17 00:00:00 2001
+From: redfish <redfish@galactica.pw>
+Date: Sat, 19 Jan 2019 16:34:22 -0500
+Subject: [PATCH 2/2] pro: add protobuf lib to link commnad for Linux
+
+Fixes link failure on Arch Linux with libmonerowallet
+4e723843183b12308bce2ef560385ea885ad0174
+
+/usr/bin/ld:
+/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libwallet_merged.a(messages-management.pb.cc.o):(.data.rel.ro._ZTVN2hw6trezor8messages10management13SetU2FCounterE[_ZTVN2hw6trezor8messages10management13SetU2FCounterE]+0xb8):
+undefined reference to `google::protobuf::Message::SpaceUsedLong()
+const'
+---
+ monero-wallet-gui.pro | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro
+index c91cec5e..c8afa9b7 100644
+--- a/monero-wallet-gui.pro
++++ b/monero-wallet-gui.pro
+@@ -305,6 +305,7 @@ linux {
+ -lsodium \
+ -lhidapi-libusb \
+ -lusb-1.0 \
++ -lprotobuf \
+ -lcrypto $$TREZOR_LINKER
+
+ if(!android) {
+--
+2.20.1
+