From aae8484161b2f5a39619b03c4bdd4175d454600532a64ada330f3e2f01856a5e Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 13 Oct 2019 07:25:07 +0000 Subject: [PATCH] Accepting request 737767 from home:StefanBruens:branches:openSUSE:Factory - Fix glpk-no_random_return.patch to return a value for a non-void function. OBS-URL: https://build.opensuse.org/request/show/737767 OBS-URL: https://build.opensuse.org/package/show/science/glpk?expand=0&rev=46 --- glpk-no_random_return.patch | 2 +- glpk.changes | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/glpk-no_random_return.patch b/glpk-no_random_return.patch index 71c9019..d78b22c 100644 --- a/glpk-no_random_return.patch +++ b/glpk-no_random_return.patch @@ -6,7 +6,7 @@ Index: glpk-4.65/src/draft/glpios01.c IOSCUT *ios_find_row(IOSPOOL *pool, int i) { /* find row (constraint) in the cut pool */ xassert(0); -+ return; ++ return 0; } #else IOSCUT *ios_find_row(IOSPOOL *pool, int i) diff --git a/glpk.changes b/glpk.changes index 2e30bc2..df6135e 100644 --- a/glpk.changes +++ b/glpk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 12 11:49:46 UTC 2019 - Stefan BrĂ¼ns + +- Fix glpk-no_random_return.patch to return a value for a non-void + function. + ------------------------------------------------------------------- Fri Dec 21 10:08:56 UTC 2018 - Martin Pluskal