diff options
author | Ismael Luceno | 2021-01-15 18:44:45 +0100 |
---|---|---|
committer | Ismael Luceno | 2021-01-15 19:55:52 +0100 |
commit | b7e646c3d7ea4d1edfa2467d1b3eeec632903b45 (patch) | |
tree | a5c572fcc1c0d2ad5455661d02a81860a8d39cad | |
parent | 8087532b03108d180f127ac905c1c9065da96311 (diff) |
gtkspell: Make it build against enchant-2
-rwxr-xr-x | editors/gtkspell/DEPENDS | 2 | ||||
-rw-r--r-- | editors/gtkspell/HISTORY | 1 | ||||
-rwxr-xr-x | editors/gtkspell/PRE_BUILD | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/editors/gtkspell/DEPENDS b/editors/gtkspell/DEPENDS index b45263e144..ecce317bdd 100755 --- a/editors/gtkspell/DEPENDS +++ b/editors/gtkspell/DEPENDS @@ -1,5 +1,5 @@ depends gtk+2 && -depends enchant && +depends enchant-2 && depends intltool && optional_depends gtk-doc "" "--disable-gtk-doc" "for documentation" diff --git a/editors/gtkspell/HISTORY b/editors/gtkspell/HISTORY index af3dd60839..4476479456 100644 --- a/editors/gtkspell/HISTORY +++ b/editors/gtkspell/HISTORY @@ -1,5 +1,6 @@ 2021-01-15 Ismael Luceno <ismael@sourcemage.org> * PRE_BUILD: Fixed build against musl + * DEPENDS, PRE_BUILD: switched to enchant-2 2009-12-30 Ladislav Hagara <hgr@vabo.cz> * DETAILS: 2.0.16 diff --git a/editors/gtkspell/PRE_BUILD b/editors/gtkspell/PRE_BUILD index 69fb057e51..2564d7c6ca 100755 --- a/editors/gtkspell/PRE_BUILD +++ b/editors/gtkspell/PRE_BUILD @@ -1,4 +1,7 @@ default_pre_build && cd "$SOURCE_DIRECTORY" && +# fix build against enchant-2 +sedit 's/enchant/&-2/g' configure && +sedit '280{/^\tenchant_dict_add_to_pwl(/!q1;s/_to_pwl//}' gtkspell/gtkspell.c && # fix build against musl sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub |