From f9d4f8361dca7ff7de7f8d2e6c6a7856a5f42219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E8=B6=85=E8=B6=85?= Date: Mon, 27 Jul 2020 17:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20Fix-scap?= =?UTF-8?q?=5Fworkbench-builderror.patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Fix-scap_workbench-builderror.patch | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Fix-scap_workbench-builderror.patch diff --git a/Fix-scap_workbench-builderror.patch b/Fix-scap_workbench-builderror.patch deleted file mode 100644 index ef54d1b..0000000 --- a/Fix-scap_workbench-builderror.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Nur openscap-1.3.2_old/src/OVAL/oval_variable.c openscap-1.3.2/src/OVAL/oval_variable.c ---- openscap-1.3.2_old/src/OVAL/oval_variable.c 2020-03-11 04:30:50.534661136 -0400 -+++ openscap-1.3.2/src/OVAL/oval_variable.c 2020-03-11 04:32:05.787195584 -0400 -@@ -156,11 +156,11 @@ - return oval_collection_iterator_remaining((struct oval_iterator*)iter); - } - --struct oval_variable_possible_restriction *oval_variable_possible_restriction_new(oval_operator_t operator, const char *hint) -+struct oval_variable_possible_restriction *oval_variable_possible_restriction_new(oval_operator_t opera, const char *hint) - { - struct oval_variable_possible_restriction *pr; - pr = malloc(sizeof(oval_variable_possible_restriction_t)); -- pr->operator = operator; -+ pr->operator = opera; - pr->hint = oscap_strdup(hint); - pr->restrictions = oval_collection_new(); - return pr; -diff -Nur openscap-1.3.2_old/src/OVAL/public/oval_definitions.h openscap-1.3.2/src/OVAL/public/oval_definitions.h ---- openscap-1.3.2_old/src/OVAL/public/oval_definitions.h 2020-03-11 04:30:50.546661222 -0400 -+++ openscap-1.3.2/src/OVAL/public/oval_definitions.h 2020-03-11 04:31:30.354943942 -0400 -@@ -1669,7 +1669,7 @@ - * @param hint A short description of what the value means or represents. - * @memberof oval_variable_possible_restriction - */ --OSCAP_API struct oval_variable_possible_restriction *oval_variable_possible_restriction_new(oval_operator_t operator, const char *hint); -+OSCAP_API struct oval_variable_possible_restriction *oval_variable_possible_restriction_new(oval_operator_t opera, const char *hint); - - - /**