xoscope: fix build for gcc14
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -7054,9 +7054,10 @@
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
+#include <stddef.h>
|
||||
#include <comedilib.h>
|
||||
-main() {
|
||||
- comedi_get_cmd_generic_timed(NULL, NULL, NULL, 0, 0);
|
||||
+void main() {
|
||||
+ comedi_get_cmd_generic_timed(NULL, 0, NULL, 0, 0);
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0a5ycfc1qdmibvagc82r2mhv2i99m6pndy5i6ixas3j2297g6pgq";
|
||||
};
|
||||
|
||||
patches = [ ./fix-gcc14.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gnum4
|
||||
|
||||
Reference in New Issue
Block a user