summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2023-07-03 09:54:02 +0200
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2023-07-03 09:54:05 +0200
commit413bad4e911fc73b63b992c0291d55c6b181f64b (patch)
tree52ec6d96ea6c5b9185c22d6563f23de4dc187aca
parent1583716306814fdd99b28c9d2a55c72bb01b62ee (diff)
Fix fox-format patch
Gbp-Dch: ignore
-rw-r--r--debian/patches/compiler-warnings.patch1
-rw-r--r--debian/patches/fix-format.patch33
-rw-r--r--debian/patches/pd_error.patch1
3 files changed, 31 insertions, 4 deletions
diff --git a/debian/patches/compiler-warnings.patch b/debian/patches/compiler-warnings.patch
index d73281b..ab6e430 100644
--- a/debian/patches/compiler-warnings.patch
+++ b/debian/patches/compiler-warnings.patch
@@ -4,7 +4,6 @@ Subject: Fix compiler warnings
Forwarded: https://github.com/electrickery/pd-maxlib/pull/2
Last-Update: 2023-07-03
-
---
src/chord.c | 54 +++++++++++++++++++++++++++---------------------------
src/dist.c | 6 ------
diff --git a/debian/patches/fix-format.patch b/debian/patches/fix-format.patch
index c350a7b..0a4e156 100644
--- a/debian/patches/fix-format.patch
+++ b/debian/patches/fix-format.patch
@@ -4,7 +4,6 @@ Subject: fixed format-security errors
Forwarded: https://github.com/electrickery/pd-maxlib/pull/2
Last-Update: 2023-07-03
-
---
src/allow.c | 2 +-
src/arbran.c | 2 +-
@@ -34,6 +33,7 @@ Last-Update: 2023-07-03
src/linear.c | 2 +-
src/listfifo.c | 2 +-
src/listfunnel.c | 2 +-
+ src/maxlib.c | 4 ++--
src/minus.c | 2 +-
src/mlife.c | 2 +-
src/multi.c | 2 +-
@@ -48,6 +48,7 @@ Last-Update: 2023-07-03
src/poisson.c | 2 +-
src/pong.c | 2 +-
src/pulse.c | 2 +-
+ src/pwrap.c | 2 +-
src/remote.c | 2 +-
src/rewrap.c | 2 +-
src/rhythm.c | 2 +-
@@ -65,7 +66,7 @@ Last-Update: 2023-07-03
src/urn.c | 2 +-
src/velocity.c | 2 +-
src/weibull.c | 2 +-
- 59 files changed, 59 insertions(+), 59 deletions(-)
+ 61 files changed, 62 insertions(+), 62 deletions(-)
diff --git a/src/allow.c b/src/allow.c
index 15b3803..cac27e2 100644
@@ -431,6 +432,21 @@ index 83f3927..70d77ff 100644
}
#else
void maxlib_listfunnel_setup(void)
+diff --git a/src/maxlib.c b/src/maxlib.c
+index 160503e..b4c3b7a 100644
+--- a/src/maxlib.c
++++ b/src/maxlib.c
+@@ -179,8 +179,8 @@ void maxlib_setup(void)
+
+ post("\n maxlib :: Music Analysis eXtensions LIBrary");
+ post(" written by Olaf Matthes <olaf.matthes@gmx.de>");
+- logpost(NULL, 4, " version "VERSION);
+- post(" compiled "__DATE__);
++ logpost(NULL, 4, " version %s", VERSION);
++ post(" compiled %s", __DATE__);
+ logpost(NULL, 4, " latest version at http://www.akustische-kunst.org/puredata/maxlib/");
+ post(" objects: allow arbran arraycopy average beat beta bilex borax cauchy ");
+ post(" chord delta deny dist divide divmod edge expo fifo gauss ");
diff --git a/src/minus.c b/src/minus.c
index 6c88583..cd0c392 100644
--- a/src/minus.c
@@ -613,6 +629,19 @@ index 6b7ca62..b7964cd 100644
}
#else
void maxlib_pulse_setup(void)
+diff --git a/src/pwrap.c b/src/pwrap.c
+index 55fe555..9729e5f 100644
+--- a/src/pwrap.c
++++ b/src/pwrap.c
+@@ -139,7 +139,7 @@ void maxlib_wrap_setup(void)
+ class_addmethod(wrap_class, (t_method)wrap_b, gensym("b"), A_FLOAT, 0);
+ #ifndef MAXLIB
+
+- logpost(NULL, 4, version);
++ logpost(NULL, 4, "%s", version);
+ #else
+ class_sethelpsymbol(wrap_class, gensym("maxlib/wrap-help.pd"));
+ #endif
diff --git a/src/remote.c b/src/remote.c
index a407d9c..93974d9 100644
--- a/src/remote.c
diff --git a/debian/patches/pd_error.patch b/debian/patches/pd_error.patch
index 4587110..840e1f2 100644
--- a/debian/patches/pd_error.patch
+++ b/debian/patches/pd_error.patch
@@ -4,7 +4,6 @@ Subject: use pd_error() instead of error()
Forwarded: https://github.com/electrickery/pd-maxlib/pull/2
Last-Update: 2023-07-03
-
---
src/arraycopy.c | 4 ++--
src/mlife.c | 4 ++--