From b4da2cad2d6b70a732b3537ea368fdc089d5087d Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Mon, 25 Apr 2011 20:48:49 +0000 Subject: [PATCH] Add upstream patch to fix scilab version number. PR: ports/156621 Submitted by: Rob Farmer (maintainer) --- math/scilab/Makefile | 1 + .../files/patch-modules-core-includes-version.h.in | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 math/scilab/files/patch-modules-core-includes-version.h.in 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