Unverified Commit de759a20 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

xoscope: fix build (#369718)

parents c8d0c2f1 1c4557ce
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
--- 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 :
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
    sha256 = "0a5ycfc1qdmibvagc82r2mhv2i99m6pndy5i6ixas3j2297g6pgq";
  };

  patches = [ ./fix-gcc14.patch ];

  nativeBuildInputs = [
    pkg-config
    gnum4