nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1From 2d6dd1c286eb57fbf968510318cafc94888b98de Mon Sep 17 00:00:00 2001
2From: OPNA2608 <christoph.neidahl@gmail.com>
3Date: Sun, 13 Jun 2021 21:56:03 +0200
4Subject: [PATCH] Darwin build fix
5
6---
7 gspell/Makefile.am | 7 +++++++
8 1 file changed, 7 insertions(+)
9
10diff --git a/gspell/Makefile.am b/gspell/Makefile.am
11index 69ee421..7c58973 100644
12--- a/gspell/Makefile.am
13+++ b/gspell/Makefile.am
14@@ -95,6 +95,7 @@ nodist_libgspell_core_la_SOURCES = \
15 $(BUILT_SOURCES)
16
17 libgspell_core_la_LIBADD = \
18+ $(GTK_MAC_LIBS) \
19 $(CODE_COVERAGE_LIBS)
20
21 libgspell_core_la_CFLAGS = \
22@@ -161,6 +162,12 @@ gspell_private_headers += \
23 gspell_private_c_files += \
24 gspell-osx.c
25
26+libgspell_core_la_CFLAGS += \
27+ -xobjective-c
28+
29+libgspell_core_la_LDFLAGS += \
30+ -framework Cocoa
31+
32 endif # OS_OSX
33
34 if HAVE_INTROSPECTION
35--
362.29.3
37