Control: tags -1 + patchPrepared a patch for a new NMU if maintainer can't do an upload and if someone will want upload it.
From 8b72b32ab61329a290bedae1bbe48a30a297bbc4 Mon Sep 17 00:00:00 2001 From: Fabio Fantoni <fantonifa...@tiscali.it> Date: Fri, 20 Sep 2024 13:32:50 +0200 Subject: [PATCH] Add a patch for fix ftbfs with gcc-14 --- debian/changelog | 7 +++++ debian/patches/17_hexdump-pointer-type.patch | 27 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 35 insertions(+) create mode 100644 debian/patches/17_hexdump-pointer-type.patch diff --git a/debian/changelog b/debian/changelog index 756c199..bb31a47 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +chntpw (140201-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Add a patch for fix ftbfs with gcc-14 (Closes: #1074882) + + -- Fabio Fantoni <fantonifa...@tiscali.it> Fri, 20 Sep 2024 13:41:32 +0200 + chntpw (140201-1.1) unstable; urgency=medium * Non-maintainer upload. diff --git a/debian/patches/17_hexdump-pointer-type.patch b/debian/patches/17_hexdump-pointer-type.patch new file mode 100644 index 0000000..53bce17 --- /dev/null +++ b/debian/patches/17_hexdump-pointer-type.patch @@ -0,0 +1,27 @@ +From: Conrad Meyer <cse....@gmail.com> +Date: Aug 03 2024 22:41:51 +0000 +Subject: Add fix for rhbz# 2300591. + +Forwarded: no +--- +diff -urN chntpw-140201.orig/libsam.c chntpw-140201/libsam.c +--- chntpw-140201.orig/libsam.c 2014-02-01 08:54:37.000000000 -0800 ++++ chntpw-140201/libsam.c 2024-08-03 15:31:41.817601486 -0700 +@@ -511,7 +511,7 @@ + + if (gverbose) printf("put_grp_members_sid: ajusted: mofs = %x, mlen = %x (%d)\n", mofs + 0x34 ,mlen,mlen); + +- if (gverbose) hexdump(&c->data, 0, c->len, 1); ++ if (gverbose) hexdump((char*)&c->data, 0, c->len, 1); + + /* Get total size of new SID data */ + +@@ -539,7 +539,7 @@ + cd->members_len = sidlen; /* Update member count in C struct */ + cd->grp_members = i; + +- if (gverbose) hexdump(&c->data, 0, c->len, 1); ++ if (gverbose) hexdump((char*)&c->data, 0, c->len, 1); + + if (!put_buf2val(hdesc, c, 0, g, 0, TPF_VK_EXACT)) { + fprintf(stderr,"put_grp_members_sid: could not write back group info in value %s\n",g); diff --git a/debian/patches/series b/debian/patches/series index f45a36e..5e47964 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -14,3 +14,4 @@ 14_improve_description 15_added_samunlock_binary 16_gcry-pkg-config.diff +17_hexdump-pointer-type.patch -- GitLab
OpenPGP_signature.asc
Description: OpenPGP digital signature