I have been told that dh_strip_nondeterminism should be called even with
with “nostrip” because it does not strip symbols.

So here is an updated patch (to apply in replacement of the first one).
diff -ru xchat-2.8.8.orig/debian/control xchat-2.8.8/debian/control
--- xchat-2.8.8.orig/debian/control	2015-08-04 18:38:25.271425177 +0000
+++ xchat-2.8.8/debian/control	2015-08-04 19:20:18.931512526 +0000
@@ -4,7 +4,7 @@
 Maintainer: Davide Puricelli (evo) <[email protected]>
 Uploaders: Bart Martens <[email protected]>
 Standards-Version: 3.8.4.0
-Build-Depends: debhelper (>= 5), bison, libssl-dev, libglib2.0-dev, libgtk2.0-dev (>= 2.0.6), libperl-dev, gettext (>= 0.10.37), libtool, zlib1g-dev, perl (>= 5.8), python-dev, tcl-dev, autotools-dev, libdbus-glib-1-dev, libgtkspell-dev, gconf2, dpkg-dev (>= 1.13.19), libsexy-dev, chrpath, imagemagick, autoconf
+Build-Depends: debhelper (>= 5), bison, libssl-dev, libglib2.0-dev, libgtk2.0-dev (>= 2.0.6), libperl-dev, gettext (>= 0.10.37), libtool, zlib1g-dev, perl (>= 5.8), python-dev, tcl-dev, autotools-dev, libdbus-glib-1-dev, libgtkspell-dev, gconf2, dpkg-dev (>= 1.13.19), libsexy-dev, chrpath, imagemagick, autoconf, dh-strip-nondeterminism
 Homepage: http://www.xchat.org/
 
 Package: xchat
--- xchat-2.8.8.orig/debian/rules	2015-08-04 18:38:25.271425177 +0000
+++ xchat-2.8.8/debian/rules	2015-08-04 20:22:48.147642811 +0000
@@ -90,6 +90,7 @@
 ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" ""
 	dh_strip -pxchat
 endif	
+	dh_strip_nondeterminism -pxchat
 	dh_compress -pxchat
 	dh_fixperms -pxchat
 	dh_installdeb -pxchat
diff -ru xchat-2.8.8.orig/src/fe-gtk/about.c xchat-2.8.8/src/fe-gtk/about.c
--- xchat-2.8.8.orig/src/fe-gtk/about.c	2015-08-04 18:38:25.267425176 +0000
+++ xchat-2.8.8/src/fe-gtk/about.c	2015-08-04 19:28:08.000000000 +0000
@@ -55,7 +55,6 @@
 
 	(snprintf) (buf, sizeof (buf),
 				 "An IRC Client for UNIX.\n\n"
-				 "This binary was compiled on "__DATE__"\n"
 				 "Using GTK %d.%d.%d X %d\n"
 				 "Running on %s",
 				 gtk_major_version, gtk_minor_version, gtk_micro_version,
@@ -126,7 +125,7 @@
 #else
 				"<b>Renderer</b>: %s\n"
 #endif
-				"<b>Compiled</b>: "__DATE__"\n\n"
+				"\n"
 				"<small>\302\251 1998-2010 Peter \305\275elezn\303\275 &lt;[email protected]></small>",
 					_("A multiplatform IRC Client"),
 					get_cpu_str(),
diff -ru xchat-2.8.8.orig/src/fe-text/fe-text.c xchat-2.8.8/src/fe-text/fe-text.c
--- xchat-2.8.8.orig/src/fe-text/fe-text.c	2015-08-04 18:38:25.267425176 +0000
+++ xchat-2.8.8/src/fe-text/fe-text.c	2015-08-04 19:28:08.000000000 +0000
@@ -103,7 +103,6 @@
 				"\n"
 				" \017xchat \00310"PACKAGE_VERSION"\n"
 				" \017Running on \00310%s \017glib \00310%d.%d.%d\n"
-				" \017This binary compiled \00310"__DATE__"\017\n",
 				get_cpu_str(),
 				glib_major_version, glib_minor_version, glib_micro_version);
 	fe_print_text (sess, buf, 0);

Reply via email to