[arch-commits] Commit in coxeter3/trunk (PKGBUILD gcc5.patch)

Antonio Rojas arojas at archlinux.org
Mon May 18 12:10:44 UTC 2015


    Date: Monday, May 18, 2015 @ 14:10:44
  Author: arojas
Revision: 133716

Fix build with GCC 5

Added:
  coxeter3/trunk/gcc5.patch
Modified:
  coxeter3/trunk/PKGBUILD

------------+
 PKGBUILD   |   12 ++++++++----
 gcc5.patch |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-18 11:07:28 UTC (rev 133715)
+++ PKGBUILD	2015-05-18 12:10:44 UTC (rev 133716)
@@ -1,20 +1,21 @@
-# $Id$
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=coxeter3
 pkgver=3.0beta3
 _pkgver=3.0_beta3
-pkgrel=1
+pkgrel=2
 pkgdesc="A computer program for the study of combinatorial aspects of Coxeter group theory"
 arch=('i686' 'x86_64')
 url="http://math.univ-lyon1.fr/~ducloux/coxeter/coxeter3/english/coxeter3_e.html"
 license=('GPL3')
 depends=('gcc-libs')
-source=("http://math.univ-lyon1.fr/~ducloux/coxeter/coxeter3/english/coxeter_$_pkgver.tgz" 'makefile.patch' 'sage.cpp' 'sage.h')
+source=("http://math.univ-lyon1.fr/~ducloux/coxeter/coxeter3/english/coxeter_$_pkgver.tgz"
+ 'makefile.patch' 'sage.cpp' 'sage.h' 'gcc5.patch')
 md5sums=('5e0ac6f2fa179d94fcf33f18ef282dde'
          'f757ee88e333a5bf850af1d810d7cb7b'
          '79756f28b67b1f678e3ac5dd8d67fb49'
-         '57e8806f9fc6bb4604016ee727210993')
+         '57e8806f9fc6bb4604016ee727210993'
+         'd93367abeb8a51b364c96ff669cd5158')
 
 prepare() {
   cd coxeter_$_pkgver
@@ -21,6 +22,9 @@
 
   cp ../sage.* .
   patch -p1 -i "$srcdir"/makefile.patch
+
+# fix build with GCC 5
+  patch -p0 -i "$srcdir"/gcc5.patch
 }  
 
 build() {

Added: gcc5.patch
===================================================================
--- gcc5.patch	                        (rev 0)
+++ gcc5.patch	2015-05-18 12:10:44 UTC (rev 133716)
@@ -0,0 +1,32 @@
+--- files.h.orig	2004-11-19 22:00:56.000000000 +0100
++++ files.h	2015-05-18 14:06:21.109931758 +0200
+@@ -108,17 +108,17 @@
+ template <class H>
+   void printHeckeElt(FILE* file, const H& h, const SchubertContext& p, 
+ 		     const Interface& I, OutputTraits& traits, 
+-		     const Length& l = undef_length);
++		     const Length& l);
+ template <class H>
+   void printHeckeElt(FILE* file, const H& h, const SchubertContext& p, 
+ 		     const Interface& I, OutputTraits& traits, 
+-		     const Length& l = undef_length);
++		     const Length& l);
+ template <class H>
+   void printHeckeElt(FILE* file, const H& h, const Permutation& a, 
+ 		     const SchubertContext& p, const Interface& I,
+ 		     HeckeTraits& hTraits,
+ 		     PolynomialTraits& pTraits,
+-		     const Length& l = undef_length);
++		     const Length& l);
+ void printHomology(FILE* file, const Homology& h, OutputTraits& traits);
+ template <class KL>
+   void printIHBetti(FILE* file, const CoxNbr& y, KL& kl, OutputTraits& traits);
+@@ -187,7 +187,7 @@
+ template <class H>
+   bool setTwoSided(const H& h, const Permutation& a, const SchubertContext& p,
+ 		   const Interface& I, HeckeTraits& hTraits,
+-		   PolynomialTraits& pTraits, const Length& l = undef_length);
++		   PolynomialTraits& pTraits, const Length& l);
+ void sortLists(List<List<CoxNbr> >& lc, schubert::NFCompare& nfc, 
+ 	       Permutation& a);
+ void writeClasses(List<List<CoxNbr> >& lc, const Partition& pi);



More information about the arch-commits mailing list