Package: vpb-driver
Version: 4.2.55-1
Severity: important
Tags: patch
User: [email protected]
Usertags: arm64

vpb-driver's config.guess/config.sub are out of date for the forthcoming
arm64 port.  The attached patch sets things up so that you don't have to
be bothered by this type of bug for future ports.

(It looks a bit weird that there are two calls to
dh_autotools-dev_updateconfig but only one to
dh_autotools-dev_restoreconfig; but the tools are actually fine with
this and there didn't seem to be a single sensible place to put the
update call.)

  * Use the autotools-dev dh addon to update config.guess/config.sub for
    arm64.

diff -u vpb-driver-4.2.55/debian/rules vpb-driver-4.2.55/debian/rules
--- vpb-driver-4.2.55/debian/rules
+++ vpb-driver-4.2.55/debian/rules
@@ -91,6 +91,7 @@
        $(RM) build-arch-stamp build-indep-stamp
        $(RM) -r obj_shared obj_static
 
+       dh_autotools-dev_restoreconfig
        dh_clean
 
 #      We don't need to run this in the module build, there are no templates
@@ -104,6 +105,7 @@
 
 obj_shared/config.status: configure
        dh_testdir
+       dh_autotools-dev_updateconfig
 
        mkdir obj_shared
        cd obj_shared && ../configure --host=$(DEB_HOST_GNU_TYPE)   \
@@ -114,6 +116,7 @@
 
 obj_static/config.status: configure
        dh_testdir
+       dh_autotools-dev_updateconfig
 
        mkdir obj_static
        cd obj_static && ../configure --host=$(DEB_HOST_GNU_TYPE)   \
diff -u vpb-driver-4.2.55/debian/control vpb-driver-4.2.55/debian/control
--- vpb-driver-4.2.55/debian/control
+++ vpb-driver-4.2.55/debian/control
@@ -2,7 +2,7 @@
 Section: comm
 Priority: optional
 Maintainer: Ron Lee <[email protected]>
-Build-Depends: debhelper (>= 5.0.24), po-debconf, bzip2, zlib1g-dev, 
libpci-dev | pciutils-dev
+Build-Depends: debhelper (>= 5.0.24), po-debconf, bzip2, zlib1g-dev, 
libpci-dev | pciutils-dev, autotools-dev
 Build-Depends-Indep: doxygen, graphviz
 Standards-Version: 3.9.2.0
 

Thanks,

-- 
Colin Watson                                       [[email protected]]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to