[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#498327: xterm: fragile build on GNU/kFreeBSD



Package: xterm
Version: 236-1
Tags: patch
User: glibc-bsd-devel@lists.alioth.debian.org
Usertags: kfreebsd

Hi,

the current version sometimes fails to build on GNU/kFreeBSD, see

http://buildd.debian-ports.org/build.php?&pkg=xterm&ver=236-1&arch=kfreebsd-amd64

The problem is timestamp resolution in underlying file system.
The "make" sets subsecond timestamp resolution.

Please, could you change debian/rules as shown bellow.

Thanks in advance

                        Petr



--- debian/rules~       2008-09-09 09:00:51.000000000 +0000
+++ debian/rules        2008-09-09 09:00:51.000000000 +0000
@@ -59,7 +59,7 @@
 stampdir: $(STAMP_DIR)/stampdir
 $(STAMP_DIR)/stampdir:
        mkdir $(STAMP_DIR)
-       >$@
+       touch $@

 # Set up the package build directory as quilt expects to find it.
 .PHONY: prepare
@@ -69,7 +69,7 @@
        echo 2 >$(STAMP_DIR)/patches/.version
        ln -s debian/patches patches
        ln -s $(STAMP_DIR)/patches .pc
-       >$@
+       touch $@

 # Apply all patches to the upstream source.
 .PHONY: patch




Reply to: