Source: monkeysphere Version: 0.41-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
monkeysphere fails to cross build from source, because the upstream Makefile hard codes the build architecture compiler. It thus fails finding gpg-error.h, which is only requested for the host architecture by Build-Depends. After making the compiler substitutable, it cross builds successfully. Please consider applying the attached patch. Helmut
Index: monkeysphere-0.41/Makefile =================================================================== --- monkeysphere-0.41.orig/Makefile +++ monkeysphere-0.41/Makefile @@ -30,7 +30,7 @@ all: src/agent-transfer/agent-transfer $(addprefix replaced/,$(REPLACEMENTS)) $(REPLACED_COMPRESSED_MANPAGES) src/agent-transfer/agent-transfer: src/agent-transfer/main.c src/agent-transfer/ssh-agent-proto.h - gcc -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< $(LIBS) + $(CC) -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< $(LIBS) debian-package: git buildpackage -uc -us