[med-svn] r194 - trunk/packages/libsbml/trunk/debian/patches

Moriyoshi Koizumi moriyoshi-guest at alioth.debian.org
Tue Feb 6 11:01:57 CET 2007


Author: moriyoshi-guest
Date: 2007-02-06 11:01:57 +0100 (Tue, 06 Feb 2007)
New Revision: 194

Added:
   trunk/packages/libsbml/trunk/debian/patches/07_swig_enum_oddity.dpatch
Modified:
   trunk/packages/libsbml/trunk/debian/patches/00list
Log:
* Add matlib support patch to 00list
* Add patch to cope with a swig oddity (reproducible with 1.3.29)


Modified: trunk/packages/libsbml/trunk/debian/patches/00list
===================================================================
--- trunk/packages/libsbml/trunk/debian/patches/00list	2007-02-06 10:00:42 UTC (rev 193)
+++ trunk/packages/libsbml/trunk/debian/patches/00list	2007-02-06 10:01:57 UTC (rev 194)
@@ -3,3 +3,5 @@
 03_libtool_support.dpatch
 04_gcj_support.dpatch
 05_docs_destdir.dpatch
+06_matlab_support.dpatch
+07_swig_enum_oddity.dpatch

Added: trunk/packages/libsbml/trunk/debian/patches/07_swig_enum_oddity.dpatch
===================================================================
--- trunk/packages/libsbml/trunk/debian/patches/07_swig_enum_oddity.dpatch	2007-02-06 10:00:42 UTC (rev 193)
+++ trunk/packages/libsbml/trunk/debian/patches/07_swig_enum_oddity.dpatch	2007-02-06 10:01:57 UTC (rev 194)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 07_swig_enum_oddity.dpatch by  <mozo at sfc.keio.ac.jp>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+
+--- libsbml-2.3.4~/src/math/ASTNodeType.h	2005-10-04 00:36:45.000000000 +0900
++++ libsbml-2.3.4/src/math/ASTNodeType.h	2007-02-07 01:59:08.000000000 +0900
+@@ -60,11 +60,11 @@
+  */
+ typedef enum
+ {
+-    AST_PLUS    = '+'
+-  , AST_MINUS   = '-'
+-  , AST_TIMES   = '*'
+-  , AST_DIVIDE  = '/'
+-  , AST_POWER   = '^'
++    AST_PLUS    = 0x2b
++  , AST_MINUS   = 0x2d
++  , AST_TIMES   = 0x2a
++  , AST_DIVIDE  = 0x2f
++  , AST_POWER   = 0x5e
+ 
+   , AST_INTEGER = 256
+   , AST_REAL




More information about the debian-med-commit mailing list