summarylogtreecommitdiffstats
path: root/build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build.patch')
-rw-r--r--build.patch71
1 files changed, 71 insertions, 0 deletions
diff --git a/build.patch b/build.patch
new file mode 100644
index 000000000000..c2c84bf0f245
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,71 @@
+diff --git a/src/alpm_package.vala b/src/alpm_package.vala
+index 9d3894cafe5185eb38d6cdaa81bcd9b9910d407f..5557e359956b8798bd27213f625bb437008b51c6 100644
+--- a/src/alpm_package.vala
++++ b/src/alpm_package.vala
+@@ -443,7 +443,7 @@ namespace Pamac {
+ Alpm.List<string> owned_list = local_pkg.compute_requiredby ();
+ unowned Alpm.List<string> list = owned_list;
+ while (list != null) {
+- _requiredby.add ((owned) list.data);
++ _requiredby.add (list.data);
+ list.next ();
+ }
+ }
+@@ -459,7 +459,7 @@ namespace Pamac {
+ Alpm.List<string> owned_list = local_pkg.compute_optionalfor ();
+ unowned Alpm.List<string> list = owned_list;
+ while (list != null) {
+- _optionalfor.add ((owned) list.data);
++ _optionalfor.add (list.data);
+ list.next ();
+ }
+ }
+@@ -1093,7 +1093,7 @@ namespace Pamac {
+ Alpm.List<string> owned_list = local_pkg.compute_requiredby ();
+ unowned Alpm.List<string> list = owned_list;
+ while (list != null) {
+- _requiredby.add ((owned) list.data);
++ _requiredby.add (list.data);
+ list.next ();
+ }
+ }
+@@ -1109,7 +1109,7 @@ namespace Pamac {
+ Alpm.List<string> owned_list = local_pkg.compute_optionalfor ();
+ unowned Alpm.List<string> list = owned_list;
+ while (list != null) {
+- _optionalfor.add ((owned) list.data);
++ _optionalfor.add (list.data);
+ list.next ();
+ }
+ }
+diff --git a/src/alpm_utils.vala b/src/alpm_utils.vala
+index 784e1dd1779d7d9b760fef530ccc8fe3bb3d4c72..8baca55e8aeeb3e492d764f66c4884f62b537221 100644
+--- a/src/alpm_utils.vala
++++ b/src/alpm_utils.vala
+@@ -1487,7 +1487,7 @@ namespace Pamac {
+ if (pkg_to_add_name == requiredby_list.data) {
+ if (pkg_to_add_name in to_build) {
+ // found the top requiredby package
+- pkg.requiredby.add ((owned) requiredby_list.data);
++ pkg.requiredby.add (requiredby_list.data);
+ dep_found = true;
+ } else {
+ if (pkg_to_add_name in checked) {
+@@ -1543,7 +1543,7 @@ namespace Pamac {
+ if (pkg_to_add_name in to_install
+ || pkg_to_add_name in to_build) {
+ // found the top requiredby package
+- pkg.requiredby.add ((owned) requiredby_list.data);
++ pkg.requiredby.add (requiredby_list.data);
+ dep_found = true;
+ } else {
+ if (pkg_to_add_name in checked) {
+@@ -1653,7 +1653,7 @@ namespace Pamac {
+ unowned string name = requiredby.data;
+ if (name in to_remove) {
+ // found the top requiredby package
+- pkg.requiredby.add ((owned) requiredby.data);
++ pkg.requiredby.add (requiredby.data);
+ dep_found = true;
+ } else {
+ // check name requiredby