fwts/json-c-includes.patch
Ismail Dönmez 0a559a2ea1 Accepting request 293598 from home:pluskalm:branches:hardware
- Update to 15.03.00
- Remove patches fwts-linking.patch and fwts-opensuse.patch
- Add json-c-includes.patch

Please add me as maintainer, I would like to get this package to factory

OBS-URL: https://build.opensuse.org/request/show/293598
OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=4
2015-04-06 10:15:52 +00:00

27 lines
747 B
Diff

Index: fwts-15.03.00/src/lib/include/fwts_json.h
===================================================================
--- fwts-15.03.00.orig/src/lib/include/fwts_json.h
+++ fwts-15.03.00/src/lib/include/fwts_json.h
@@ -20,7 +20,7 @@
#ifndef __FWTS_JSON_H__
#define __FWTS_JSON_H__
-#include <json.h>
+#include <json-c/json.h>
#define __FWTS_JSON_ERR_PTR__ ((json_object*) -1)
/*
Index: fwts-15.03.00/src/utilities/kernelscan.c
===================================================================
--- fwts-15.03.00.orig/src/utilities/kernelscan.c
+++ fwts-15.03.00/src/utilities/kernelscan.c
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <pcre.h>
-#include <json.h>
+#include <json-c/json.h>
#include "config.h"
#define PARSER_OK 0