File: 0020-buildtime-from-debian-changelog.patch

package info (click to toggle)
tigervnc 1.15.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,148 kB
  • sloc: cpp: 40,876; java: 35,052; ansic: 13,201; perl: 2,913; makefile: 706; sh: 342; python: 41
file content (34 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Enable reproducible builds by deriving the build time from the Debian changelog.
Author: Joachim Falk <joachim.falk@gmx.de>
Forwarded: not-needed

Index: pkg-tigervnc/unix/x0vncserver/buildtime.c
===================================================================
--- pkg-tigervnc.orig/unix/x0vncserver/buildtime.c
+++ pkg-tigervnc/unix/x0vncserver/buildtime.c
@@ -15,4 +15,4 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
-char buildtime[] = __DATE__ " " __TIME__;
+char buildtime[] = BUILD_TIMESTAMP;
Index: pkg-tigervnc/unix/xserver/hw/vnc/buildtime.c
===================================================================
--- pkg-tigervnc.orig/unix/xserver/hw/vnc/buildtime.c
+++ pkg-tigervnc/unix/xserver/hw/vnc/buildtime.c
@@ -15,4 +15,4 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
-char buildtime[] = __DATE__ " " __TIME__;
+char buildtime[] = BUILD_TIMESTAMP;
Index: pkg-tigervnc/unix/vncconfig/buildtime.c
===================================================================
--- pkg-tigervnc.orig/unix/vncconfig/buildtime.c
+++ pkg-tigervnc/unix/vncconfig/buildtime.c
@@ -15,4 +15,4 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
  * USA.
  */
-char buildtime[] = __DATE__ " " __TIME__;
+char buildtime[] = BUILD_TIMESTAMP;