diff -Nru hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/changelog hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/changelog --- hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/changelog 2018-08-21 18:17:16.000000000 +0000 +++ hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/changelog 2020-06-27 23:28:37.000000000 +0000 @@ -1,3 +1,14 @@ +hdmi2usb-fx2-firmware (0.0.0~git20151225-3) unstable; urgency=medium + + * Migrate from sdcclib to sdar, fixing FTBFS with sdcc 3.9. + (Closes: #963348) + * Bump copyright years. + * Bump debhelper compat level to 12. + * Declare Rules-Requires-Root: no. + * Bump Standards-Version to 4.5.0, no changes needed. + + -- Stefano Rivera Sat, 27 Jun 2020 16:28:37 -0700 + hdmi2usb-fx2-firmware (0.0.0~git20151225-2) unstable; urgency=medium * Migrate VCS to Salsa. diff -Nru hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/compat hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/compat --- hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/compat 2018-08-21 18:17:16.000000000 +0000 +++ hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/control hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/control --- hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/control 2018-08-21 18:17:16.000000000 +0000 +++ hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/control 2020-06-27 23:28:37.000000000 +0000 @@ -2,11 +2,12 @@ Maintainer: Stefano Rivera Section: video Priority: optional -Build-Depends: debhelper (>= 9), dh-exec, libusb-1.0-0-dev, sdcc -Standards-Version: 4.2.0 +Build-Depends: debhelper-compat (= 12), dh-exec, libusb-1.0-0-dev, sdcc +Standards-Version: 4.5.0 Homepage: https://github.com/mithro/fx2lib/tree/cdc-usb-serialno-from-eeprom Vcs-Git: https://salsa.debian.org/debian/hdmi2usb-fx2-firmware.git Vcs-Browser: https://salsa.debian.org/debian/hdmi2usb-fx2-firmware +Rules-Requires-Root: no Package: hdmi2usb-fx2-firmware Architecture: all diff -Nru hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/copyright hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/copyright --- hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/copyright 2018-08-21 18:17:16.000000000 +0000 +++ hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/copyright 2020-06-27 23:28:37.000000000 +0000 @@ -14,7 +14,7 @@ License: GPL-3+ Files: debian/* -Copyright: 2016, Stefano Rivera +Copyright: 2016-2020, Stefano Rivera License: GPL-2+ License: LGPL-2.1+ diff -Nru hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/sdcc-3.9 hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/sdcc-3.9 --- hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/sdcc-3.9 1970-01-01 00:00:00.000000000 +0000 +++ hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/sdcc-3.9 2020-06-27 23:28:37.000000000 +0000 @@ -0,0 +1,25 @@ +From: Semen +Date: Sat, 27 Jun 2020 15:21:59 -0700 +Subject: Make compatible with sdcc 3.9.0 + +sdcclib was replaced by sdar + +Origin: https://github.com/djmuhlestein/fx2lib/pull/29/commits/15a32a896ef95e729092a1008c1b7739a5698842 +Bug-Debian: https://bugs.debian.org/963348 +--- + lib/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Makefile b/lib/Makefile +index 42eb04d..363e964 100644 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -26,7 +26,7 @@ LIBS = fx2.lib + all: $(LIBS) + + $(LIBS): $(FX2_OBJS) +- sdcclib fx2.lib $? ++ sdar -rc fx2.lib $? + + usbav.rel: usbav.a51 + $(AS8051) -logs usbav.a51 diff -Nru hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/series hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/series --- hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/series 2018-08-21 18:17:16.000000000 +0000 +++ hdmi2usb-fx2-firmware-0.0.0~git20151225/debian/patches/series 2020-06-27 23:28:37.000000000 +0000 @@ -1 +1,2 @@ putchar-prototype +sdcc-3.9