forked from osquery/osquery
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
libraries/cmake/source/augeas/patches/src/remove-libxml2-dep.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
diff --git a/src/augeas.h b/src/augeas.h | ||
index 228a67ac..abc1b663 100644 | ||
--- a/src/augeas.h | ||
+++ b/src/augeas.h | ||
@@ -21,7 +21,6 @@ | ||
*/ | ||
|
||
#include <stdio.h> | ||
-#include <libxml/tree.h> | ||
|
||
#ifndef AUGEAS_H_ | ||
#define AUGEAS_H_ | ||
@@ -412,19 +411,6 @@ int aug_print(const augeas *aug, FILE *out, const char *path); | ||
*/ | ||
int aug_source(const augeas *aug, const char *path, char **file_path); | ||
|
||
-/* Function: aug_to_xml | ||
- * | ||
- * Turn the Augeas tree(s) matching PATH into an XML tree XMLDOC. The | ||
- * parameter FLAGS is currently unused and must be set to 0. | ||
- * | ||
- * Returns: | ||
- * 0 on success, or a negative value on failure | ||
- * | ||
- * In case of failure, *xmldoc is set to NULL | ||
- */ | ||
-int aug_to_xml(const augeas *aug, const char *path, xmlNode **xmldoc, | ||
- unsigned int flags); | ||
- | ||
/* | ||
* Function: aug_transform | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,6 @@ importSourceSubmodule( | |
NO_RECURSIVE | ||
|
||
SHALLOW_SUBMODULES "src" | ||
|
||
PATCH "src" | ||
) |