summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-15 15:49:11 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-15 15:49:11 +0200
commita67a5ced5eb8d02c6b7998031ff0b3abc860f280 (patch)
tree28685b1d66c360af9df3371a4a3bf6f83138b97b
parentee968712d0749e213b0eabb529d535df9080f21c (diff)
downloadextra-dependencies-a67a5ced5eb8d02c6b7998031ff0b3abc860f280.tar.gz
extra-dependencies-a67a5ced5eb8d02c6b7998031ff0b3abc860f280.zip
getttext-kde: Remove remaining 'register' instruction.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/gettext-kde/gettext-kde-0.10.35/debian/changelog6
-rw-r--r--debian/gettext-kde/gettext-kde-0.10.35/debian/patches/remove-register-instruction.diff297
-rw-r--r--debian/gettext-kde/gettext-kde-0.10.35/debian/patches/series1
3 files changed, 304 insertions, 0 deletions
diff --git a/debian/gettext-kde/gettext-kde-0.10.35/debian/changelog b/debian/gettext-kde/gettext-kde-0.10.35/debian/changelog
index 13d15424..1e1fa15a 100644
--- a/debian/gettext-kde/gettext-kde-0.10.35/debian/changelog
+++ b/debian/gettext-kde/gettext-kde-0.10.35/debian/changelog
@@ -1,3 +1,9 @@
+gettext-kde (0.10.35-debian13.0.0+4~a) trixie; urgency=low
+
+ * Remove remaining 'register' instruction.
+
+ -- Slávek Banko <slavek.banko@axis.cz> Mon, 15 Apr 2024 15:48:18 +0200
+
gettext-kde (0.10.35-debian11.0.0+3~a) bullseye; urgency=low
* Change debhelper compatibility level to 9
diff --git a/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/remove-register-instruction.diff b/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/remove-register-instruction.diff
new file mode 100644
index 00000000..3a45cfca
--- /dev/null
+++ b/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/remove-register-instruction.diff
@@ -0,0 +1,297 @@
+diff --git a/lib/alloca.c b/lib/alloca.c
+index c1699c4..b533583 100644
+--- a/lib/alloca.c
++++ b/lib/alloca.c
+@@ -172,7 +172,7 @@ alloca (size)
+ unsigned size;
+ {
+ auto char probe; /* Probes stack depth: */
+- register char *depth = ADDRESS_FUNCTION (probe);
++ char *depth = ADDRESS_FUNCTION (probe);
+
+ #if STACK_DIRECTION == 0
+ if (STACK_DIR == 0) /* Unknown growth direction. */
+@@ -183,7 +183,7 @@ alloca (size)
+ was allocated from deeper in the stack than currently. */
+
+ {
+- register header *hp; /* Traverses linked list. */
++ header *hp; /* Traverses linked list. */
+
+ #ifdef emacs
+ BLOCK_INPUT;
+@@ -193,7 +193,7 @@ alloca (size)
+ if ((STACK_DIR > 0 && hp->h.deep > depth)
+ || (STACK_DIR < 0 && hp->h.deep < depth))
+ {
+- register header *np = hp->h.next;
++ header *np = hp->h.next;
+
+ free ((pointer) hp); /* Collect garbage. */
+
+@@ -215,7 +215,7 @@ alloca (size)
+ /* Allocate combined header + user data storage. */
+
+ {
+- register pointer new = malloc (sizeof (header) + size);
++ pointer new = malloc (sizeof (header) + size);
+ /* Address of header. */
+
+ if (new == 0)
+diff --git a/lib/getline.c b/lib/getline.c
+index ba05abb..8995eb5 100644
+--- a/lib/getline.c
++++ b/lib/getline.c
+@@ -88,7 +88,7 @@ getstr (lineptr, n, stream, terminator, offset)
+
+ for (;;)
+ {
+- register int c = getc (stream);
++ int c = getc (stream);
+
+ /* We always want at least one char left in the buffer, since we
+ always (unless we get an error while reading the first char)
+diff --git a/lib/getopt.c b/lib/getopt.c
+index 7da985f..60041d0 100644
+--- a/lib/getopt.c
++++ b/lib/getopt.c
+@@ -346,7 +346,7 @@ exchange (argv)
+ {
+ /* Bottom segment is the short one. */
+ int len = middle - bottom;
+- register int i;
++ int i;
+
+ /* Swap it with the top part of the top segment. */
+ for (i = 0; i < len; i++)
+@@ -363,7 +363,7 @@ exchange (argv)
+ {
+ /* Top segment is the short one. */
+ int len = top - middle;
+- register int i;
++ int i;
+
+ /* Swap it with the bottom part of the bottom segment. */
+ for (i = 0; i < len; i++)
+diff --git a/lib/memset.c b/lib/memset.c
+index a0db560..c2b2950 100644
+--- a/lib/memset.c
++++ b/lib/memset.c
+@@ -21,7 +21,7 @@ memset (str, c, len)
+ int c;
+ unsigned len;
+ {
+- register char *st = str;
++ char *st = str;
+
+ while (len-- > 0)
+ *st++ = c;
+diff --git a/lib/obstack.c b/lib/obstack.c
+index e5b5d4f..a8c26fa 100644
+--- a/lib/obstack.c
++++ b/lib/obstack.c
+@@ -160,7 +160,7 @@ _obstack_begin (h, size, alignment, chunkfun, freefun)
+ void (*freefun) ();
+ #endif
+ {
+- register struct _obstack_chunk *chunk; /* points to new chunk */
++ struct _obstack_chunk *chunk; /* points to new chunk */
+
+ if (alignment == 0)
+ alignment = (int) DEFAULT_ALIGNMENT;
+@@ -219,7 +219,7 @@ _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg)
+ #endif
+ POINTER arg;
+ {
+- register struct _obstack_chunk *chunk; /* points to new chunk */
++ struct _obstack_chunk *chunk; /* points to new chunk */
+
+ if (alignment == 0)
+ alignment = (int) DEFAULT_ALIGNMENT;
+@@ -276,11 +276,11 @@ _obstack_newchunk (h, length)
+ struct obstack *h;
+ int length;
+ {
+- register struct _obstack_chunk *old_chunk = h->chunk;
+- register struct _obstack_chunk *new_chunk;
+- register long new_size;
+- register long obj_size = h->next_free - h->object_base;
+- register long i;
++ struct _obstack_chunk *old_chunk = h->chunk;
++ struct _obstack_chunk *new_chunk;
++ long new_size;
++ long obj_size = h->next_free - h->object_base;
++ long i;
+ long already;
+
+ /* Compute size for new chunk. */
+@@ -346,8 +346,8 @@ _obstack_allocated_p (h, obj)
+ struct obstack *h;
+ POINTER obj;
+ {
+- register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
+- register struct _obstack_chunk *plp; /* point to previous chunk if any */
++ struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
++ struct _obstack_chunk *plp; /* point to previous chunk if any */
+
+ lp = (h)->chunk;
+ /* We use >= rather than > since the object cannot be exactly at
+@@ -374,8 +374,8 @@ _obstack_free (h, obj)
+ struct obstack *h;
+ POINTER obj;
+ {
+- register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
+- register struct _obstack_chunk *plp; /* point to previous chunk if any */
++ struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
++ struct _obstack_chunk *plp; /* point to previous chunk if any */
+
+ lp = h->chunk;
+ /* We use >= because there cannot be an object at the beginning of a chunk.
+@@ -408,8 +408,8 @@ obstack_free (h, obj)
+ struct obstack *h;
+ POINTER obj;
+ {
+- register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
+- register struct _obstack_chunk *plp; /* point to previous chunk if any */
++ struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
++ struct _obstack_chunk *plp; /* point to previous chunk if any */
+
+ lp = h->chunk;
+ /* We use >= because there cannot be an object at the beginning of a chunk.
+@@ -439,8 +439,8 @@ int
+ _obstack_memory_used (h)
+ struct obstack *h;
+ {
+- register struct _obstack_chunk* lp;
+- register int nbytes = 0;
++ struct _obstack_chunk* lp;
++ int nbytes = 0;
+
+ for (lp = h->chunk; lp != 0; lp = lp->prev)
+ {
+diff --git a/lib/stpcpy.c b/lib/stpcpy.c
+index 0ad8863..14be0e0 100644
+--- a/lib/stpcpy.c
++++ b/lib/stpcpy.c
+@@ -37,8 +37,8 @@ __stpcpy (dest, src)
+ char *dest;
+ const char *src;
+ {
+- register char *d = dest;
+- register const char *s = src;
++ char *d = dest;
++ const char *s = src;
+
+ do
+ *d++ = *s;
+diff --git a/lib/strtol.c b/lib/strtol.c
+index d49f1c6..8fd350b 100644
+--- a/lib/strtol.c
++++ b/lib/strtol.c
+@@ -238,11 +238,11 @@ INTERNAL (strtol) (nptr, endptr, base, group LOCALE_PARAM)
+ LOCALE_PARAM_DECL
+ {
+ int negative;
+- register unsigned LONG int cutoff;
+- register unsigned int cutlim;
+- register unsigned LONG int i;
+- register const STRING_TYPE *s;
+- register UCHAR_TYPE c;
++ unsigned LONG int cutoff;
++ unsigned int cutlim;
++ unsigned LONG int i;
++ const STRING_TYPE *s;
++ UCHAR_TYPE c;
+ const STRING_TYPE *save, *end;
+ int overflow;
+
+diff --git a/src/po-gram.gen.c b/src/po-gram.gen.c
+index 7ac7fa6..1e65466 100644
+--- a/src/po-gram.gen.c
++++ b/src/po-gram.gen.c
+@@ -324,9 +324,9 @@ __po_gram__memcpy (to, from, count)
+ char *from;
+ int count;
+ {
+- register char *f = from;
+- register char *t = to;
+- register int i = count;
++ char *f = from;
++ char *t = to;
++ int i = count;
+
+ while (i-- > 0)
+ *t++ = *f++;
+@@ -339,9 +339,9 @@ __po_gram__memcpy (to, from, count)
+ static void
+ __po_gram__memcpy (char *to, char *from, int count)
+ {
+- register char *f = from;
+- register char *t = to;
+- register int i = count;
++ char *f = from;
++ char *t = to;
++ int i = count;
+
+ while (i-- > 0)
+ *t++ = *f++;
+@@ -375,10 +375,10 @@ int
+ po_gram_parse(po_gram_PARSE_PARAM_ARG)
+ po_gram_PARSE_PARAM_DECL
+ {
+- register int po_gram_state;
+- register int po_gram_n;
+- register short *po_gram_ssp;
+- register po_gram_STYPE *po_gram_vsp;
++ int po_gram_state;
++ int po_gram_n;
++ short *po_gram_ssp;
++ po_gram_STYPE *po_gram_vsp;
+ int po_gram_errstatus; /* number of tokens to shift before error messages enabled */
+ int po_gram_char1 = 0; /* lookahead token as an internal (translated) token number */
+
+diff --git a/src/po-hash.gen.c b/src/po-hash.gen.c
+index b7ded1b..bc31589 100644
+--- a/src/po-hash.gen.c
++++ b/src/po-hash.gen.c
+@@ -341,9 +341,9 @@ __po_hash__memcpy (to, from, count)
+ char *from;
+ int count;
+ {
+- register char *f = from;
+- register char *t = to;
+- register int i = count;
++ char *f = from;
++ char *t = to;
++ int i = count;
+
+ while (i-- > 0)
+ *t++ = *f++;
+@@ -356,9 +356,9 @@ __po_hash__memcpy (to, from, count)
+ static void
+ __po_hash__memcpy (char *to, char *from, int count)
+ {
+- register char *f = from;
+- register char *t = to;
+- register int i = count;
++ char *f = from;
++ char *t = to;
++ int i = count;
+
+ while (i-- > 0)
+ *t++ = *f++;
+@@ -392,10 +392,10 @@ int
+ po_hash_parse(po_hash_PARSE_PARAM_ARG)
+ po_hash_PARSE_PARAM_DECL
+ {
+- register int po_hash_state;
+- register int po_hash_n;
+- register short *po_hash_ssp;
+- register po_hash_STYPE *po_hash_vsp;
++ int po_hash_state;
++ int po_hash_n;
++ short *po_hash_ssp;
++ po_hash_STYPE *po_hash_vsp;
+ int po_hash_errstatus; /* number of tokens to shift before error messages enabled */
+ int po_hash_char1 = 0; /* lookahead token as an internal (translated) token number */
+
diff --git a/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/series b/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/series
index f4126883..4bb43299 100644
--- a/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/series
+++ b/debian/gettext-kde/gettext-kde-0.10.35/debian/patches/series
@@ -1,2 +1,3 @@
gettext-0.10.35.diff
automake-1.14.diff
+remove-register-instruction.diff