summaryrefslogtreecommitdiff
path: root/data/librpmatch/cpp.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-12 16:21:47 -1000
committerSam Bingner <sam@bingner.com>2018-10-12 16:21:47 -1000
commit295030d5719c3af352cfc5394b8ce13e3a1e0fb9 (patch)
tree608f1f9cf9a8ea9ae8e26f1f07b50d14426a675a /data/librpmatch/cpp.diff
parent4a80cac9cb4be1d154f5346423667310219bd27a (diff)
Add and update a number of packages
Diffstat (limited to 'data/librpmatch/cpp.diff')
-rw-r--r--data/librpmatch/cpp.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/librpmatch/cpp.diff b/data/librpmatch/cpp.diff
new file mode 100644
index 000000000..9f559f45c
--- /dev/null
+++ b/data/librpmatch/cpp.diff
@@ -0,0 +1,22 @@
+diff -ur musl-rpmatch-1.0/rpmatch.h musl-rpmatch-1.0+iPhone/rpmatch.h
+--- musl-rpmatch-1.0/rpmatch.h 2016-07-07 03:31:00.000000000 -1000
++++ musl-rpmatch-1.0+iPhone/rpmatch.h 2018-08-31 15:41:43.000000000 -1000
+@@ -1,6 +1,9 @@
+ #if !defined(_RPMATCH_H_)
+ #define _RPMATCH_H_
+
++#ifdef __cplusplus
++extern "C" {
++#endif
+ /*
+ * Determine whether the string value of RESPONSE matches the affirmation
+ * or negative response expression as specified by the LC_MESSAGES category
+@@ -8,5 +11,8 @@
+ * negative, and -1 if not matching.
+ */
+ extern int rpmatch (const char *response);
++#ifdef __cplusplus
++}
++#endif
+
+ #endif /* !defined(_RPMATCH_H_) */