patches
Hello!
Attached are 'qemu-Makefile-man.patch' and 'qemu-test-byteswap.h.patch'.
The former removes the executable bit from the installed manual pages, the latter is from the category "check, don't speculate": 'byteswap.h' could be (and on my systems indeed is) available in a directory different from '/usr/include/'.
Regards,
Thomas
Makefile +1 -1
@@ -57,7 +57,7 @@ install -m 644 qemu-doc.html qemu-tech.html "$(docdir)" ifndef CONFIG_WIN32 mkdir -p "$(mandir)/man1" - install qemu.1 qemu-img.1 "$(mandir)/man1" + install -m 0644 qemu.1 qemu-img.1 "$(mandir)/man1" endif for d in $(TARGET_DIRS); do \ $(MAKE) -C $$d $@ || exit 1 ; \
configure +1 -1
@@ -393,7 +393,7 @@ if test "$mingw32" = "yes" ; then echo "CONFIG_WIN32=yes" >> $config_mak echo "#define CONFIG_WIN32 1" >> $config_h -elif test -f "/usr/include/byteswap.h" ; then +elif echo '#include <byteswap.h>' | $cc -x c -c -o $TMPO -; then echo "#define HAVE_BYTESWAP_H 1" >> $config_h fi if test "$darwin" = "yes" ; then