diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
commit | b24bd25253fe093f722ab576d29fdc41d04cb1ee (patch) | |
tree | 0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /dev-lang/yap/files/yap-6.3.3-fix-gcc9.patch | |
parent | 121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff) |
gentoo resync : 02.08.2019
Diffstat (limited to 'dev-lang/yap/files/yap-6.3.3-fix-gcc9.patch')
-rw-r--r-- | dev-lang/yap/files/yap-6.3.3-fix-gcc9.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/dev-lang/yap/files/yap-6.3.3-fix-gcc9.patch b/dev-lang/yap/files/yap-6.3.3-fix-gcc9.patch deleted file mode 100644 index f16d29142215..000000000000 --- a/dev-lang/yap/files/yap-6.3.3-fix-gcc9.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://bugs.gentoo.org/686048 - -./SolverTypes.h:122:20: error: friend declaration of ‘Clause* Clause_new(const V&, bool)’ specifies default arguments and isn’t a definition [-fpermissive] - 122 | friend Clause* Clause_new(const V& ps, bool learnt = false); - | ^~~~~~~~~~ - ---- a/packages/swi-minisat2/C/SolverTypes.h -+++ b/packages/swi-minisat2/C/SolverTypes.h -@@ -97,6 +97,9 @@ - //================================================================================================= - // Clause -- a simple class for representing a clause: - -+class Clause; -+template<class V> -+Clause* Clause_new(const V& ps, bool learnt = false); - - class Clause { - uint32_t size_etc; -@@ -119,7 +122,7 @@ - - // -- use this function instead: - template<class V> -- friend Clause* Clause_new(const V& ps, bool learnt = false); -+ friend Clause* Clause_new(const V& ps, bool learnt); - - int size () const { return size_etc >> 3; } - void shrink (int i) { assert(i <= size()); size_etc = (((size_etc >> 3) - i) << 3) | (size_etc & 7); } |