This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
35 additions
and
3 deletions.
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
12 changes: 12 additions & 0 deletions
12
resources/patches/augeas/ruby-augeas-0.5.0-patch_c_extension.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,12 @@ | ||
diff --git a/ruby-augeas-0.5.0/ext/augeas/_augeas.c b/ruby-augeas-0.5.0/ext/augeas/_augeas.c | ||
index 95d9e05024..7aac0eb96d 100644 | ||
--- a/ruby-augeas-0.5.0/ext/augeas/_augeas.c | ||
+++ b/ruby-augeas-0.5.0/ext/augeas/_augeas.c | ||
@@ -489,6 +489,7 @@ void Init__augeas() { | ||
|
||
/* Define the ruby class */ | ||
c_augeas = rb_define_class("Augeas", rb_cObject) ; | ||
+ rb_undef_alloc_func(c_augeas); | ||
|
||
/* Constants for enum aug_flags */ | ||
#define DEF_AUG_FLAG(name) \ |
12 changes: 12 additions & 0 deletions
12
resources/patches/augeas/ruby-augeas-0.5.0-patch_remove_unused_parameter.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,12 @@ | ||
diff --git a/ext/augeas/_augeas.c b/ext/augeas/_augeas.c | ||
index f9b49d1..7ef0d7d 100644 | ||
--- a/ruby-augeas-0.5.0/ext/augeas/_augeas.c | ||
+++ b/ruby-augeas-0.5.0/ext/augeas/_augeas.c | ||
@@ -184,7 +184,7 @@ VALUE augeas_mv(VALUE s, VALUE src, VALUE dst) { | ||
* | ||
* Remove path and all its children. Returns the number of entries removed | ||
*/ | ||
-VALUE augeas_rm(VALUE s, VALUE path, VALUE sibling) { | ||
+VALUE augeas_rm(VALUE s, VALUE path) { | ||
augeas *aug = aug_handle(s); | ||
const char *cpath = StringValueCStr(path) ; |