Package: protobuf
Version: 2.4.1-3
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: arm64

protobuf'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.

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

diff -Nru protobuf-2.4.1/debian/control protobuf-2.4.1/debian/control
--- protobuf-2.4.1/debian/control       2012-06-17 17:29:45.000000000 +0100
+++ protobuf-2.4.1/debian/control       2013-10-10 14:46:19.000000000 +0100
@@ -7,7 +7,7 @@
  python (>= 2.3.5-11), python-dev (>= 2.3.5-11),
  python-setuptools (>= 0.6c9), xmlto, ant, zlib1g-dev,
  default-jdk, unzip, python-support (>= 0.6), chrpath,
- maven-repo-helper
+ maven-repo-helper, autotools-dev
 Standards-Version: 3.9.3
 Homepage: http://code.google.com/p/protobuf/
 Vcs-Browser: http://git.debian.org/?p=collab-maint/protobuf.git
diff -Nru protobuf-2.4.1/debian/rules protobuf-2.4.1/debian/rules
--- protobuf-2.4.1/debian/rules 2012-06-17 17:29:45.000000000 +0100
+++ protobuf-2.4.1/debian/rules 2013-10-10 14:46:12.000000000 +0100
@@ -44,6 +44,7 @@
 configure-stamp:
        dh_testdir
        # Add here commands to configure the package.
+       dh_autotools-dev_updateconfig
        dh_auto_configure
        touch configure-stamp
 
@@ -108,6 +109,7 @@
        # Java bindings cleanups
        $(SHELL) /usr/bin/ant -f debian/java-build.xml clean || true
 
+       dh_autotools-dev_restoreconfig
        dh_clean
        mh_clean
 

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to