Advertisement
Guest User

grive getToBuild on Arch patch

a guest
Dec 10th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. From 229d4f2f2879c96bafd804d9e7c779219bdf0a04 Mon Sep 17 00:00:00 2001
  2. From: Milo Mordaunt <milomord@gmail.com>
  3. Date: Mon, 10 Dec 2012 20:30:20 +0000
  4. Subject: [PATCH] fixed presumably depricated UnitTest functions still being in
  5. existance + a compiler error with the latest binutils
  6.  
  7. ---
  8. libgrive/src/bfd/SymbolInfo.cc | 3 +++
  9. libgrive/test/util/ConfigTest.hh | 12 +++++-------
  10. 2 files changed, 8 insertions(+), 7 deletions(-)
  11.  
  12. diff --git a/libgrive/src/bfd/SymbolInfo.cc b/libgrive/src/bfd/SymbolInfo.cc
  13. index afd3ba1..aca6497 100644
  14. --- a/libgrive/src/bfd/SymbolInfo.cc
  15. +++ b/libgrive/src/bfd/SymbolInfo.cc
  16. @@ -17,6 +17,9 @@
  17. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  18. */
  19.  
  20. +#define PACKAGE "grive"
  21. +#define PACKAGE_VERSION "git"
  22. +
  23. #include "SymbolInfo.hh"
  24. #include "Debug.hh"
  25.  
  26. diff --git a/libgrive/test/util/ConfigTest.hh b/libgrive/test/util/ConfigTest.hh
  27. index f7e100d..3797f6c 100644
  28. --- a/libgrive/test/util/ConfigTest.hh
  29. +++ b/libgrive/test/util/ConfigTest.hh
  30. @@ -31,16 +31,14 @@ public :
  31. ConfigTest( ) ;
  32.  
  33. CPPUNIT_TEST_SUITE( ConfigTest ) ;
  34. - CPPUNIT_TEST( TestInitialiseWithEmptyString ) ;
  35. - CPPUNIT_TEST( TestInitialiseWithString ) ;
  36. - CPPUNIT_TEST( TestInitialiseWithFileSystemPath ) ;
  37. + CPPUNIT_TEST( TestInitialiseWithPath ) ;
  38. + CPPUNIT_TEST( TestInitialiseWithNoPath ) ;
  39. CPPUNIT_TEST_SUITE_END();
  40.  
  41. private :
  42. - void TestInitialiseWithEmptyString( );
  43. - void TestInitialiseWithString( );
  44. - void TestInitialiseWithFileSystemPath( );
  45. -} ;
  46. + void TestInitialiseWithNoPath( );
  47. + void TestInitialiseWithPath( );
  48. +};
  49.  
  50. } // end of namespace
  51.  
  52. --
  53. 1.8.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement