Bug 189541

Summary: [Maintainer] math/giacxcas update
Product: Ports & Packages Reporter: Han Frederic <han>
Component: Individual Port(s)Assignee: William Grzybowski <wg>
Status: Closed FIXED    
Severity: Affects Only Me CC: wg
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Han Frederic 2014-05-10 09:00:00 UTC
. Fix the compilation problem in the HEAD branch:
http://beefy2.isc.freebsd.org/bulk/head-amd64-default/latest/logs/errors/giacxcas-1.1.0_4.log
. Update to the latest stable upstream version. (warning the upstream number has not changed. it is still 1.1.0 so I had to change the source entry
. Make the no cdrom entry match the string in LEGAL
. Add patches for a clang build BUT:
  without USE_GCC, on both freebsd 10 and 11 make install gave bad binaries (immediate crash), while binaries in work/giacxcas-1.1.0/src were functional before make install. As I failed to solve this problem I still use gcc.
. NB: this version of giac is now compatible with ntl 6, but with USE_GCC and ntl in Freebsd>10 the build is broken with unknown symbols from ntl. I tried with a ntl port modified with USE_GCC and then the problem was solved. So I let the disable ntl tag with freebsd>10.

Fix: Patch attached with submission follows:
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-06-20 15:40:08 UTC
A commit references this bug:

Author: wg
Date: Fri Jun 20 15:39:27 UTC 2014
New revision: 358592
URL: http://svnweb.freebsd.org/changeset/ports/358592

Log:
  math/giacxcas: fix compile on head

  - Make the no cdrom entry match the string in LEGAL

  PR:		189541
  Submitted by:	han math jussieu fr

Changes:
  head/math/giacxcas/Makefile
  head/math/giacxcas/distinfo
  head/math/giacxcas/files/
  head/math/giacxcas/files/patch-src-Graph3d.cc
  head/math/giacxcas/files/patch-src-gausspol.h
  head/math/giacxcas/files/patch-src-index.cc
  head/math/giacxcas/files/patch-src-index.h
  head/math/giacxcas/files/patch-src-modfactor.cc
  head/math/giacxcas/files/patch-src-modpoly.cc
  head/math/giacxcas/files/patch-src-threaded.h
  head/math/giacxcas/pkg-plist