summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-09-16 02:01:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-09-16 09:35:01 +0200
commit50db5abdfdf538ad2a9a2f20c6e35ab241a0438d (patch)
treec086b55e5e264e748266cdd5305a06bea07d8348
parent1cc5e9ff0ca4f624f5860197063728e3f7990a87 (diff)
downloadextra-dependencies-50db5abdfdf538ad2a9a2f20c6e35ab241a0438d.tar.gz
extra-dependencies-50db5abdfdf538ad2a9a2f20c6e35ab241a0438d.zip
DEB pilot-link: Fix FTBFS due to incompatible pointer type.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/pilot-link/pilot-link-0.12.5-dfsg/debian/changelog6
-rw-r--r--debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/fix-incompatbile-pointer-type.diff15
-rw-r--r--debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/series1
3 files changed, 22 insertions, 0 deletions
diff --git a/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/changelog b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/changelog
index ca9c6060..f0ef24bc 100644
--- a/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/changelog
+++ b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/changelog
@@ -1,3 +1,9 @@
+pilot-link (0.12.5-dfsg-2debian13.0.0+4~a) trixie; urgency=medium
+
+ * Fix FTBFS due to incompatible pointer type.
+
+ -- Slávek Banko <slavek.banko@axis.cz> Mon, 16 Sep 2024 01:59:09 +0200
+
pilot-link (0.12.5-dfsg-2debian13.0.0+3~a) trixie; urgency=medium
* Remove remaining 'register' instruction.
diff --git a/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/fix-incompatbile-pointer-type.diff b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/fix-incompatbile-pointer-type.diff
new file mode 100644
index 00000000..0a786948
--- /dev/null
+++ b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/fix-incompatbile-pointer-type.diff
@@ -0,0 +1,15 @@
+Index: pilot-link-0.12.5-dfsg/src/pilot-read-todos.c
+===================================================================
+--- pilot-link-0.12.5-dfsg.orig/src/pilot-read-todos.c
++++ pilot-link-0.12.5-dfsg/src/pilot-read-todos.c
+@@ -202,8 +202,8 @@ int main(int argc, const char *argv[])
+
+ for (i = 0;; i++) {
+ int attr,
+- category,
+- len;
++ category;
++ size_t len;
+
+ struct ToDo todo;
+
diff --git a/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/series b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/series
index 82f5784b..15d24dee 100644
--- a/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/series
+++ b/debian/pilot-link/pilot-link-0.12.5-dfsg/debian/patches/series
@@ -7,3 +7,4 @@ colourcorrect
0001-Don-t-use-PERL_POLLUTE-macros.patch
0002-Fix-configure-syntax.patch
remove-register-instruction.diff
+fix-incompatbile-pointer-type.diff