Source: foo2zjs
Version: 20171202dfsg0-1
Tags: patch upstream
Control: block 798955 by -1

foo2zjs's Makefile hard codes the location of stdio.h. That breaks with
non-glibc libcs and with a glibc that fixes #798955 as it will move
stdlib.h to /usr/include/<triplet>/stdio.h. The attached patch removes
the broken check and doing so is sufficient to make foo2zjs build again.
Please consider applying the patch.

Helmut
--- foo2zjs-20171202dfsg0.orig/Makefile
+++ foo2zjs-20171202dfsg0/Makefile
@@ -399,15 +399,6 @@
 	    echo "      ***"; \
 	    exit 1; \
 	fi
-	@if ! test -f /usr/include/stdio.h; then \
-	    echo "      ***"; \
-	    echo "      *** Error: /usr/include/stdio.h is not installed!"; \
-	    echo "      ***"; \
-	    echo "      *** Install Software Development (gcc) package"; \
-	    echo "      *** for Ubuntu: sudo apt-get install build-essential"; \
-	    echo "      ***"; \
-	    exit 1; \
-	fi
 	@if ! type gs >/dev/null 2>&1; then \
 	    echo "      ***"; \
 	    echo "      *** Error: gs is not installed!"; \

Reply via email to