File reproducible.patch of Package dosemu
Upstream via
https://github.com/stsp/dosemu2/pull/386
and https://github.com/stsp/dosemu2/commit/8d7ab25daf6f2d8ca09e1598fd11de2d8460255e
Index: dosemu-1.4.0.1/src/arch/linux/Makefile.main
===================================================================
--- dosemu-1.4.0.1.orig/src/arch/linux/Makefile.main
+++ dosemu-1.4.0.1/src/arch/linux/Makefile.main
@@ -70,7 +70,7 @@ default: version include/confpath.h dosl
../etc/vga10x24.pcf.gz:
ifdef X_SUPPORT
@for i in $(REALTOPDIR)/etc/*.bdf; do \
- bdftopcf $$i | gzip -c -9 > ../etc/`basename $$i .bdf`.pcf.gz; \
+ bdftopcf $$i | gzip -n -c -9 > ../etc/`basename $$i .bdf`.pcf.gz; \
done
@cd ../etc; mkfontdir -x bdf
endif
Index: dosemu-1.4.0.1/mkpluginhooks
===================================================================
--- dosemu-1.4.0.1.orig/mkpluginhooks
+++ dosemu-1.4.0.1/mkpluginhooks
@@ -15,7 +15,7 @@ PINC=plugin_incdirs
PCONF=plugin_configure
PARSDIR=src/base/init
-PDIRS=`cd $SRCDIR; find ./ -maxdepth 1 ! -name include -type d -printf ' %f'`
+PDIRS=`cd $SRCDIR; find ./ -maxdepth 1 ! -name include -type d -printf '\n%f' | LC_ALL=C sort`
function gendummy {
for i in $HEADERS; do