diff --git a/cdecl-10.4.tar.gz b/cdecl-10.4.tar.gz deleted file mode 100644 index fe93c4a..0000000 --- a/cdecl-10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2c9523261c7aff6ca1b848bd519b3bfb6d5face9354fe76dc2f3b8338998801 -size 1137962 diff --git a/cdecl-11.2.tar.gz b/cdecl-11.2.tar.gz new file mode 100644 index 0000000..30b7e78 --- /dev/null +++ b/cdecl-11.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f2df7c410a52efaded9db4fcba4924dcf81ca5cb71dc8dd8c3ae70dbff507d7 +size 1184770 diff --git a/cdecl.changes b/cdecl.changes index ff361b6..33fca48 100644 --- a/cdecl.changes +++ b/cdecl.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Sun Oct 3 16:16:55 UTC 2021 - Jan Engelhardt + +- Update to release 11.2 + * const_cast, dynamic_cast, and reinterpret_cast now perform + additional checks. +- Add unbreak-gnulib.diff + +------------------------------------------------------------------- +Fri Oct 1 22:22:52 UTC 2021 - Jan Engelhardt + +- Update to release 11.1 + * Fixed multiple nested declarations crash. + +------------------------------------------------------------------- +Tue Sep 28 09:00:26 UTC 2021 - Jan Engelhardt + +- Update to release 11.0 + * Correctly forbid functions returning struct in K&R C. + * Support digraphs before C95 and trigraphs in K&R C. + * Optional () for destructor. + * C++20's nested inline namespaces are now supported + * In-class default, delete, and noexcept constructors are now + accepted. + * A raw string literal like R"abc(X)ab)abc" was previously not + parsed correctly. + * An array of reference (or rvalue reference) is now correctly + flagged as an error. + ------------------------------------------------------------------- Sat Aug 28 13:35:12 UTC 2021 - Jan Engelhardt diff --git a/cdecl.spec b/cdecl.spec index 7b8b036..96c6844 100644 --- a/cdecl.spec +++ b/cdecl.spec @@ -17,7 +17,7 @@ Name: cdecl -Version: 10.4 +Version: 11.2 Release: 0 Summary: C/C++ function declaration translator License: GPL-3.0-or-later @@ -25,6 +25,7 @@ Group: Development/Languages/C and C++ URL: https://github.com/paul-j-lucas/cdecl/ Source: https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-%version/cdecl-%version.tar.gz +Patch1: unbreak-gnulib.diff BuildRequires: bison BuildRequires: flex BuildRequires: ncurses-devel diff --git a/unbreak-gnulib.diff b/unbreak-gnulib.diff new file mode 100644 index 0000000..bfe3781 --- /dev/null +++ b/unbreak-gnulib.diff @@ -0,0 +1,32 @@ +From: Jan Engelhardt +Date: 2021-10-03 18:24:41.647102516 +0200 + +Resolve a build failure due to unexpanded macros. +(string.in.h is missing the fallback definition for _GL_* +that are already present in stdlib.in.h.) +--- + lib/string.in.h | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +Index: cdecl-11.2/lib/string.in.h +=================================================================== +--- cdecl-11.2.orig/lib/string.in.h ++++ cdecl-11.2/lib/string.in.h +@@ -420,6 +420,17 @@ _GL_WARN_ON_USE (strchrnul, "strchrnul i + # endif + #endif + ++#ifndef _GL_ATTRIBUTE_MALLOC ++# if __GNUC__ >= 3 || defined __clang__ ++# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) ++# else ++# define _GL_ATTRIBUTE_MALLOC ++# endif ++#endif ++#ifndef _GL_ATTRIBUTE_DEALLOC_FREE ++# define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) ++#endif ++ + /* Duplicate S, returning an identical malloc'd string. */ + #if @GNULIB_STRDUP@ + # if @REPLACE_STRDUP@