Skip to content

Commit

Permalink
math/giacxcas: Update 1.9.0-21 → 1.9.0-55
Browse files Browse the repository at this point in the history
  • Loading branch information
wenheping authored and yurivict committed Aug 3, 2023
1 parent a608443 commit 2a427ce
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 15 deletions.
18 changes: 8 additions & 10 deletions math/giacxcas/Makefile
@@ -1,9 +1,8 @@
PORTNAME= giacxcas
DISTVERSION= 1.9.0-21
PORTREVISION= 5
DISTVERSION= 1.9.0-55
CATEGORIES= math
MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/:giac \
http://cocoa.dima.unige.it/cocoalib/tgz/:cocoa \
http://cocoa.dima.unige.it/cocoa/cocoalib/tgz/:cocoa \
http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/
DISTFILES= giac_${DISTVERSION}${EXTRACT_SUFX}:giac \
CoCoALib-${COCOA_LIB_VERSION}.tgz:cocoa \
Expand All @@ -22,8 +21,10 @@ LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_PERMS_DOC= dist-mirror pkg-mirror auto-accept
LICENSE_DISTFILES_DOC= giac_${DISTVERSION}${EXTRACT_SUFX}

BUILD_DEPENDS= bash:shells/bash
BUILD_DEPENDS= bash:shells/bash \
hevea:textproc/hevea
LIB_DEPENDS= libao.so:audio/libao \
libboost_serialization.so:devel/boost-libs \
libcurl.so:ftp/curl \
libfontconfig.so:x11-fonts/fontconfig \
libgsl.so:math/gsl \
Expand All @@ -43,8 +44,9 @@ USES= blaslapack compiler:c++14-lang desktop-file-utils fortran \
gettext gl gmake gnome jpeg libtool localbase ncurses perl5 \
python readline shebangfix tex xorg
GNU_CONFIGURE= yes
USE_CXXSTD= c++11
USE_GL= gl
USE_XORG= x11 xcursor xext xft xi xinerama
USE_XORG= x11 xcursor xext xfixes xft xi xinerama xrender
USE_TEX= latex:build dvipsk:build
USE_PERL5= run
USE_LDCONFIG= yes
Expand All @@ -60,7 +62,7 @@ SHEBANG_FILES= src/pgiac micropython-1.12/docs/conf.py

INSTALL_TARGET= install-strip

COCOA_LIB_VERSION= 0.99700
COCOA_LIB_VERSION= 0.99818

CPPFLAGS+= -I${COCOALIB-GIAC}/include \
-I${FLTKDEV-GIAC} \
Expand Down Expand Up @@ -115,10 +117,6 @@ post-patch:
${FLTKDEV-GIAC}/src/fl_set_fonts_xft.cxx

pre-configure:
${REINPLACE_CMD} -e 's|/usr/lib /usr/lib64 /usr/lib32 /usr/local /opt/local/lib /sw/lib /usr/sfw/lib|${LOCALBASE}/lib|' \
-e '/libgmp.a/s|find|#find|' \
-e 's|-name libgmp.so|-type f -name "libgmp.so.*"|' \
${COCOALIB-GIAC}/configuration/gmp-find.sh
${REINPLACE_CMD} -e 's|^protected:|public:|' ${FLTKDEV-GIAC}/FL/Fl_Widget.H
.for f in icas.cc path.h
${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' \
Expand Down
10 changes: 5 additions & 5 deletions math/giacxcas/distinfo
@@ -1,7 +1,7 @@
TIMESTAMP = 1663844960
SHA256 (giacxcas/giac_1.9.0-21.tar.gz) = 120cd16f2e033817302d2a03a22bd413dc1d85df8b225ba4f76b93a7805b07fe
SIZE (giacxcas/giac_1.9.0-21.tar.gz) = 103871108
SHA256 (giacxcas/CoCoALib-0.99700.tgz) = e9de0f4859946c8882414fc9f3756d5995961b0fcf6b477ac8e27636b41ca002
SIZE (giacxcas/CoCoALib-0.99700.tgz) = 5431651
TIMESTAMP = 1690967974
SHA256 (giacxcas/giac_1.9.0-55.tar.gz) = eabcf6f85bea35d175710654523ebd37546e3def09c7476232891266c1c25858
SIZE (giacxcas/giac_1.9.0-55.tar.gz) = 113729553
SHA256 (giacxcas/CoCoALib-0.99818.tgz) = 7c7d6bb0bc3004ea76caaeb5f8de10ed09c8052a9131fd98716c36c6fc96d1ea
SIZE (giacxcas/CoCoALib-0.99818.tgz) = 4778561
SHA256 (giacxcas/fltk-giac.tar.gz) = 538243c536a62e562bc26dec1c54454f54ce614cc540371f5ccfe71d8ed27cf7
SIZE (giacxcas/fltk-giac.tar.gz) = 4776876
10 changes: 10 additions & 0 deletions math/giacxcas/files/patch-src_kdisplay.cc
@@ -0,0 +1,10 @@
--- src/kdisplay.cc.orig 2023-08-02 10:12:31 UTC
+++ src/kdisplay.cc
@@ -29,7 +29,6 @@
#include <syscall.h>
#include "sha256.h"
#endif
-#include <alloca.h>
#ifndef is_cx2
#define is_cx2 false
#endif

0 comments on commit 2a427ce

Please sign in to comment.