SHA256
1
0
forked from pool/cdecl

- Update to release 10.4

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cdecl?expand=0&rev=48
This commit is contained in:
Jan Engelhardt 2021-08-28 15:12:14 +00:00 committed by Git OBS Bridge
parent d3420bdd5c
commit 34acce631c
5 changed files with 12 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b68171ada8e3915f993b471003fa2531b46c925aace4644af2bb438b5931a86
size 1124535

3
cdecl-10.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2c9523261c7aff6ca1b848bd519b3bfb6d5face9354fe76dc2f3b8338998801
size 1137962

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Aug 28 13:35:12 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 10.4
* Added support for Microsoft calling conventions, MS __declspec,
and __asm keywords, and __m64/__m128 types.
- Drop unbreak-gnulib.diff (solved upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 15 16:06:00 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Sun Aug 15 16:06:00 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,7 +17,7 @@
Name: cdecl Name: cdecl
Version: 10.3 Version: 10.4
Release: 0 Release: 0
Summary: C/C++ function declaration translator Summary: C/C++ function declaration translator
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -25,7 +25,6 @@ Group: Development/Languages/C and C++
URL: https://github.com/paul-j-lucas/cdecl/ URL: https://github.com/paul-j-lucas/cdecl/
Source: https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-%version/cdecl-%version.tar.gz Source: https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-%version/cdecl-%version.tar.gz
Patch1: unbreak-gnulib.diff
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: ncurses-devel BuildRequires: ncurses-devel

View File

@ -1,26 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
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. */