[mathgl] 01/03: Fix FTBFS on arches with unsigned plain char (patched by E. G. Evans) (#Closes: 797610)

Dimitrios Eftaxiopoulos eftaxiop-guest at moszumanska.debian.org
Sat Sep 5 20:42:14 UTC 2015


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

eftaxiop-guest pushed a commit to branch master
in repository mathgl.

commit 11d71d3d7d1cdf92071a9320b5e57041fdec4ac4
Author: Dimitrios Eftaxiopoulos <eftaxi12 at otenet.gr>
Date:   Sat Sep 5 22:25:23 2015 +0300

    Fix FTBFS on arches with unsigned plain char (patched by E. G. Evans) (#Closes: 797610)
---
 .pc/applied-patches                           |  1 +
 .pc/utils.patch/.timestamp                    |  0
 {utils => .pc/utils.patch/utils}/make_bin.cpp |  0
 debian/patches/series                         |  1 +
 debian/patches/utils.patch                    | 12 ++++++++++++
 utils/make_bin.cpp                            |  2 +-
 6 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/.pc/applied-patches b/.pc/applied-patches
index ba9f331..523fc93 100644
--- a/.pc/applied-patches
+++ b/.pc/applied-patches
@@ -1,2 +1,3 @@
 CMakeLists.patch
 udav.patch
+utils.patch
diff --git a/.pc/utils.patch/.timestamp b/.pc/utils.patch/.timestamp
new file mode 100644
index 0000000..e69de29
diff --git a/utils/make_bin.cpp b/.pc/utils.patch/utils/make_bin.cpp
similarity index 100%
copy from utils/make_bin.cpp
copy to .pc/utils.patch/utils/make_bin.cpp
diff --git a/debian/patches/series b/debian/patches/series
index ba9f331..523fc93 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 CMakeLists.patch
 udav.patch
+utils.patch
diff --git a/debian/patches/utils.patch b/debian/patches/utils.patch
new file mode 100644
index 0000000..261d4f0
--- /dev/null
+++ b/debian/patches/utils.patch
@@ -0,0 +1,12 @@
+Fix FTBFS on architectures with unsigned plain char (patch provided by  E. G. Evans)
+--- a/utils/make_bin.cpp
++++ b/utils/make_bin.cpp
+@@ -24,7 +24,7 @@
+ {
+ 	mglFont fnt;
+ 	std::string path, base, fname;
+-	char ch;
++	int ch;
+ 
+ 	while(1)
+ 	{
diff --git a/utils/make_bin.cpp b/utils/make_bin.cpp
index ac9a44c..9c56408 100644
--- a/utils/make_bin.cpp
+++ b/utils/make_bin.cpp
@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
 {
 	mglFont fnt;
 	std::string path, base, fname;
-	char ch;
+	int ch;
 
 	while(1)
 	{

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathgl.git



More information about the debian-science-commits mailing list