Add patch that fixes missing include
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 3 Mar 2022 13:10:45 +0000 (14:10 +0100)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 3 Mar 2022 13:10:45 +0000 (14:10 +0100)
debian/patches/missing-includes.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/missing-includes.patch b/debian/patches/missing-includes.patch
new file mode 100644 (file)
index 0000000..1e71df5
--- /dev/null
@@ -0,0 +1,24 @@
+Description: fix missing standard-includes
+ size_t requires <csstddef>
+Author: IOhannes m zmölnig
+Origin: Debian
+Bug: https://github.com/monocasual/giada/issues/570
+Last-Update: 2022-03-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- giada.orig/src/gui/elems/basics/flex.cpp
++++ giada/src/gui/elems/basics/flex.cpp
+@@ -1,5 +1,6 @@
+ #include "flex.h"
+ #include <numeric>
++#include <cstddef>
+ namespace giada::v
+ {
+@@ -133,4 +134,4 @@
+       Fl_Group::end();
+       resize(x(), y(), w(), h());
+ }
+-} // namespace giada::v
+\ No newline at end of file
++} // namespace giada::v
index 1570baf2c49e8681675ccbda0ad4d4775772eba4..7b5468b38474863b331931dc9f63ad343ddbac64 100644 (file)
@@ -1,3 +1,4 @@
+missing-includes.patch
 02-geompp.patch
 03-system-rtaudio.patch
 04-system-json.patch