void-packages/srcpkgs/ogmrip/patches/enchant-2.patch
maxice8 e64930d128
ogmrip: rebuild against enchant-2
Closes: #13077 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-10 16:57:08 +02:00

24 lines
663 B
Diff

Source: Arch Linux
Upstream: Unknown
Reason: Fixes compilation with enchant-2
--- src/ogmrip-spell-dialog.c
+++ src/ogmrip-spell-dialog.c
@@ -315,14 +315,14 @@
enchant_dict_add_to_session (dialog->priv->dict, word, len);
break;
case OGMRIP_SPELL_RESPONSE_ADD_WORD:
- enchant_dict_add_to_personal (dialog->priv->dict, word, len);
+ enchant_dict_add (dialog->priv->dict, word, len);
break;
default:
break;
}
if (suggs && n_suggs)
- enchant_dict_free_suggestions (dialog->priv->dict, suggs);
+ enchant_dict_free_string_list (dialog->priv->dict, suggs);
}
return status;