mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
octave.pkgs.database: Fix c_verror issue
This commit is contained in:
parent
46293d2b9a
commit
73b6b55ab2
11
pkgs/development/octave-modules/database/c_verror.patch
Normal file
11
pkgs/development/octave-modules/database/c_verror.patch
Normal 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user