File: debian-changes

package info (click to toggle)
glaurung 2.2-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 912 kB
  • sloc: cpp: 10,271; makefile: 62
file content (67 lines) | stat: -rw-r--r-- 2,335 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 glaurung (2.2-3) unstable; urgency=medium
 .
   * QA upload.
   * Set maintainer to the QA group.
   * Priority optional, standards, R³, dh 12, build-arch, format 3.0.
   * Work around --as-needed regression in gcc-9. (Closes: #925696)
   * Drop Homepage -- taken over by a payday loan scammer.
   * Drop redundant noopt handling (it's broken anyway, too...).
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #900215)
Author: Adam Borowski <kilobyte@angband.pl>
Bug-Debian: https://bugs.debian.org/900215
Bug-Debian: https://bugs.debian.org/925696

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2019-11-03

--- glaurung-2.2.orig/src/Makefile
+++ glaurung-2.2/src/Makefile
@@ -53,7 +53,7 @@ CXX = g++
 ###
 
 $(EXE): $(OBJS)
-	$(CXX) $(LDFLAGS) -o $@ $(OBJS)
+	$(CXX) $(LDFLAGS) -o $@ $(OBJS) -pthread
 
 .depend:
 	$(CXX) -MM $(OBJS:.o=.cpp) > $@
--- glaurung-2.2.orig/src/main.cpp
+++ glaurung-2.2/src/main.cpp
@@ -23,6 +23,7 @@
 
 #include <cstdlib>
 #include <iostream>
+#include <cstdio>
 
 #include "benchmark.h"
 #include "bitboard.h"
--- glaurung-2.2.orig/src/evaluate.cpp
+++ glaurung-2.2/src/evaluate.cpp
@@ -1243,7 +1243,7 @@ namespace {
         SafetyTable[i] = Value((int)(100 * a * (i - b)));
     }
 
-    for(i = 0; i < 100; i++)
+    for(i = 0; i < 99; i++)
       if(SafetyTable[i+1] - SafetyTable[i] > maxSlope) {
         for(j = i + 1; j < 100; j++)
           SafetyTable[j] = SafetyTable[j-1] + Value(maxSlope);