diff --git a/cdecl-10.2.tar.gz b/cdecl-10.2.tar.gz deleted file mode 100644 index 13c2d1b..0000000 --- a/cdecl-10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:825fd137b9874bbe304ac4ec388849fb897f064d7f14b32318696d5bd149510f -size 1095089 diff --git a/cdecl-10.3.tar.gz b/cdecl-10.3.tar.gz new file mode 100644 index 0000000..0730df1 --- /dev/null +++ b/cdecl-10.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b68171ada8e3915f993b471003fa2531b46c925aace4644af2bb438b5931a86 +size 1124535 diff --git a/cdecl.changes b/cdecl.changes index 7eede91..4e3ca87 100644 --- a/cdecl.changes +++ b/cdecl.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Aug 15 16:06:00 UTC 2021 - Jan Engelhardt + +- Update to release 10.3 + * Marking functions and conversion operators = delete is now + supported. +- Add unbreak-gnulib.diff + ------------------------------------------------------------------- Wed Jun 30 16:05:38 UTC 2021 - Jan Engelhardt diff --git a/cdecl.spec b/cdecl.spec index 5ae186f..8fd2d2b 100644 --- a/cdecl.spec +++ b/cdecl.spec @@ -17,7 +17,7 @@ Name: cdecl -Version: 10.2 +Version: 10.3 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..092aa00 --- /dev/null +++ b/unbreak-gnulib.diff @@ -0,0 +1,26 @@ +From: Jan Engelhardt +Date: 2021-08-15 19:20:30.942589995 +0200 + +Compiler said _GL_ATTRIBUTE_MALLOC was undefined. +This was a breaking change in gnulib 48ece5c3f2185f52ab8cd73ceac9bd9f0e01eac6. +--- + lib/stdlib.in.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +Index: cdecl-10.3/lib/stdlib.in.h +=================================================================== +--- cdecl-10.3.orig/lib/stdlib.in.h ++++ cdecl-10.3/lib/stdlib.in.h +@@ -108,6 +108,12 @@ struct random_data + # define _GL_ATTRIBUTE_PURE /* empty */ + # endif + #endif ++#ifndef _GL_ATTRIBUTE_MALLOC ++#define _GL_ATTRIBUTE_MALLOC ++#endif ++#ifndef _GL_ATTRIBUTE_DEALLOC_FREE ++#define _GL_ATTRIBUTE_DEALLOC_FREE ++#endif + + /* The definition of _Noreturn is copied here. */ +