diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-06 10:42:02 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-06 10:42:02 +0000 |
commit | 0da2b76e542912a766e04bc606c1506038296b40 (patch) | |
tree | 370e791b91c8290a9e0659b1d341c0f56f35b62d /app-pda/barry/files | |
parent | Fix building with GCC 4.5+ wrt #318429 by Kacper Kowalik. Force Python 2.x. (diff) | |
download | gentoo-2-0da2b76e542912a766e04bc606c1506038296b40.tar.gz gentoo-2-0da2b76e542912a766e04bc606c1506038296b40.tar.bz2 gentoo-2-0da2b76e542912a766e04bc606c1506038296b40.zip |
Fix building with GCC 4.5+ and -Wl,--as-needed wrt #318583 by Kacper Kowalik.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-pda/barry/files')
-rw-r--r-- | app-pda/barry/files/barry-0.16-asneeded.patch | 15 | ||||
-rw-r--r-- | app-pda/barry/files/barry-0.16-gcc45.patch | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/app-pda/barry/files/barry-0.16-asneeded.patch b/app-pda/barry/files/barry-0.16-asneeded.patch new file mode 100644 index 000000000000..eb43780006a3 --- /dev/null +++ b/app-pda/barry/files/barry-0.16-asneeded.patch @@ -0,0 +1,15 @@ +Fixing as-needed issues + +http://bugs.gentoo.org/show_bug.cgi?id=318583 + +--- tools/Makefile.am ++++ tools/Makefile.am +@@ -50,7 +50,7 @@ + bjvmdebug_LDADD = ../src/libbarry.la $(LIBUSB_LIBS) -lpthread + + bdptest_SOURCES = bdptest.cc +-bdptest_LDADD = ../src/libbarrydp.la ++bdptest_LDADD = ../src/libbarry.la ../src/libbarrydp.la + + bjdwp_SOURCES = bjdwp.cc + bjdwp_LDADD = ../src/libbarry.la ../src/libbarrydp.la ../src/libbarryjdwp.la diff --git a/app-pda/barry/files/barry-0.16-gcc45.patch b/app-pda/barry/files/barry-0.16-gcc45.patch new file mode 100644 index 000000000000..0f9be0a58fb5 --- /dev/null +++ b/app-pda/barry/files/barry-0.16-gcc45.patch @@ -0,0 +1,15 @@ +Fixing build with gcc 4.5 + +http://bugs.gentoo.org/show_bug.cgi?id=318583 + +--- src/j_message.h ++++ src/j_message.h +@@ -31,7 +31,7 @@ + private: + int m_socket; + +- JDWP::JDWP m_jdwp; ++ JDWP m_jdwp; + + void RawSend(Barry::Data &send, int timeout = -1); + bool RawReceive(Barry::Data &receive, int timeout = -1); |