[higan] 04/04: Include cmath.

Tobias Hansen thansen at moszumanska.debian.org
Sun Jun 26 13:13:16 UTC 2016


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

thansen pushed a commit to branch master
in repository higan.

commit 3928513bfc1bdeb14402b0b1ce009548f26201d5
Author: Tobias Hansen <thansen at debian.org>
Date:   Sun Jun 26 14:13:01 2016 +0100

    Include cmath.
---
 debian/changelog                   |  1 +
 debian/patches/include_cmath.patch | 14 ++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 203cc70..ed2cd8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ higan (098-1) unstable; urgency=medium
     - use_sharedpath.patch
     - ignore_manifests_by_default.patch
     - create_config.patch
+    - include_cmath.patch
   * Fix .desktop file syntax. (Closes: #812482)
   * Update homepage URL. (Closes: #808788)
   * Bump Standards-Version.
diff --git a/debian/patches/include_cmath.patch b/debian/patches/include_cmath.patch
new file mode 100644
index 0000000..59ad549
--- /dev/null
+++ b/debian/patches/include_cmath.patch
@@ -0,0 +1,14 @@
+Description: Include cmath
+ Required for building with gcc 5/6.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/nall/platform.hpp
++++ b/nall/platform.hpp
+@@ -25,6 +25,7 @@
+ #include <errno.h>
+ #include <limits.h>
+ #include <math.h>
++#include <cmath>
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/debian/patches/series b/debian/patches/series
index f7921fd..ff75d0d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ find_cairo.patch
 use_sharedpath.patch
 ignore_manifests_by_default.patch
 create_config.patch
+include_cmath.patch

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



More information about the Pkg-games-commits mailing list