summaryrefslogtreecommitdiffstats
path: root/system/xar/patches/xar-1.8.0.0.487-non-darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/xar/patches/xar-1.8.0.0.487-non-darwin.patch')
-rw-r--r--system/xar/patches/xar-1.8.0.0.487-non-darwin.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/xar/patches/xar-1.8.0.0.487-non-darwin.patch b/system/xar/patches/xar-1.8.0.0.487-non-darwin.patch
new file mode 100644
index 0000000000..c350f69f4c
--- /dev/null
+++ b/system/xar/patches/xar-1.8.0.0.487-non-darwin.patch
@@ -0,0 +1,12 @@
+don't do availability stuff on non-Darwin
+
+--- a/include/xar.h.in
++++ b/include/xar.h.in
+@@ -52,6 +52,7 @@
+ #import <os/availability.h>
+ #else
+ #define API_DEPRECATED(...)
++#define API_AVAILABLE(...)
+ #endif
+
+ #pragma pack(4)