Date: Sunday, May 7, 2023 @ 20:54:12
Author: arojas
Revision: 1459439
archrelease: copy trunk to community-x86_64
Added:
giac/repos/community-x86_64/PKGBUILD
(from rev 1459438, giac/trunk/PKGBUILD)
giac/repos/community-x86_64/format-security.patch
(from rev 1459438, giac/trunk/format-security.patch)
Deleted:
giac/repos/community-x86_64/PKGBUILD
giac/repos/community-x86_64/format-security.patch
-----------------------+
PKGBUILD | 72 ++++++++++++++++++++++++------------------------
format-security.patch | 24 ++++++++--------
2 files changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-07 20:54:01 UTC (rev 1459438)
+++ PKGBUILD 2023-05-07 20:54:12 UTC (rev 1459439)
@@ -1,36 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-
-pkgname=giac
-_pkgver=1.9.0-47
-pkgver=${_pkgver//-/.}
-pkgrel=2
-pkgdesc='A free computer algebra system'
-arch=(x86_64)
-url='http://www-fourier.ujf-grenoble.fr/~parisse/giac.html'
-license=(GPL3)
-depends=(fltk mpfi gsl pari ntl lapack curl glpk libao gmp-ecm libsamplerate)
-makedepends=(python libjpeg texlive-core texlive-science hevea nauty)
-optdepends=('perl: for pgiac')
-replaces=(libgiac xcas)
-provides=(libgiac xcas)
-source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgname}_$_pkgver.tar.gz
- format-security.patch)
-sha256sums=('b1bf8d9cc775add96c5f05008e2bfc95658bd73aebb4bdc5c2610cf3cd89d3a6'
- '04288944e408807a15aa502e1215087870d8921229c9f9890d862d3c9de337cd')
-
-prepare() {
- cd $pkgname-${pkgver%.*}
- patch -p1 < ../format-security.patch # Fix -Werror=format-security errors
-}
-
-build() {
- cd $pkgname-${pkgver%.*}
- CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS" # Fix crashes
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $pkgbase-${pkgver%.*}
- make DESTDIR="$pkgdir" install
-}
Copied: giac/repos/community-x86_64/PKGBUILD (from rev 1459438,
giac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-07 20:54:12 UTC (rev 1459439)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=giac
+_pkgver=1.9.0-49
+pkgver=${_pkgver//-/.}
+pkgrel=1
+pkgdesc='A free computer algebra system'
+arch=(x86_64)
+url='http://www-fourier.ujf-grenoble.fr/~parisse/giac.html'
+license=(GPL3)
+depends=(fltk mpfi gsl pari ntl lapack curl glpk libao gmp-ecm libsamplerate)
+makedepends=(python libjpeg texlive-core texlive-science hevea nauty)
+optdepends=('perl: for pgiac')
+replaces=(libgiac xcas)
+provides=(libgiac xcas)
+source=(http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgname}_$_pkgver.tar.gz
+ format-security.patch)
+sha256sums=('b9cd59b52b261a1598ab95bcd2d4b3f7ce1f90b226a9e5ad19e6e200b6f39147'
+ '04288944e408807a15aa502e1215087870d8921229c9f9890d862d3c9de337cd')
+
+prepare() {
+ cd $pkgname-${pkgver%.*}
+ patch -p1 < ../format-security.patch # Fix -Werror=format-security errors
+}
+
+build() {
+ cd $pkgname-${pkgver%.*}
+ CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS" # Fix crashes
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgbase-${pkgver%.*}
+ make DESTDIR="$pkgdir" install
+}
Deleted: format-security.patch
===================================================================
--- format-security.patch 2023-05-07 20:54:01 UTC (rev 1459438)
+++ format-security.patch 2023-05-07 20:54:12 UTC (rev 1459439)
@@ -1,12 +0,0 @@
-diff -ru giac-1.9.0.orig/src/Graph.cc giac-1.9.0/src/Graph.cc
---- giac-1.9.0.orig/src/Graph.cc 2022-11-04 19:00:52.059786792 +0100
-+++ giac-1.9.0/src/Graph.cc 2022-11-04 19:05:34.765503717 +0100
-@@ -5640,7 +5640,7 @@
- }
-
- bool inputdouble(const char * msg,double & d,GIAC_CONTEXT){
-- const char * ch=fl_input(msg,print_DOUBLE_(d).c_str());
-+ const char * ch=fl_input("%s",msg,print_DOUBLE_(d).c_str());
- if (!ch) return false;
- gen g(ch,contextptr);
- g=evalf_double(g,1,contextptr);
Copied: giac/repos/community-x86_64/format-security.patch (from rev 1459438,
giac/trunk/format-security.patch)
===================================================================
--- format-security.patch (rev 0)
+++ format-security.patch 2023-05-07 20:54:12 UTC (rev 1459439)
@@ -0,0 +1,12 @@
+diff -ru giac-1.9.0.orig/src/Graph.cc giac-1.9.0/src/Graph.cc
+--- giac-1.9.0.orig/src/Graph.cc 2022-11-04 19:00:52.059786792 +0100
++++ giac-1.9.0/src/Graph.cc 2022-11-04 19:05:34.765503717 +0100
+@@ -5640,7 +5640,7 @@
+ }
+
+ bool inputdouble(const char * msg,double & d,GIAC_CONTEXT){
+- const char * ch=fl_input(msg,print_DOUBLE_(d).c_str());
++ const char * ch=fl_input("%s",msg,print_DOUBLE_(d).c_str());
+ if (!ch) return false;
+ gen g(ch,contextptr);
+ g=evalf_double(g,1,contextptr);