[ Helmut Grohne ]
> Source: asmon
> Version: 0.71-6
> Tags: patch
> User: debian-cr...@lists.debian.org
> Usertags: ftcbfs
> 
> asmon fails to cross build from source, because the upstream Makefile
> hard codes the build architecture compiler gcc. Please consider applying
> the attached patch to fix that.

I'll push a new version; Thanks!

> diff -u asmon-0.71/asmon/Makefile asmon-0.71/asmon/Makefile
> --- asmon-0.71/asmon/Makefile
> +++ asmon-0.71/asmon/Makefile
> @@ -12,10 +12,10 @@
>               ../wmgeneral/list.o
>  
>  .c.o:
> -     gcc -c -std=gnu89 -Wall $(SOLARIS) $< -o $*.o
> +     $(CC) -c -std=gnu89 -Wall $(SOLARIS) $< -o $*.o
>  
>  asmon: $(OBJS)
> -     gcc -o asmon $(OBJS) $(LIBDIR) $(LIBS)
> +     $(CC) -o asmon $(OBJS) $(LIBDIR) $(LIBS)
>  
>  clean::
>       for i in $(OBJS) ; do \
> diff -u asmon-0.71/debian/changelog asmon-0.71/debian/changelog
> --- asmon-0.71/debian/changelog
> +++ asmon-0.71/debian/changelog
> @@ -1,3 +1,12 @@
> +asmon (0.71-6.1) UNRELEASED; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Fix FTCBFS: (Closes: #-1)
> +    + Make gcc substituable.
> +    + Let dh_auto_build pass cross tools to make.
> +
> + -- Helmut Grohne <hel...@subdivi.de>  Fri, 26 Jul 2019 06:25:16 +0200
> +
>  asmon (0.71-6) unstable; urgency=medium
>  
>    * Correct help synopsis misspelling (Closes: #773002)
> diff -u asmon-0.71/debian/rules asmon-0.71/debian/rules
> --- asmon-0.71/debian/rules
> +++ asmon-0.71/debian/rules
> @@ -14,7 +14,7 @@
>  build-stamp:
>       dh_testdir
>  
> -     $(MAKE) -C asmon
> +     dh_auto_build --sourcedirectory=asmon
>  
>       touch build-stamp
>  


-- 
Eric Evans
eevans.sym-link.com

Reply via email to