From 03b0db71e95defd810f579f0b68751b553efe70f Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Fri, 7 May 2021 12:39:47 +0200 Subject: [PATCH] Added files --- .../gnote/files/gnote-3.38.1-cstddef.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app-misc/gnote/files/gnote-3.38.1-cstddef.patch diff --git a/app-misc/gnote/files/gnote-3.38.1-cstddef.patch b/app-misc/gnote/files/gnote-3.38.1-cstddef.patch new file mode 100644 index 0000000..716ae29 --- /dev/null +++ b/app-misc/gnote/files/gnote-3.38.1-cstddef.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/768198 + +From 49e652613a1e28f1220f593ba18108839d3d2505 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Mon, 22 Mar 2021 15:04:01 +0100 +Subject: [PATCH] Fix AbstractAddin compilation error +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +gnote/src/abstractaddin.cpp: In constructor ‘gnote::AbstractAddin::AbstractAddin()’: +gnote/src/abstractaddin.cpp:29:15: error: ‘NULL’ was not declared in this scope + 29 | : m_gnote(NULL) + | ^~~~ +gnote/src/abstractaddin.cpp:25:1: note: ‘NULL’ is defined in header ‘’; did you forget to ‘#include ’? + 24 | #include "abstractaddin.hpp" + +++ |+#include + 25 | +--- + src/abstractaddin.cpp | 1 + + 1 file changed, 1 insertion(+) + +--- a/src/abstractaddin.cpp ++++ b/src/abstractaddin.cpp +@@ -22,6 +22,7 @@ + + + #include "abstractaddin.hpp" ++#include + + namespace gnote { + +-- +2.31.1