Package: scantool
Version: 2.0-1
Severity: important

Dear Maintainer,

scantool fails to build on several architectures, a simple link -lm
should fix this problem. (Attached fix works on i386, and should work
on the other ports too).

Index: scantool-2.0/makefile
===================================================================
--- scantool-2.0.orig/makefile
+++ scantool-2.0/makefile
@@ -1,5 +1,5 @@
 CC = gcc
-AL_LIBS = $(shell allegro-config --libs)
+AL_LIBS = $(shell allegro-config --libs) -lm
 CFLAGS ?= -O2 -g -Wall

 ifdef DEBUGMODE

Thanks in advance.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8),
LANGUAGE=sv_SE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages scantool depends on:
ii  liballegro4.4  2:4.4.3.1-1
ii  libc6          2.28-10

scantool recommends no packages.

scantool suggests no packages.


-- Andreas Rönnquist
gus...@debian.org

Reply via email to