diff --git a/makedumpfile-x86-return-in-nonvoid-function.patch b/makedumpfile-x86-return-in-nonvoid-function.patch new file mode 100644 index 0000000..f26f9e6 --- /dev/null +++ b/makedumpfile-x86-return-in-nonvoid-function.patch @@ -0,0 +1,14 @@ +--- + arch/x86.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/x86.c ++++ b/arch/x86.c +@@ -64,6 +64,7 @@ remap_init(void) + } + + max_numnodes = n; ++ return TRUE; + } + + int diff --git a/makedumpfile.changes b/makedumpfile.changes index 06cedaf..dcb8d5c 100644 --- a/makedumpfile.changes +++ b/makedumpfile.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 19 12:10:40 UTC 2012 - ptesarik@suse.cz + +- makedumpfile-x86-return-in-nonvoid-function.patch: add a missing + return statement. + ------------------------------------------------------------------- Mon Jun 18 16:12:40 UTC 2012 - ptesarik@suse.cz diff --git a/makedumpfile.spec b/makedumpfile.spec index 2f4945c..4cf8e81 100644 --- a/makedumpfile.spec +++ b/makedumpfile.spec @@ -35,6 +35,7 @@ Url: https://sourceforge.net/projects/makedumpfile/ Source: %{name}-%{version}.tar.bz2 Source1: README.static Patch0: %{name}-coptflags.diff +Patch1: %{name}-x86-return-in-nonvoid-function.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 ia64 ppc64 s390x %arm @@ -53,6 +54,7 @@ Authors: %prep %setup -q %patch0 -p1 +%patch1 -p1 %build LIBS_STATIC=