-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Octave] 9.4.0 Add FreeBSD support. We have to expand platforms for libgfortran, however due to the use of gcc 10, only libgfortran5 builds are possible. --------- Co-authored-by: Mosè Giordano <[email protected]> Co-authored-by: Viral B. Shah <[email protected]> Co-authored-by: Viral Shah <[email protected]>
- Loading branch information
1 parent
d35b0a7
commit 9827424
Showing
3 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- liboctave/util/quit.h.orig 2025-02-22 05:49:55.536960056 +0000 | ||
+++ liboctave/util/quit.h 2025-02-22 05:53:11.370493713 +0000 | ||
@@ -224,7 +224,7 @@ | ||
|
||
#if defined (__cplusplus) | ||
|
||
-extern OCTAVE_API std::atomic<int> octave_interrupt_state; | ||
+extern OCTAVE_API std::atomic<sig_atomic_t> octave_interrupt_state; | ||
|
||
extern OCTAVE_API volatile std::atomic<bool> octave_signal_caught; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/liboctave/util/quit.h | ||
+++ b/liboctave/util/quit.h | ||
@@ -224,7 +224,7 @@ namespace octave | ||
// Signal handlers and the like need access to this | ||
OCTAVE_API extern quit_debug* get_quit_debug (void); | ||
|
||
- extern OCTAVE_API std::atomic<int> octave_interrupt_state; | ||
+ extern OCTAVE_API std::atomic<sig_atomic_t> octave_interrupt_state; | ||
|
||
// Called from octave_quit () to run all the octave_exit functions like | ||
// atexit () |