aboutsummaryrefslogtreecommitdiffstats
path: root/community/moc/fix-https.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/moc/fix-https.patch')
-rw-r--r--community/moc/fix-https.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/moc/fix-https.patch b/community/moc/fix-https.patch
new file mode 100644
index 00000000000..c2ed02cd10b
--- /dev/null
+++ b/community/moc/fix-https.patch
@@ -0,0 +1,11 @@
+Patch-Source: https://github.com/archlinux/svntogit-packages/blob/f29848ed88885b6e12188683d5f9299246271543/trunk/moc-https.patch
+--- a/files.c
++++ b/files.c
+@@ -93,6 +93,7 @@
+ inline int is_url (const char *str)
+ {
+ return !strncasecmp (str, "http://", sizeof ("http://") - 1)
++ || !strncasecmp (str, "https://", sizeof ("https://") - 1)
+ || !strncasecmp (str, "ftp://", sizeof ("ftp://") - 1);
+ }
+