diff --git a/abicheck-1.2-test-static.patch b/abicheck-1.2-test-static.patch index b025762..28302c8 100644 --- a/abicheck-1.2-test-static.patch +++ b/abicheck-1.2-test-static.patch @@ -10,3 +10,14 @@ diff -Nur abicheck-1.2-orig/test/Makefile abicheck-1.2/test/Makefile private1: private1.c cc -D`uname` -o private1 private1.c +diff -Nur abicheck-1.2-orig/test/libc_a.c abicheck-1.2/test/libc_a.c +--- abicheck-1.2-orig/test/libc_a.c 2003-08-26 21:57:51.000000000 +0200 ++++ abicheck-1.2/test/libc_a.c 2007-05-24 11:11:20.000000000 +0200 +@@ -5,6 +5,7 @@ + + /* This is used to catch libc.a linking. See Makefile & run_tests */ + ++#include + #include + #include + diff --git a/abicheck.spec b/abicheck.spec index da7562b..32329c5 100644 --- a/abicheck.spec +++ b/abicheck.spec @@ -3,7 +3,7 @@ Summary: ABI checking tool Name: abicheck Version: 1.2 -Release: 11.1 +Release: 11.2 License: LGPL Group: Applications/File URL: http://abicheck.sourceforge.net/ @@ -47,7 +47,7 @@ install -p -m 0644 abicheck.1 $RPM_BUILD_ROOT%{_mandir}/man1 %check -make test || ldd test/libc_a +make test || ./abicheck test/libc_a %clean