summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2024-03-18 18:01:58 +0100
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2024-03-18 18:04:11 +0100
commit0291d2b2a23a53a7231f851997b56fce8d91ab20 (patch)
tree8c21220669d3a079aa9dfdf2a85678e33a17105b
parenta2bc02235e73a308066e94096005268005186883 (diff)
Add patch to fix more missing declarations
-rw-r--r--debian/patches/implicit_declarations.patch31
-rw-r--r--debian/patches/series1
2 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/implicit_declarations.patch b/debian/patches/implicit_declarations.patch
new file mode 100644
index 0000000..6a97595
--- /dev/null
+++ b/debian/patches/implicit_declarations.patch
@@ -0,0 +1,31 @@
+Description: Fix missing declarations
+Author: IOhannes m zmölnig
+Origin: Debian
+Forwarded: no
+Last-Update: 2024-03-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pd-ext13.orig/openpatch.c
++++ pd-ext13/openpatch.c
+@@ -19,6 +19,11 @@
+ #pragma warning( disable : 4305 )
+ #endif
+
++
++/* taken from m_imp.h */
++EXTERN t_pd *glob_evalfile(t_pd *ignore, t_symbol *name, t_symbol *dir);
++
++
+ /* -------------------------- openpatch ------------------------------ */
+ static t_class *openpatch_class;
+
+--- pd-ext13.orig/scramble~.c
++++ pd-ext13/scramble~.c
+@@ -3,6 +3,7 @@
+ #include <sys/types.h>
+ #include <string.h>
+ #include <math.h>
++#include <stdlib.h>
+ #ifndef _WIN32
+ #include <netinet/in.h>
+ #include <netdb.h>
diff --git a/debian/patches/series b/debian/patches/series
index f2df82e..98baa14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
pd_error.patch
+implicit_declarations.patch
format-security.patch
pd-lib-builder.patch