summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/251.native_packages_lib.group7
-rw-r--r--patches/enchant-2.3.3_pre.local.patch27
2 files changed, 33 insertions, 1 deletions
diff --git a/groups/251.native_packages_lib.group b/groups/251.native_packages_lib.group
index cabe9504..ce31081b 100644
--- a/groups/251.native_packages_lib.group
+++ b/groups/251.native_packages_lib.group
@@ -3,7 +3,7 @@
#
GROUP_TARGET="native_packages";
NATIVE_PACKAGES_PACKAGES="$(rtl_lconcat "${NATIVE_PACKAGES_PACKAGES}" "
-aspell bearssl fribidi glib hunspell ivykis jansson lame libarchive libass libassuan libatomic_ops libdmtx libedit libeditline libelf libestr
+aspell bearssl enchant fribidi glib hunspell ivykis jansson lame libarchive libass libassuan libatomic_ops libdmtx libedit libeditline libelf libestr
libevent libexif libfastjson libfetch libffi libfirm libflac libglob libgcrypt libgpg_error libiconv libidn2 libite
libjpeg_turbo libksba libmad libmspack libmp3splt libogg libpcap libpipeline libpng libpsl
readline libredwg libressl libsasl2 libshine libsndfile libsolv libssh
@@ -19,6 +19,11 @@ sdl1_image sdl1_ttf sdl2 sdl2_image sdl2_ttf sdl2_net wolfssl")";
: ${PKG_BEARSSL_URL:=https://bearssl.org/bearssl-${PKG_BEARSSL_VERSION}.tar.gz};
: ${PKG_BEARSSL_IN_TREE:=1};
: ${PKG_BEARSSL_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
+: ${PKG_ENCHANT_DEPENDS:="glib hunspell aspell"};
+: ${PKG_ENCHANT_SHA256SUM:=3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891};
+: ${PKG_ENCHANT_VERSION:=2.3.3};
+: ${PKG_ENCHANT_URL:=https://github.com/AbiWord/enchant/releases/download/v${PKG_ENCHANT_VERSION}/enchant-${PKG_ENCHANT_VERSION}.tar.gz};
+: ${PKG_ENCHANT_CXXFLAGS_CONFIGURE_EXTRA:="-std=c++0x"};
: ${PKG_FRIBIDI_SHA256SUM:=0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495};
: ${PKG_FRIBIDI_VERSION:=1.0.12};
: ${PKG_FRIBIDI_URL:=https://github.com/fribidi/fribidi/releases/download/v${PKG_FRIBIDI_VERSION}/fribidi-${PKG_FRIBIDI_VERSION}.tar.xz};
diff --git a/patches/enchant-2.3.3_pre.local.patch b/patches/enchant-2.3.3_pre.local.patch
new file mode 100644
index 00000000..73ac0afb
--- /dev/null
+++ b/patches/enchant-2.3.3_pre.local.patch
@@ -0,0 +1,27 @@
+diff -ru enchant-2.3.3.orig/configure enchant-2.3.3/configure
+--- enchant-2.3.3.orig/configure 2022-04-16 15:58:24.000000000 +0000
++++ enchant-2.3.3/configure 2022-08-02 12:42:43.209993400 +0000
+@@ -8100,23 +8100,6 @@
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+- if test x$ax_cxx_compile_cxx11_required = xtrue; then
+- if test x$ac_success = xno; then
+- as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
+- fi
+- fi
+- if test x$ac_success = xno; then
+- HAVE_CXX11=0
+- { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
+-$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
+- else
+- HAVE_CXX11=1
+-
+-$as_echo "#define HAVE_CXX11 1" >>confdefs.h
+-
+- fi
+-
+-
+
+ ac_ext=mm
+ ac_cpp='$OBJCXXCPP $CPPFLAGS'