[teeworlds] 02/04: Reset nethash to the one of pristine 0.6.3.

Felix Geyer fgeyer at moszumanska.debian.org
Sun Aug 14 10:42:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

fgeyer pushed a commit to branch master
in repository teeworlds.

commit 58c9a8bfb880c2018f1de90d645e4a7af16af945
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sun Aug 14 10:37:37 2016 +0200

    Reset nethash to the one of pristine 0.6.3.
    
    * Reset nethash to the one of pristine 0.6.3.
      - We haven't done any functional changes.
      - Add d/p/reset-nethash.patch
      - Closes: #834285
---
 debian/changelog                   |  9 +++++++++
 debian/patches/reset-nethash.patch | 16 ++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c9e0448..3f55800 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+teeworlds (0.6.3+dfsg-3) UNRELEASED; urgency=medium
+
+  * Reset nethash to the one of pristine 0.6.3.
+    - We haven't done any functional changes.
+    - Add d/p/reset-nethash.patch
+    - Closes: #834285
+
+ -- Felix Geyer <fgeyer at debian.org>  Sun, 14 Aug 2016 10:37:18 +0200
+
 teeworlds (0.6.3+dfsg-2) unstable; urgency=medium
 
   * Fix FTBFS with GCC 6. (Closes: #811757)
diff --git a/debian/patches/reset-nethash.patch b/debian/patches/reset-nethash.patch
new file mode 100644
index 0000000..11f0a43
--- /dev/null
+++ b/debian/patches/reset-nethash.patch
@@ -0,0 +1,16 @@
+Description: Reset nethash to the one of pristine 0.6.3.
+ We haven't done any functional changes.
+Author: Felix Geyer <fgeyer at debian.org>
+Bug-Debian: https://bugs.debian.org/834285
+
+diff --git a/scripts/cmd5.py b/scripts/cmd5.py
+--- a/scripts/cmd5.py
++++ b/scripts/cmd5.py
+@@ -30,6 +30,6 @@ for filename in sys.argv[1:]:
+ 
+ hash = hashlib.md5(f).hexdigest().lower()[16:]
+ #TODO 0.7: improve nethash creation
+-if hash == "3dc531e4296de555":
++if hash == "3dc531e4296de555" or hash == "e42d81cd67b8c7bc":
+ 	hash = "626fce9a778df4d4"
+ print('#define GAME_NETVERSION_HASH "%s"' % hash)
diff --git a/debian/patches/series b/debian/patches/series
index b0b8d39..a58af4c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ set-data-dir.patch
 pass-build-flags.patch
 fix-gcc6-rename-round.patch
 fix-gcc6-var-types.patch
+reset-nethash.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/teeworlds.git



More information about the Pkg-games-commits mailing list