Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: libowfat

libowfat (0.30-2ubuntu1) yakkety; urgency=medium * Limit dietlibc build to architectures known to build. Broken arches are arm64, ppc64el, s390x. -- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 30 Sep 2016 10:56:40 +0100

Modifications :
  1. Download patch debian/rules

    --- 0.30-2/debian/rules 2016-01-25 08:38:27.000000000 +0000 +++ 0.30-2ubuntu1/debian/rules 2016-09-30 09:56:14.000000000 +0000 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) @@ -15,10 +17,12 @@ override_dh_auto_build: $(MAKE) -f $(CURDIR)/GNUmakefile -C build-glibc SRC=$(CURDIR)/ DIET='' rm build-glibc/entities.h +# dietlibc build is broken on arm64, ppc64el (depwait), s390x +ifneq (,$(filter $(DEB_HOST_ARCH), amd64 armhf i386 powerpc)) mkdir build-diet $(MAKE) -f $(CURDIR)/GNUmakefile -C build-diet SRC=$(CURDIR)/ DIET='diet -v -Os' rm build-diet/entities.h - +endif touch build-stamp override_dh_clean:
  2. Download patch debian/control

    --- 0.30-2/debian/control 2016-01-17 17:41:25.000000000 +0000 +++ 0.30-2ubuntu1/debian/control 2016-09-30 09:57:23.000000000 +0000 @@ -1,9 +1,10 @@ Source: libowfat Section: libs Priority: optional -Maintainer: Roland Stigge <stigge@antcom.de> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Roland Stigge <stigge@antcom.de> Standards-Version: 3.9.6 -Build-Depends: dietlibc-dev, dietlibc-dev (>= 0.32-5) [sparc], debhelper (>= 9) +Build-Depends: dietlibc-dev [amd64 armhf i386 powerpc], debhelper (>= 9) Homepage: http://www.fefe.de/libowfat/ Package: libowfat0 @@ -42,7 +43,7 @@ Description: Reimplementation of libdjb, Package: libowfat-dietlibc-dev Section: libdevel -Architecture: any +Architecture: amd64 armhf i386 powerpc Depends: dietlibc-dev, ${misc:Depends} Conflicts: libdjbdns1-dev Breaks: libowfat-dev (<< 0.28-3)

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: w1retap

w1retap (1.4.4-3ubuntu2) focal; urgency=medium * d/p/mysql8_my_bool.patch: Reintroduce my_bool to fix build with MySQL 8. (LP: #1863026) -- Andreas Hasenack <andreas@canonical.com> Fri, 14 Feb 2020 15:35:57 -0300 w1retap (1.4.4-3ubuntu1) eoan; urgency=medium * d/p/fix-gcc9-build-error.patch: fix FTBFS on ppc64el -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 14 Aug 2019 16:01:54 +0200

Modifications :
  1. Download patch debian/control

    --- 1.4.4-3/debian/control 2016-11-15 12:17:47.000000000 +0000 +++ 1.4.4-3ubuntu2/debian/control 2020-02-14 18:35:37.000000000 +0000 @@ -1,7 +1,8 @@ Source: w1retap Section: electronics Priority: optional -Maintainer: Thomas Stewart <thomas@stewarts.org.uk> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Thomas Stewart <thomas@stewarts.org.uk> Build-Depends: asciidoc, debhelper (>= 10), default-libmysqlclient-dev,
  2. Download patch debian/patches/fix-gcc9-build-error.patch

    --- 1.4.4-3/debian/patches/fix-gcc9-build-error.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.4.4-3ubuntu2/debian/patches/fix-gcc9-build-error.patch 2020-02-14 18:35:37.000000000 +0000 @@ -0,0 +1,38 @@ +Description: fix build errors owith gcc-9 + gcc9 (and depending on architecture) got more strict and on ppc64 + it considers a local array element that might be not written to an issue + for -Werror=maybe-uninitialized. + . + Lets add implicit initializations to those field to be on the safe side. +Forwarded: no +X-Not-Forwarded-Reason: work in progress +Author: Christian Ehrhardt <christian.ehrhardt@canonical.com> +Last-Update: 2019-08-14 +--- a/src/libusblinux300/hbht.c ++++ b/src/libusblinux300/hbht.c +@@ -112,14 +112,14 @@ void HBHT_set_poll_freq (int portnum, uc + + uchar HBHT_get_poll_freq (int portnum, uchar *snum) + { +- uchar val; ++ uchar val = 0; + HBHT_get_byteval(portnum, snum, HBHT_GETPOLLFREQ, &val); + return val; + } + + short HBHT_get_hum_offset(int portnum, uchar *snum) + { +- uchar hoff_raw[2]; ++ uchar hoff_raw[2] = {0, 0}; + short hoff; + HBHT_get_bytes(portnum, snum, HBHT_GETHUMIDOFFSET, hoff_raw, 2); + hoff = (hoff_raw[0] | (hoff_raw[1] << 8)); +@@ -148,7 +148,7 @@ void HBHT_read_version(int portnum, ucha + + int HBHT_read_data(int portnum, uchar *snum, hbht_res_t *hb) + { +- uchar tchar[2]; ++ uchar tchar[2] = {0, 0}; + HBHT_get_bytes(portnum, snum, HBHT_GETTEMPERATURE_C, (uchar*)&tchar, 2); + hb->temp = (float)((short)(tchar[0] | (tchar[1] << 8)))/10.0; + HBHT_get_bytes(portnum, snum, HBHT_GETCORRHUMID, (uchar*)&tchar, 2);
  3. Download patch debian/patches/series

    --- 1.4.4-3/debian/patches/series 2016-11-15 12:17:47.000000000 +0000 +++ 1.4.4-3ubuntu2/debian/patches/series 2020-02-14 18:35:57.000000000 +0000 @@ -4,3 +4,5 @@ movetmp.patch fix-parallel-build.patch fix-extra-braces.patch fix-w1pgsql-snprintf-timet.patch +fix-gcc9-build-error.patch +mysql8_my_bool.patch
  4. Download patch debian/patches/mysql8_my_bool.patch

    --- 1.4.4-3/debian/patches/mysql8_my_bool.patch 1970-01-01 00:00:00.000000000 +0000 +++ 1.4.4-3ubuntu2/debian/patches/mysql8_my_bool.patch 2020-02-14 18:35:57.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Reintroduce my_bool to fix build with MySQL 8 +Author: Andreas Hasenack <andreas@canonical.com> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1863026 +Forwarded: no +Last-Update: 2020-02-12 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +diff --git a/src/mysql/w1mysql.c b/src/mysql/w1mysql.c +index 7eaf2f2..3039326 100644 +--- a/src/mysql/w1mysql.c ++++ b/src/mysql/w1mysql.c +@@ -29,6 +29,7 @@ + #include <time.h> + #include <sys/file.h> + #include <mysql.h> ++typedef bool my_bool; + #include <syslog.h> + #include "w1retap.h" +
  1. libowfat
  2. w1retap