summaryrefslogtreecommitdiff
path: root/recipes/gnutls
diff options
context:
space:
mode:
authorNicola Murino <nicola.murino@gmail.com>2017-10-23 16:46:04 +0200
committerMatthew Waters <matthew@centricular.com>2017-11-17 11:38:59 +1100
commit423e00327946b5204d7f802991906022a67a9028 (patch)
tree67f78d4cffb3af0014e6f325ab6a324602e69c36 /recipes/gnutls
parent0fbbd565ad9052a14054a501f702749501932aab (diff)
gnutls: remove system usage
system is not defined in iOS11 https://bugzilla.gnome.org/show_bug.cgi?id=789151
Diffstat (limited to 'recipes/gnutls')
-rw-r--r--recipes/gnutls/0001-pgusage-remove-system-call.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/gnutls/0001-pgusage-remove-system-call.patch b/recipes/gnutls/0001-pgusage-remove-system-call.patch
new file mode 100644
index 00000000..61130760
--- /dev/null
+++ b/recipes/gnutls/0001-pgusage-remove-system-call.patch
@@ -0,0 +1,26 @@
+From 4e18a60eb7fed0edf0d113861efd9044197abae7 Mon Sep 17 00:00:00 2001
+From: Nicola Murino <nicola.murino@gmail.com>
+Date: Mon, 23 Oct 2017 16:18:06 +0200
+Subject: [PATCH] pgusage: remove system call
+
+system is undefined on iOS and we don't need it anyway
+---
+ src/libopts/pgusage.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libopts/pgusage.c b/src/libopts/pgusage.c
+index 3d229c1..da8e9ab 100644
+--- a/src/libopts/pgusage.c
++++ b/src/libopts/pgusage.c
+@@ -165,7 +165,7 @@ optionPagedUsage(tOptions * opts, tOptDesc * od)
+ dup2(STDOUT_FILENO, STDERR_FILENO);
+ }
+
+- ignore_val( system( fil_name));
++ //ignore_val( system( fil_name));
+ AGFREE(fil_name);
+
+ case PAGER_STATE_CHILD:
+--
+2.14.2
+