[3depict] 01/02: * Fix compilation for mathgl-2.2

D Haley mycae-guest at moszumanska.debian.org
Sun Jan 26 00:21:42 UTC 2014


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

mycae-guest pushed a commit to branch master
in repository 3depict.

commit 92352f60cd7790468ec2d7c8de848eb292630272
Author: D Haley <mycae at gmx.com>
Date:   Sat Jan 25 22:53:57 2014 +0100

    * Fix compilation for mathgl-2.2
---
 debian/patches/mgl-header-dropped.patch | 13 +++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/mgl-header-dropped.patch b/debian/patches/mgl-header-dropped.patch
new file mode 100644
index 0000000..59eedbe
--- /dev/null
+++ b/debian/patches/mgl-header-dropped.patch
@@ -0,0 +1,13 @@
+In mathgl-dev, 2.1.3.1-4+b1, there is mgl_cf.h. In 1.x series, and in 2-2, there is not. 
+--- 3depict-0.0.15.orig/configure
++++ 3depict-0.0.15/configure
+@@ -6858,8 +6858,7 @@
+ 				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"mathgl check: assuming mathgl 1.x\"" >&5
+ $as_echo "\"mathgl check: assuming mathgl 1.x\"" >&6; }
+ 		else
+-				#note file rename under mgl2 mgl_c->mgl_cf
+-				MGL_HEADER_TESTFILE="mgl2/mgl_cf.h"
++				MGL_HEADER_TESTFILE="mgl2/mgl.h"
+ 		fi
+ 		;;
+ 	*)
diff --git a/debian/patches/series b/debian/patches/series
index 813c58e..60fb02b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ debian-desktop-naming.patch
 lowercase-textdomain.patch
 FTGL-lowercase.patch
 patch-caching-bug
+mgl-header-dropped.patch

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



More information about the debian-science-commits mailing list