summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2022-03-03 14:10:45 +0100
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2022-03-03 14:10:45 +0100
commitf0edd959ade7768291e10d02de04d3975bf90895 (patch)
treefc99a3fcc4a32c183efe01ef4979119ab5b75157
parentdd98414d9296b30643d7be6bfc90d379227c8a68 (diff)
Add patch that fixes missing include
-rw-r--r--debian/patches/missing-includes.patch24
-rw-r--r--debian/patches/series1
2 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/missing-includes.patch b/debian/patches/missing-includes.patch
new file mode 100644
index 0000000..1e71df5
--- /dev/null
+++ b/debian/patches/missing-includes.patch
@@ -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
diff --git a/debian/patches/series b/debian/patches/series
index 1570baf..7b5468b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+missing-includes.patch
02-geompp.patch
03-system-rtaudio.patch
04-system-json.patch