~ubuntu-branches/ubuntu/wily/sgt-puzzles/wily

« back to all changes in this revision

Viewing changes to debian/patches/303_show-debian-version-number.diff

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-10-01 22:10:50 UTC
  • mfrom: (1.2.14)
  • Revision ID: package-import@ubuntu.com-20141001221050-a83g6j14c9dal6ek
Tags: 20140928.r10274-1
* New upstream version
  - Version scheme is now date-based
  - Fix a failure to warn about non-unique rows/columns in non-square Unruly
    grids (Closes: #718354)
* Add Debian menu entries for Range and Signpost
* debian/watch: Delete, as new versions are date-based and there is
  currently no obvious way to find the last date changed
* Disable 304_combine-binaries.diff which no longer applies
* Build using autotools
  - Drop patches 301_fix-install-dirs.diff, 305_no-werror.diff
* Exclude puzzles.chm from orig tarball because it requires non-free tools
  to regenerate from source
* Update policy version to 3.9.6; no changes required

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Include Debian version number in any version display to make
5
5
it obvious that the binaries are built from modified source.
6
6
 
7
 
--- sgt-puzzles.orig/version.c
8
 
+++ sgt-puzzles/version.c
9
 
@@ -7,7 +7,11 @@
10
 
 
11
 
 #if defined REVISION
12
 
 
13
 
-char ver[] = "Revision: r" STR(REVISION);
14
 
+char ver[] = "Revision: r" STR(REVISION)
 
7
--- a/version.c
 
8
+++ b/version.c
 
9
@@ -4,4 +4,8 @@
 
10
 
 
11
 #include "version.h"
 
12
 
 
13
-char ver[] = VER;
 
14
+char ver[] = VER
15
15
+#if defined DEBIAN_VERSION
16
16
+    " (Debian package " DEBIAN_VERSION ")"
17
17
+#endif
18
18
+    ;
19
 
 
20
 
 #else
21