Skip to content

Upgrade on Debian #8

@JulienPalard

Description

@JulienPalard

helmutg contributed this patch:

diff --minimal -Nru logtop-0.4.3/debian/changelog logtop-0.4.3/debian/changelog
--- logtop-0.4.3/debian/changelog	2012-06-05 22:39:38.000000000 +0200
+++ logtop-0.4.3/debian/changelog	2019-03-28 19:22:57.000000000 +0100
@@ -1,3 +1,10 @@
+logtop (0.4.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 28 Mar 2019 19:22:57 +0100
+
 logtop (0.4.3-1) unstable; urgency=low
 
   * New Support LDFLAGS in Makefile
diff --minimal -Nru logtop-0.4.3/debian/rules logtop-0.4.3/debian/rules
--- logtop-0.4.3/debian/rules	2012-05-28 13:26:36.000000000 +0200
+++ logtop-0.4.3/debian/rules	2019-03-28 19:22:56.000000000 +0100
@@ -5,7 +5,7 @@
 include /usr/share/dpkg/buildflags.mk
 
 override_dh_auto_build:
-	$(MAKE) CFLAGS="$(CFLAGS) -D_FORTIFY_SOURCE=2" LDFLAGS="$(LDFLAGS)"
+	dh_auto_build -- CFLAGS="$(CFLAGS) -D_FORTIFY_SOURCE=2" LDFLAGS="$(LDFLAGS)"
 
 %:
 	dh $@

with this message:

logtop fails to cross build from source, because it does not pass cross tools to make. The easiest way of fixing that - using dh_auto_build - makes logtop cross buildable. Please consider applying the attached patch.

see man 7 debhelper for an upgrading checklist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions