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: modglue

modglue (1.19-0ubuntu8) groovy; urgency=medium * Import patch from Debian to fix FTBFS due to unused struct violating flexible array constraints. -- Logan Rosen <logan@ubuntu.com> Mon, 25 May 2020 22:51:58 -0400 modglue (1.19-0ubuntu7) focal; urgency=medium * No-change rebuild for libgcc-s1 package name change. -- Matthias Klose <doko@ubuntu.com> Sun, 22 Mar 2020 16:50:03 +0100 modglue (1.19-0ubuntu6) eoan; urgency=medium * No-change upload with strops.h and sys/strops.h removed in glibc. -- Matthias Klose <doko@ubuntu.com> Thu, 05 Sep 2019 11:02:12 +0000 modglue (1.19-0ubuntu5) bionic; urgency=medium * Fix FTBFS by adding build-arch and build-indep targets to debian/rules -- Balint Reczey <rbalint@ubuntu.com> Wed, 25 Apr 2018 20:43:28 +0200 modglue (1.19-0ubuntu4) bionic; urgency=high * No change rebuild to pick up -fPIE compiler default -- Balint Reczey <rbalint@ubuntu.com> Tue, 03 Apr 2018 12:35:09 +0000 modglue (1.19-0ubuntu3) wily; urgency=medium * Merge change from Debian + Build-Depend on libtool-bin to fix FTBFS. -- Iain Lane <iain@orangesquash.org.uk> Tue, 04 Aug 2015 17:49:08 +0100 modglue (1.19-0ubuntu2) wily; urgency=medium * Rename library packages for g++5 ABI transition. -- Iain Lane <iain@orangesquash.org.uk> Tue, 04 Aug 2015 11:30:25 +0100 modglue (1.19-0ubuntu1) trusty; urgency=low * New upstream release. * Update debian/watch. * Refresh patch. -- Logan Rosen <logan@ubuntu.com> Fri, 06 Dec 2013 15:51:38 -0500

Modifications :
  1. Download patch debian/libmodglue1-dev.examples

    --- 1.17-4/debian/libmodglue1-dev.examples 2017-01-10 18:34:12.000000000 +0000 +++ 1.19-0ubuntu8/debian/libmodglue1-dev.examples 2013-12-06 20:50:38.000000000 +0000 @@ -1 +1,2 @@ examples/* +
  2. Download patch debian/rules

    --- 1.17-4/debian/rules 2017-01-10 18:15:57.000000000 +0000 +++ 1.19-0ubuntu8/debian/rules 2018-04-25 18:43:28.000000000 +0000 @@ -1,12 +1,91 @@ #!/usr/bin/make -f # -*- makefile -*- -%: - dh $@ --no-parallel +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -# don't autoreconf -override_dh_autoreconf: +CFLAGS = -Wall -g -override_dh_auto_install: +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +version=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +major=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +configure: + ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub + endif + ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess + endif + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.guess config.sub + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/libmodglue1v5 DEVDESTDIR=$(CURDIR)/debian/libmodglue1-dev rm `find $(CURDIR)/debian -name '*.la'` + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i ChangeLog + dh_installdocs -i debian/copyright + dh_installexamples -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_installman -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install
  3. Download patch debian/patches/02_reproducible_build.patch

    --- 1.17-4/debian/patches/02_reproducible_build.patch 2017-01-10 18:02:06.000000000 +0000 +++ 1.19-0ubuntu8/debian/patches/02_reproducible_build.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,32 +0,0 @@ -Author: Reiner Herrmann <reiner@reiner-h.de> -Description: Strip build date and hostname to enable reproducible building - ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -21,8 +21,6 @@ - IPHASE = ${LIBTOOL} --mode=install @INSTALL@ - FPHASE = ${LIBTOOL} --mode=finish @prefix@/@libdir@ - --TIMESTAMP = -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" -- - all: library tests tools - - TOOLS = ptywrap isatty prompt ---- a/src/prompt.cc -+++ b/src/prompt.cc -@@ -392,12 +392,11 @@ - int main(int argc, char **argv) - { - if(argc==1) { -- cerr << "prompt ("; -+ cerr << "prompt"; - #ifdef STATICBUILD -- cerr << "static, "; -+ cerr << " (static)"; - #endif -- cerr << "built on " << DATETIME << /* " on " << HOSTNAME << */ ")" << std::endl -- << "Copyright (C) 2001-2006 Kasper Peeters <kasper.peeters@aei.mpg.de>" << endl << endl -+ cerr << "Copyright (C) 2001-2006 Kasper Peeters <kasper.peeters@aei.mpg.de>" << endl << endl - << "Usage: prompt [program] [args]" << endl; - exit(-1); - }
  4. Download patch debian/compat

    --- 1.17-4/debian/compat 2017-01-10 18:33:22.000000000 +0000 +++ 1.19-0ubuntu8/debian/compat 2013-12-06 20:50:38.000000000 +0000 @@ -1 +1 @@ -10 +7
  5. Download patch debian/control

    --- 1.17-4/debian/control 2017-01-10 18:07:37.000000000 +0000 +++ 1.19-0ubuntu8/debian/control 2015-08-04 16:48:57.000000000 +0000 @@ -1,21 +1,17 @@ Source: modglue Section: libs Priority: optional -Maintainer: Debian QA Group <packages@qa.debian.org> +Maintainer: Iulian Udrea <iulian@ubuntu.com> +Uploaders: Kasper Peeters <kasper.peeters@aei.mpg.de> +DM-Upload-Allowed: yes Homepage: http://www.aei.mpg.de/~peekas/modglue/ -Build-Depends: - debhelper (>= 10), - pkg-config, - libsigc++-2.0-dev, - libtool, - libtool-bin, - chrpath, -Standards-Version: 3.9.8 +Build-Depends: debhelper (>= 7.0.50), pkg-config, libsigc++-2.0-dev, libtool-bin, chrpath +Standards-Version: 3.8.4 Package: libmodglue1-dev Section: libdevel -Architecture: any -Depends: libmodglue1v5 (= ${binary:Version}), ${misc:Depends} +Architecture: all +Depends: libmodglue1v5 (>= ${binary:Version}), ${misc:Depends} Description: development files for a C++ library for handling of multiple co-processes Modglue is a C++ library with classes for forking external processes and asynchronous reading from streams. It takes @@ -29,7 +25,7 @@ Description: development files for a C++ Package: libmodglue1v5 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Breaks: libmodglue1 +Conflicts: libmodglue1 Replaces: libmodglue1 Description: C++ library for handling of multiple co-processes Modglue is a C++ library with classes for forking external
  6. Download patch ChangeLog

    --- 1.17-4/ChangeLog 2010-05-29 16:57:40.000000000 +0000 +++ 1.19-0ubuntu8/ChangeLog 2013-02-23 22:18:44.000000000 +0000 @@ -1,5 +1,14 @@ +2012-01-26 Kasper Peeters <kasper.peeters@aei.mpg.de> + + * Released 1.18 + + * Changed read_nonblocking_ in pipe.cc to circumvent a Mac OSX + compiler bug. + 2010-05-29 Kasper Peeters <kasper.peeters@aei.mpg.de> + * Released 1.17 + * Removed RPATH from prompt. 2010-03-03 Kasper Peeters <kasper.peeters@aei.mpg.de>
  7. Download patch include/modglue/mid.hh

    --- 1.17-4/include/modglue/mid.hh 2010-05-29 16:57:40.000000000 +0000 +++ 1.19-0ubuntu8/include/modglue/mid.hh 2013-02-23 22:18:44.000000000 +0000 @@ -24,6 +24,8 @@ #include <string> #include <iostream> +#include <sys/types.h> + //#include <proj++/thread.hh> //#include <proj++/thread_mutex.hh>
  8. Download patch .gitignore

    --- 1.17-4/.gitignore 2010-05-29 16:57:40.000000000 +0000 +++ 1.19-0ubuntu8/.gitignore 2013-02-23 22:18:44.000000000 +0000 @@ -16,6 +16,7 @@ src/isatty src/test_child_process src/test_ext_process src/test_writes +src/test_writes.out src/test_pipe *.la src/.libs
  9. Download patch src/main.cc

    --- 1.17-4/src/main.cc 2010-05-29 16:57:40.000000000 +0000 +++ 1.19-0ubuntu8/src/main.cc 2013-02-23 22:18:44.000000000 +0000 @@ -293,7 +293,7 @@ bool main::select_callback(int fd) pid_t childpid=0; int exit_code=0; // std::cerr << buffer << std::endl; - sscanf(buffer, "%ld %d", &childpid, &exit_code); + sscanf(buffer, "%ld %d", (long *)&childpid, &exit_code); // This often gets reached after cerr has gone away. Why? for(unsigned int i=0; i<processes_.size(); ++i) { // std::cerr << processes_[i]->get_pid() << std::endl;
  10. Download patch debian/patches/01_fix_libs_in_linking_tests

    --- 1.17-4/debian/patches/01_fix_libs_in_linking_tests 2011-06-26 07:56:40.000000000 +0000 +++ 1.19-0ubuntu8/debian/patches/01_fix_libs_in_linking_tests 2013-12-06 20:53:59.000000000 +0000 @@ -3,13 +3,11 @@ Description: Fixes Makefile template to . Forwarded: not-needed Author: Sebastian Carneiro <scarneiro@speedy.com.ar> -Last-Update: 2011-06-12 +Last-Update: 2013-12-06 -Index: modglue-1.17/src/Makefile.in -=================================================================== ---- modglue-1.17.orig/src/Makefile.in 2011-06-12 14:00:09.667589422 -0300 -+++ modglue-1.17/src/Makefile.in 2011-06-12 14:52:05.395039551 -0300 -@@ -54,13 +54,13 @@ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -60,13 +60,13 @@ ${MPHASE} -o test_child_process $< libmodglue.la test_ext_process: test_ext_process.o
  11. Download patch debian/patches/series

    --- 1.17-4/debian/patches/series 2020-05-12 13:20:46.000000000 +0000 +++ 1.19-0ubuntu8/debian/patches/series 2020-05-26 02:51:52.000000000 +0000 @@ -1,3 +1,2 @@ 01_fix_libs_in_linking_tests -02_reproducible_build.patch flexible-array-member.patch
  12. Download patch src/Makefile.in

    --- 1.17-4/src/Makefile.in 2010-05-29 16:57:40.000000000 +0000 +++ 1.19-0ubuntu8/src/Makefile.in 2013-02-23 22:18:44.000000000 +0000 @@ -5,9 +5,15 @@ MACTEST= @MAC_OS_X@ ifeq ($(strip $(MACTEST)),) LIBTOOL = libtool else -export MACOSX_DEPLOYMENT_TARGET=10.3 +#export MACOSX_DEPLOYMENT_TARGET=10.3 LIBTOOL = glibtool endif +# Ubuntu/Debian sometimes use DEVDESTDIR, but if it is +# absent, just set it equal to DESTDIR otherwise macs will +# get confused. +ifndef DEVDESTDIR +DEVDESTDIR=${DESTDIR} +endif # We use libtool but without any of the automake # nonsense, so we only need the following 5 lines. @@ -66,7 +72,7 @@ test_writes: test_writes.o prompt: prompt.o ${MPHASE} -o prompt prompt.o `pkg-config sigc++-2.0 --libs` libmodglue.la - chrpath -d .libs/prompt +# chrpath -d .libs/prompt prompt_static: prompt.cc library ${CPHASE} ${TIMESTAMP} -o prompt.o \ @@ -99,6 +105,9 @@ isatty: isatty.o #------- Library -------------------------------------- install: library tools +ifeq ($(strip ${DEVDESTDIR}),) + DEVDESTDIR=${DESTDIR} +endif @INSTALL@ -m 755 -d ${DESTDIR}@prefix@ @INSTALL@ -m 755 -d ${DESTDIR}@prefix@/@libdir@ @INSTALL@ -m 755 -d ${DEVDESTDIR}@prefix@/@libdir@
  13. Download patch debian/libmodglue1v5.lintian-overrides

    --- 1.17-4/debian/libmodglue1v5.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ 1.19-0ubuntu8/debian/libmodglue1v5.lintian-overrides 2015-08-04 10:30:25.000000000 +0000 @@ -0,0 +1,2 @@ +# G++5 ABI transition +libmodglue1v5: package-name-doesnt-match-sonames libmodglue1
  14. Download patch src/pipe.cc

    --- 1.17-4/src/pipe.cc 2010-05-29 16:57:40.000000000 +0000 +++ 1.19-0ubuntu8/src/pipe.cc 2013-02-23 22:18:44.000000000 +0000 @@ -184,7 +184,8 @@ int modglue::pipe::read_nonblocking_(cha } else { // CHECKED: recmsg is not the reason for dropped bytes - char cbuf[CMSG_SPACE(sizeof(int))]; + int len=CMSG_SPACE(sizeof(int)); + char *cbuf = new char[len]; struct msghdr mh = {0}; struct iovec iov; @@ -193,13 +194,16 @@ int modglue::pipe::read_nonblocking_(cha iov.iov_base = data; iov.iov_len = maxlen; mh.msg_control = cbuf; - mh.msg_controllen = sizeof cbuf; + mh.msg_controllen = len; int ret; do { ret = recvmsg(fd_, &mh, 0); } while(ret<0 && errno==EINTR); assert(!(ret<0 && errno!=EAGAIN)); + + delete [] cbuf; + return ret; } }
  15. Download patch debian/copyright
  16. Download patch Makefile.in

    --- 1.17-4/Makefile.in 2010-05-29 16:57:40.000000000 +0000 +++ 1.19-0ubuntu8/Makefile.in 2013-02-23 22:18:44.000000000 +0000 @@ -1,5 +1,5 @@ -export RELEASE=1.17 +export RELEASE=1.19 .PHONY: all install library static examples uninstall clean distclean @@ -7,6 +7,7 @@ all: library #examples library: + echo @libdir@ ( cd src && $(MAKE) ); static:
  1. modglue