diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0100-messages_h.patch | 19 | ||||
-rw-r--r-- | debian/patches/0900-spelling-errors.patch | 6 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 23 insertions, 3 deletions
diff --git a/debian/patches/0100-messages_h.patch b/debian/patches/0100-messages_h.patch new file mode 100644 index 0000000..612288c --- /dev/null +++ b/debian/patches/0100-messages_h.patch @@ -0,0 +1,19 @@ +Description: correct include tag +Author: Jörg Frings-Fürst <debian@jff.email> +Forwarded: yes, via email +Last-Update: 2018-07-10 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/app/bin/ctodesgn.c +=================================================================== +--- trunk.orig/app/bin/ctodesgn.c ++++ trunk/app/bin/ctodesgn.c +@@ -29,7 +29,7 @@ + #include <ctype.h> + #include <math.h> + #include <string.h> +-#include <messages.h> ++#include "messages.h" + + #include "ccurve.h" + #include "compound.h" diff --git a/debian/patches/0900-spelling-errors.patch b/debian/patches/0900-spelling-errors.patch index e3cef33..e38b90b 100644 --- a/debian/patches/0900-spelling-errors.patch +++ b/debian/patches/0900-spelling-errors.patch @@ -102,7 +102,7 @@ Index: trunk/app/bin/ccontrol.c +++ trunk/app/bin/ccontrol.c @@ -383,7 +383,7 @@ static paramData_t controlEditPLs[] = { #define I_CONTROLNAME (0) - /*0*/ { PD_STRING, controlEditName, "name", PDO_NOPREF, (void*)200, N_("Name") }, + /*0*/ { PD_STRING, controlEditName, "name", PDO_NOPREF | PDO_STRINGLIMITLENGTH, (void*)200, N_("Name"), 0, (void *)sizeof(controlEditName) }, #define I_ORIGX (1) - /*1*/ { PD_FLOAT, &controlEditOrig.x, "origx", PDO_DIM, &r_1000_1000, N_("Orgin X") }, + /*1*/ { PD_FLOAT, &controlEditOrig.x, "origx", PDO_DIM, &r_1000_1000, N_("Origin X") }, @@ -115,7 +115,7 @@ Index: trunk/app/bin/csensor.c +++ trunk/app/bin/csensor.c @@ -355,7 +355,7 @@ static paramData_t sensorEditPLs[] = { #define I_SENSORNAME (0) - /*0*/ { PD_STRING, sensorEditName, "name", PDO_NOPREF, (void*)200, N_("Name") }, + /*0*/ { PD_STRING, sensorEditName, "name", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void*)200, N_("Name"), 0, (void *)sizeof(sensorEditName) }, #define I_ORIGX (1) - /*1*/ { PD_FLOAT, &sensorEditOrig.x, "origx", PDO_DIM, &r_1000_1000, N_("Orgin X") }, + /*1*/ { PD_FLOAT, &sensorEditOrig.x, "origx", PDO_DIM, &r_1000_1000, N_("Origin X") }, @@ -128,7 +128,7 @@ Index: trunk/app/bin/csignal.c +++ trunk/app/bin/csignal.c @@ -483,7 +483,7 @@ static paramData_t signalEditPLs[] = { #define I_SIGNALNAME (0) - /*0*/ { PD_STRING, signalEditName, "name", PDO_NOPREF, (void*)200, N_("Name") }, + /*0*/ { PD_STRING, signalEditName, "name", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void*)200, N_("Name"), 0, (void *)sizeof(signalEditName) }, #define I_ORIGX (1) - /*1*/ { PD_FLOAT, &signalEditOrig.x, "origx", PDO_DIM, &r_1000_1000, N_("Orgin X") }, + /*1*/ { PD_FLOAT, &signalEditOrig.x, "origx", PDO_DIM, &r_1000_1000, N_("Origin X") }, diff --git a/debian/patches/series b/debian/patches/series index c6c3550..8725218 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0900-spelling-errors.patch +0100-messages_h.patch |