Unverified Commit 8bf4f5ba authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

gtkspell2: fix build with gettext 0.25 (#426076)

parents 96f5ee0d d704af3d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
  };

  patches = [
    # Fix build with gettext 0.25
    ./gettext-0.25.patch
    # Build with enchant 2
    # https://github.com/archlinux/svntogit-packages/tree/packages/gtkspell/trunk
    (fetchpatch {
+15 −0
Original line number Diff line number Diff line
diff --git a/configure.ac b/configure.ac
index e926833..667a8e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,6 +12,10 @@ AC_CONFIG_SRCDIR(gtkspell/gtkspell.c)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_CONFIG_HEADERS([config.h])
 
+AC_CONFIG_MACRO_DIRS([m4])
+AM_GNU_GETTEXT_VERSION([0.25])
+AM_GNU_GETTEXT([external])
+
 SPELLER_LIB=-lenchant
       
 AC_SUBST(SPELLER_LIB)