diff options
author | Ritesh Raj Sarraf <rrs@researchut.com> | 2011-05-03 23:55:29 +0530 |
---|---|---|
committer | Ritesh Raj Sarraf <rrs@researchut.com> | 2011-05-03 23:55:29 +0530 |
commit | 60b14e69c0c58fe0a890608f17213d7b2f7a515e (patch) | |
tree | 642d4cb7c6b51f8021538163ef3e26e97574249f /debian | |
parent | 04a07376100cee9f38cabc43b32ce69e130d4b60 (diff) |
fix build compatibilities with newer linker (and binutils-gold)
Closes: #553936
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/explicit_library_link.patch | 23 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/explicit_library_link.patch b/debian/patches/explicit_library_link.patch new file mode 100644 index 0000000..6abf305 --- /dev/null +++ b/debian/patches/explicit_library_link.patch @@ -0,0 +1,23 @@ +newer linked (and binutils-gold) need explicit mention of the libraries to link to +Index: sysprof/configure +=================================================================== +--- sysprof.orig/configure 2011-05-03 23:51:53.217425962 +0530 ++++ sysprof/configure 2011-05-03 23:52:35.229634288 +0530 +@@ -3624,7 +3624,7 @@ + pkg_failed=untried + fi + if test -n "$DEP_LIBS"; then +- pkg_cv_DEP_LIBS="$DEP_LIBS" ++ pkg_cv_DEP_LIBS="$DEP_LIBS -ldl -lz" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$dep_modules\"") >&5 +@@ -3632,7 +3632,7 @@ + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then +- pkg_cv_DEP_LIBS=`$PKG_CONFIG --libs "$dep_modules" 2>/dev/null` ++ pkg_cv_DEP_LIBS="`$PKG_CONFIG --libs "$dep_modules" 2>/dev/null` -ldl -lz" + else + pkg_failed=yes + fi diff --git a/debian/patches/series b/debian/patches/series index 6506bef..c2349d4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ +explicit_library_link.patch foreign_kernel.patch package_version.patch static_libbfd.patch |