octave.pkgs.database: Fix c_verror issue

This commit is contained in:
Doron Behar 2023-03-28 13:55:00 +03:00
parent 46293d2b9a
commit 73b6b55ab2
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/src/error-helpers.h
+++ b/src/error-helpers.h
@@ -64,7 +64,7 @@
} \
catch (OCTAVE__EXECUTION_EXCEPTION& e) \
{ \
- verror (e, __VA_ARGS__); \
+ c_verror (e, __VA_ARGS__); \
}
#endif

View file

@ -13,6 +13,10 @@ buildOctavePackage rec {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1c0n76adi0jw6bx62s04vjyda6kb6ca8lzz2vam43vdy10prcq9p";
};
patches = [
# Fix for octave 8.x
./c_verror.patch
];
propagatedBuildInputs = [
postgresql