Skip to content

Commit

Permalink
Merge pull request #25136 from taku0/hunspell-1.6.1
Browse files Browse the repository at this point in the history
hunspell: 1.3.3 -> 1.6.1
  • Loading branch information
7c6f434c committed Apr 23, 2017
2 parents 2993d37 + 5bcaeda commit 8611d92
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions pkgs/development/libraries/hunspell/default.nix
@@ -1,16 +1,21 @@
{ stdenv, fetchurl, ncurses, readline }:
{ stdenv, fetchurl, ncurses, readline, autoreconfHook }:

stdenv.mkDerivation rec {
name = "hunspell-1.3.3";
version = "1.6.1";
name = "hunspell-${version}";

src = fetchurl {
url = "mirror://sourceforge/hunspell/${name}.tar.gz";
sha256 = "0v14ff9s37vkh45diaddndcrj0hmn67arh8xh8k79q9c1vgc1cm7";
url = "https://github.com/hunspell/hunspell/archive/v${version}.tar.gz";
sha256 = "0j9c20sj7bgd6f77193g1ihy8w905byk2gdhdc0r9dsh7irr7x9h";
};

outputs = [ "bin" "dev" "out" "man" ];

buildInputs = [ ncurses readline ];
nativeBuildInputs = [ autoreconfHook ];

autoreconfFlags = "-vfi";

configureFlags = [ "--with-ui" "--with-readline" ];

hardeningDisable = [ "format" ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qtwebkit-plugins/default.nix
Expand Up @@ -15,7 +15,7 @@ stdenv.mkDerivation {
buildInputs = [ qtwebkit hunspell ];

postPatch = ''
sed -i "s,-lhunspell,-lhunspell-1.3," src/spellcheck/spellcheck.pri
sed -i "s,-lhunspell,-lhunspell-1.6," src/spellcheck/spellcheck.pri
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/lib/qt5/plugins," src/src.pro
'';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/games/mudlet/libs.patch
Expand Up @@ -7,7 +7,7 @@
- -llua5.1 \
- -lhunspell \
+ -llua \
+ -lhunspell-1.3 \
+ -lhunspell-1.6 \
-L/usr/local/lib/ \
-lyajl \
-lGLU \

0 comments on commit 8611d92

Please sign in to comment.