summaryrefslogtreecommitdiff
path: root/x11/xloadimage
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2016-06-06 04:42:15 +0000
committerAlex Kozlov <ak@FreeBSD.org>2016-06-06 04:42:15 +0000
commit54ffbcf9216c3c6ab05b3e40dfd80f5b2e6a6611 (patch)
treedffec8c14d8ad5957e8a28eaa022bc789309d4f6 /x11/xloadimage
parentdevel/cargo: update to 0.10.0 to unbreak after r416219 (diff)
- Regenerate distinfo
- Fix build when Samba is installed and configured as PDC [1] - Make build reproducible [2] PR: 209724 Submitted by: mail_of_sergey@mail.ru Submitted by: amdmi3 [1] [2]
Notes
Notes: svn path=/head/; revision=416442
Diffstat (limited to 'x11/xloadimage')
-rw-r--r--x11/xloadimage/distinfo1
-rw-r--r--x11/xloadimage/files/patch-build-info35
2 files changed, 36 insertions, 0 deletions
diff --git a/x11/xloadimage/distinfo b/x11/xloadimage/distinfo
index 1ec2b416d749..c332075d516c 100644
--- a/x11/xloadimage/distinfo
+++ b/x11/xloadimage/distinfo
@@ -1,3 +1,4 @@
+TIMESTAMP = 1465187272
SHA256 (xloadimage_4.1.orig.tar.gz) = 400bc7d84dcfb3265a7a1ce51819679dc3adaeda231514bd89b0f932b78ff5c4
SIZE (xloadimage_4.1.orig.tar.gz) = 596021
SHA256 (xloadimage_4.1-21.debian.tar.gz) = 4a15879f501462f1e45f3f8064a67b46362826c44bab5827e5dc051cd5c0a49f
diff --git a/x11/xloadimage/files/patch-build-info b/x11/xloadimage/files/patch-build-info
new file mode 100644
index 000000000000..1f0a17a17f46
--- /dev/null
+++ b/x11/xloadimage/files/patch-build-info
@@ -0,0 +1,35 @@
+Index: build-info
+@@ -3,32 +3,16 @@
+
+ # try to find out the build date
+
+-if [ -x /bin/date ]; then
+- date='char *BuildDate= "'`/bin/date`'";'
+-else
+ date='char *BuildDate= (char *)0;'
+-fi
+
+ # try to find out who's doing the build. there are two common places
+ # for 'id', /bin/id and /usr/bin/id.
+
+-if [ -x /bin/id ]; then
+- user='char *BuildUser= "'`/bin/id`'";'
+-else
+- if [ -x /usr/bin/id ]; then
+- user='char *BuildUser= "'`/usr/bin/id`'";'
+- else
+ user='char *BuildUser= (char *)0;'
+- fi
+-fi
+
+ # try to find out the system information
+
+-if [ -x /bin/uname ]; then
+- uname='char *BuildSystem= "'`/bin/uname -a`'";'
+-else
+- uname='char *BuildSystem= "<unknown system>";'
+-fi
++ uname='char *BuildSystem= "FreeBSD";'
+
+ echo '/* THIS FILE IS AUTOMATICALLY GENERATED */' > build.c
+ echo $uname >> build.c