Skip to content

Commit b1a0aec

Browse files
committed
hack3
1 parent a77c0fa commit b1a0aec

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

modulesets/gtk-osx.modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@
348348
version="2.60.0"
349349
hash="sha256:0b6ffccdf6e70afc9876882f5d2ce9ffcf2c713cbaaf1ad90170daa752e1eec3" >
350350
<patch file="librsvg-libpixbufloader-install-names.patch" strip="1" />
351+
<patch file="librsvg-2.60.0-remove-osx-version-check.patch" strip="1" />
351352
</branch>
352353
<dependencies>
353354
<dep package="openssl"/> <!-- Required for rust package cargo-c -->
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- a/meson.build
2+
+++ b/meson.build
3+
@@ -33,8 +33,8 @@
4+
# https://github.com/rust-lang/rust/pull/116319
5+
ret = cc.compiles('''#include <Availability.h>
6+
#include <TargetConditionals.h>
7+
#if !((TARGET_OS_OSX && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200L) || (TARGET_OS_IOS && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000L))
8+
-# error "https://gitlab.gnome.org/GNOME/librsvg/-/issues/1097"
9+
+//# error "https://gitlab.gnome.org/GNOME/librsvg/-/issues/1097"
10+
#endif''',
11+
name: 'Targets at least macOS 10.12 or iOS 10',
12+
)

0 commit comments

Comments
 (0)