aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2011-04-26 04:48:49 +0800
committermakc <makc@FreeBSD.org>2011-04-26 04:48:49 +0800
commit680d3447040d37ec33f6a2c63b82e6d0d7593732 (patch)
tree5b0c86b612a833d2da691797c66f53b91dcd7f22 /math
parent617a6326cd4f5188589be4c77cca28a1bfd5e6d0 (diff)
downloadfreebsd-ports-gnome-680d3447040d37ec33f6a2c63b82e6d0d7593732.tar.gz
freebsd-ports-gnome-680d3447040d37ec33f6a2c63b82e6d0d7593732.tar.zst
freebsd-ports-gnome-680d3447040d37ec33f6a2c63b82e6d0d7593732.zip
Add upstream patch to fix scilab version number.
PR: ports/156621 Submitted by: Rob Farmer (maintainer)
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile1
-rw-r--r--math/scilab/files/patch-modules-core-includes-version.h.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index f8670fbc7caf..c24b6e65b30a 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scilab
PORTVERSION= 5.3.1
+PORTREVISION= 1
CATEGORIES= math cad parallel java
MASTER_SITES= http://www.scilab.org/download/${PORTVERSION}/:scilab \
http://www.predatorlabs.net/dl/:jgraphx \
diff --git a/math/scilab/files/patch-modules-core-includes-version.h.in b/math/scilab/files/patch-modules-core-includes-version.h.in
new file mode 100644
index 000000000000..82369ca66bbd
--- /dev/null
+++ b/math/scilab/files/patch-modules-core-includes-version.h.in
@@ -0,0 +1,11 @@
+--- modules/core/includes/version.h.in.orig 2011-03-03 07:30:19.000000000 -0800
++++ modules/core/includes/version.h.in 2011-04-23 14:29:15.000000000 -0700
+@@ -15,7 +15,7 @@
+ #define SCI_VERSION_MAJOR @SCILAB_VERSION_MAJOR@
+ #define SCI_VERSION_MINOR @SCILAB_VERSION_MINOR@
+ #define SCI_VERSION_MAINTENANCE @SCILAB_VERSION_MAINTENANCE@
+-#define SCI_VERSION_STRING "scilab-branch-5.3"
++#define SCI_VERSION_STRING "scilab-5.3.1"
+ /* SCI_VERSION_REVISION --> hash key commit */
+ #define SCI_VERSION_REVISION 0
+ #define SCI_VERSION_TIMESTAMP 0