forked from pool/cdecl
Accepting request 922874 from devel:tools
- Update to release 11.2 OBS-URL: https://build.opensuse.org/request/show/922874 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdecl?expand=0&rev=45
This commit is contained in:
commit
949c6276ff
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f2c9523261c7aff6ca1b848bd519b3bfb6d5face9354fe76dc2f3b8338998801
|
||||
size 1137962
|
3
cdecl-11.2.tar.gz
Normal file
3
cdecl-11.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f2df7c410a52efaded9db4fcba4924dcf81ca5cb71dc8dd8c3ae70dbff507d7
|
||||
size 1184770
|
@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 3 16:16:55 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- 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 <jengelh@inai.de>
|
||||
|
||||
- Update to release 11.1
|
||||
* Fixed multiple nested declarations crash.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 09:00:26 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- 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 <jengelh@inai.de>
|
||||
|
||||
|
@ -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
|
||||
|
32
unbreak-gnulib.diff
Normal file
32
unbreak-gnulib.diff
Normal file
@ -0,0 +1,32 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
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@
|
Loading…
Reference in New Issue
Block a user