[arch-commits] Commit in cgns/trunk (PKGBUILD fix_matherr.patch)
Bruno Pagani
archange at archlinux.org
Sat Mar 9 13:51:24 UTC 2019
Date: Saturday, March 9, 2019 @ 13:51:24
Author: archange
Revision: 438251
upgpkg: cgns 3.4.0-1
Modified:
cgns/trunk/PKGBUILD
Deleted:
cgns/trunk/fix_matherr.patch
-------------------+
PKGBUILD | 12 ++------
fix_matherr.patch | 70 ----------------------------------------------------
2 files changed, 4 insertions(+), 78 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-09 13:50:14 UTC (rev 438250)
+++ PKGBUILD 2019-03-09 13:51:24 UTC (rev 438251)
@@ -7,8 +7,8 @@
_pkgname=CGNS
pkgname=cgns
-pkgver=3.3.1
-pkgrel=7
+pkgver=3.4.0
+pkgrel=1
pkgdesc="Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations"
arch=('x86_64')
url='https://cgns.github.io/'
@@ -16,15 +16,11 @@
depends=('tk' 'hdf5' 'libxmu' 'glu')
makedepends=('gcc-fortran' 'cmake')
options=(!makeflags)
-source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}.tar.gz"
- 'fix_matherr.patch')
-sha256sums=('81093693b2e21a99c5640b82b267a495625b663d7b8125d5f1e9e7aaa1f8d469'
- 'a45a77c0587f01c9ebf4bbd4bfb65d3fcd15257d566821f35d71dc51bdbe6c63')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/${_pkgname}/${_pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('6372196caf25b27d38cf6f056258cb0bdd45757f49d9c59372b6dbbddb1e05da')
prepare(){
mkdir -p build
- cd ${_pkgname}-${pkgver}
- patch -p1 -i ../fix_matherr.patch
}
build() {
Deleted: fix_matherr.patch
===================================================================
--- fix_matherr.patch 2019-03-09 13:50:14 UTC (rev 438250)
+++ fix_matherr.patch 2019-03-09 13:51:24 UTC (rev 438251)
@@ -1,70 +0,0 @@
---- a/src/cgnstools/cgnscalc/calcwish.c
-+++ a/src/cgnstools/cgnscalc/calcwish.c
-@@ -15,14 +15,6 @@
- #include "tk.h"
- #include "locale.h"
-
--/*
-- * The following variable is a special hack that is needed in order for
-- * Sun shared libraries to be used for Tcl.
-- */
--
--extern int matherr();
--int *tclDummyMathPtr = (int *) matherr;
--
- #ifdef TK_TEST
- extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));
- extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
---- a/src/cgnstools/cgnsplot/plotwish.c
-+++ b/src/cgnstools/cgnsplot/plotwish.c
-@@ -15,14 +15,6 @@
- #include "tk.h"
- #include "locale.h"
-
--/*
-- * The following variable is a special hack that is needed in order for
-- * Sun shared libraries to be used for Tcl.
-- */
--
--extern int matherr();
--int *tclDummyMathPtr = (int *) matherr;
--
- extern int Cgnstcl_Init _ANSI_ARGS_((Tcl_Interp *interp));
- extern int Tkogl_Init _ANSI_ARGS_((Tcl_Interp *interp));
-
---- a/src/cgnstools/cgnsview/cgiowish.c
-+++ b/src/cgnstools/cgnsview/cgiowish.c
-@@ -15,14 +15,6 @@
- #include "tk.h"
- #include "locale.h"
-
--/*
-- * The following variable is a special hack that is needed in order for
-- * Sun shared libraries to be used for Tcl.
-- */
--
--extern int matherr();
--int *tclDummyMathPtr = (int *) matherr;
--
- #ifdef TK_TEST
- extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));
- extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
---- a/src/cgnstools/tkogl/tkAppInit.c
-+++ b/src/cgnstools/tkogl/tkAppInit.c
-@@ -2,16 +2,6 @@
- #include <GL/gl.h>
- #include "tkogl.h"
-
--/*
-- * The following variable is a special hack that is needed in order for
-- * Sun shared libraries to be used for Tcl.
-- */
--
--#ifdef NEED_MATHERR
--extern int matherr();
--int *tclDummyMathPtr = (int *) matherr;
--#endif
--
- int Tcl_AppInit(Tcl_Interp *interp) /* Interpreter for application. */
- {
- if (Tcl_Init(interp) == TCL_ERROR) return TCL_ERROR;
More information about the arch-commits
mailing list