From 1b8e761de4daf214fc22719aeb287e01c96833cc94daafb0010c537aa8119ef4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 11 Jun 2015 09:52:25 +0000 Subject: [PATCH] clean this up :( OBS-URL: https://build.opensuse.org/package/show/devel:tools/cdecl?expand=0&rev=7 --- cdecl.spec | 3 +-- keyword-identifier.patch | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cdecl.spec b/cdecl.spec index 7b60b05..9f687ee 100644 --- a/cdecl.spec +++ b/cdecl.spec @@ -42,8 +42,7 @@ library. %prep %setup -%patch -P 1 -p1 -%patch2 -p1 +%patch -P 1 -P 2 -p1 %build make CFLAGS="%optflags -DUSE_READLINE -DOLD_READLINE" %{?_smp_mflags}; diff --git a/keyword-identifier.patch b/keyword-identifier.patch index ec496a3..ce6b210 100644 --- a/keyword-identifier.patch +++ b/keyword-identifier.patch @@ -1,3 +1,8 @@ +From: schwab@suse.de +Date: Thu Jun 11 09:08:54 +0000 + +"restrict" is a keyword used by the programming language. Rename it. + Index: cdecl-2.5/cdecl.c =================================================================== --- cdecl-2.5.orig/cdecl.c