diff -Nru uhub-0.4.1/debian/changelog uhub-0.4.1/debian/changelog --- uhub-0.4.1/debian/changelog 2024-03-05 02:08:51.000000000 +0000 +++ uhub-0.4.1/debian/changelog 2024-04-15 18:09:00.000000000 +0000 @@ -1,3 +1,18 @@ +uhub (0.4.1-3.2ubuntu1) noble; urgency=medium + + * debian/patches/implicit-declarations.patch: Add missing function + prototypes. (LP: #2061039). + * debian/patches/riscv64-fix-ftbfs.patch: Add RISC-V architecture to + CPU list. Thanks to Eric Long . (LP: #2061039). + + -- Zixing Liu Mon, 15 Apr 2024 12:09:00 -0600 + +uhub (0.4.1-3.2build2) noble; urgency=medium + + * No-change rebuild for CVE-2024-3094 + + -- William Grant Mon, 01 Apr 2024 19:29:30 +1100 + uhub (0.4.1-3.2build1) noble; urgency=medium * No-change rebuild against libssl3t64 diff -Nru uhub-0.4.1/debian/patches/implicit-declarations.patch uhub-0.4.1/debian/patches/implicit-declarations.patch --- uhub-0.4.1/debian/patches/implicit-declarations.patch 1970-01-01 00:00:00.000000000 +0000 +++ uhub-0.4.1/debian/patches/implicit-declarations.patch 2024-04-15 18:09:00.000000000 +0000 @@ -0,0 +1,20 @@ +Description: Add missing function prototypes + This fixes FTBFS on armhf +Author: Zixing Liu +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066247 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/uhub/+bug/2061039 +Forwarded: no +Last-Update: 2024-04-15 +--- +Index: uhub/src/tools/adcclient.c +=================================================================== +--- uhub.orig/src/tools/adcclient.c ++++ uhub/src/tools/adcclient.c +@@ -88,6 +88,7 @@ static void ADC_client_on_login(struct A + static int ADC_client_parse_address(struct ADC_client* client, const char* arg); + static int ADC_client_on_recv_line(struct ADC_client* client, const char* line, size_t length); + static int ADC_client_send_queue(struct ADC_client* client); ++int ADC_client_connect_internal(struct ADC_client* client); + + static void ADC_client_debug(struct ADC_client* client, const char* format, ...) + { diff -Nru uhub-0.4.1/debian/patches/riscv64-fix-ftbfs.patch uhub-0.4.1/debian/patches/riscv64-fix-ftbfs.patch --- uhub-0.4.1/debian/patches/riscv64-fix-ftbfs.patch 1970-01-01 00:00:00.000000000 +0000 +++ uhub-0.4.1/debian/patches/riscv64-fix-ftbfs.patch 2024-04-15 18:09:00.000000000 +0000 @@ -0,0 +1,22 @@ +Description: Add RISC-V architecture to CPU list +Author: Eric Long +Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1020965;filename=riscv64-fix-ftbfs.patch;msg=5 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020965 +Bug-Ubuntu: https://bugs.launchpad.net/debian/+source/uhub/+bug/2061039 +Forwarded: no +Reviewed-by: Zixing Liu +Last-Update: 2022-09-30 +--- +--- a/src/system.h ++++ b/src/system.h +@@ -242,6 +242,10 @@ + #define CPUINFO "s390" + #endif + ++#if defined(__riscv) ++#define CPUINFO "RISC-V" ++#endif ++ + /* Misc */ + #ifdef MSG_NOSIGNAL + #define UHUB_SEND_SIGNAL MSG_NOSIGNAL diff -Nru uhub-0.4.1/debian/patches/series uhub-0.4.1/debian/patches/series --- uhub-0.4.1/debian/patches/series 2022-09-12 09:10:42.000000000 +0000 +++ uhub-0.4.1/debian/patches/series 2024-04-15 18:09:00.000000000 +0000 @@ -1,3 +1,5 @@ fix-build-on-hurd-i386 openssl1.1.patch arm64-fix-ftbfs.patch +implicit-declarations.patch +riscv64-fix-ftbfs.patch