Package: libogg
Version: 1.3.2-1
Severity: normal
Tags: patch
User: debian-ri...@lists.debian.org
Usertags: riscv64

Hi,

We are in the process of bootstrapping a Debian port for the
riscv64 architecture (https://wiki.debian.org/RISC-V). It happens that
the config.guess/sub included in libogg is too old to recognize this
system [1]. The solution is to update those files from autotools-dev, as
recommended by Debian Policy ยง4.3. This is what the single patch
below does, by running the dh_update_autotools_config command just
before configure. Restoring those files in the clean rule is done by
dh_clean.

Thanks,
Aurelien

[1] 
https://buildd.debian.org/status/fetch.php?pkg=libogg&arch=riscv64&ver=1.3.2-1&stamp=1522049697&raw=0


diff -u libogg-1.3.2/debian/rules libogg-1.3.2/debian/rules
--- libogg-1.3.2/debian/rules
+++ libogg-1.3.2/debian/rules
@@ -54,6 +54,7 @@
 
 $(objdir)/config.status: configure
        dh_testdir
+       dh_update_autotools_config
        mkdir -p $(objdir)
        cd $(objdir) && ../configure --disable-maintainer-mode          \
                                     --host=$(DEB_HOST_GNU_TYPE)        \

-- System Information:
Debian Release: buster/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: riscv64

Kernel: Linux 4.15.0_riscv-linux-4.15_2b0aa1de4+ (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to