[memstomp/f19] Link in libiberty (#962763)
Jeffrey Law
law at fedoraproject.org
Thu May 30 12:11:45 UTC 2013
commit 5880f6b115d6dcc5e5af8d985b93c9cfcbbcc93a
Author: Jeff Law <law at redhat.com>
Date: Tue May 14 15:36:43 2013 -0600
Link in libiberty (#962763)
memstomp-rh962763.patch | 15 +++++++++++++++
memstomp.spec | 7 ++++++-
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/memstomp-rh962763.patch b/memstomp-rh962763.patch
new file mode 100644
index 0000000..9fce643
--- /dev/null
+++ b/memstomp-rh962763.patch
@@ -0,0 +1,15 @@
+diff -Nrup a/configure.ac b/configure.ac
+--- a/configure.ac 2013-05-14 14:27:04.316530952 -0600
++++ b/configure.ac 2013-05-14 14:27:37.854394379 -0600
+@@ -72,8 +72,10 @@ AC_CHECK_HEADERS([sys/poll.h])
+ AC_CHECK_HEADERS([sys/ioctl.h])
+ AC_CHECK_HEADERS([byteswap.h])
+
++AC_SEARCH_LIBS([htab_find_slot], [iberty], [], [AC_MSG_ERROR([*** libiberty not found])])
++AC_CHECK_HEADERS([libiberty.h], [], [AC_MSG_ERROR([*** libiberty.h header not found])])
+ AC_SEARCH_LIBS([bfd_init], [bfd], [], [AC_MSG_ERROR([*** libbfd not found])])
+-AC_CHECK_HEADERS([bfd.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
++AC_CHECK_HEADERS([bfd.h], [], [AC_MSG_ERROR([*** bfd.h header not found])])
+
+ #### Typdefs, structures, etc. ####
+
diff --git a/memstomp.spec b/memstomp.spec
index 3f00fcc..e9b7c5b 100644
--- a/memstomp.spec
+++ b/memstomp.spec
@@ -1,7 +1,7 @@
%global githash 38573e7d
Name: memstomp
Version: 0.1.4
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Warns of memory argument overlaps to various functions
Group: Development/Debuggers
# The entire source code is LGPLV3+ with the exception of backtrace-symbols.c which
@@ -21,6 +21,7 @@ BuildRequires: binutils-devel autoconf automake dejagnu
Patch0: memstomp-testsuite.patch
Patch1: memstomp-man.patch
Patch2: memstomp-rh961495.patch
+Patch3: memstomp-rh962763.patch
%description
@@ -36,6 +37,7 @@ overlapping memory arguments to certain library calls.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
@@ -55,6 +57,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_mandir}/man1/memstomp.1.gz
%changelog
+* Tue May 14 2013 Jeff Law <law at redhat.com> 0.1.4-8
+- Link in libiberty too (#962763)
+
* Fri May 10 2013 Jeff Law <law at redhat.com> 0.1.4-7
- Improve man page (#961518)
More information about the scm-commits
mailing list