huzheng@huzheng-pc:~/github/stardict-3$ patch -p1 < commands/acommands.patch 
patching file dict/ChangeLog
Hunk #1 succeeded at 7 with fuzz 2.
patching file dict/configure.ac
Hunk #1 succeeded at 265 (offset 32 lines).
Hunk #2 succeeded at 565 (offset 34 lines).
patching file dict/po/POTFILES.in
Hunk #1 succeeded at 38 (offset 1 line).
patching file dict/src/floatwin.cpp
patching file dict/src/floatwin.h
patching file dict/src/lib/pluginmanager.cpp
patching file dict/src/lib/pluginmanager.h
patching file dict/src/lib/stardict_client.cpp
Hunk #1 FAILED at 114.
Hunk #2 FAILED at 126.
Hunk #3 FAILED at 231.
3 out of 3 hunks FAILED -- saving rejects to file dict/src/lib/stardict_client.cpp.rej
patching file dict/src/lib/stardict_client.h
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file dict/src/lib/stardict_client.h.rej
patching file dict/src/lib/virtualdictplugin.cpp
patching file dict/src/lib/virtualdictplugin.h
patching file dict/src/mainwin.cpp
patching file dict/src/stardict.cpp
Hunk #3 succeeded at 712 (offset 1 line).
Hunk #4 succeeded at 721 (offset 1 line).
Hunk #5 succeeded at 738 (offset 1 line).
Hunk #6 succeeded at 765 (offset 1 line).
Hunk #7 succeeded at 828 (offset 1 line).
Hunk #8 succeeded at 867 (offset 1 line).
Hunk #9 succeeded at 953 (offset 1 line).
Hunk #10 succeeded at 999 (offset 1 line).
Hunk #11 succeeded at 1007 (offset 1 line).
Hunk #12 succeeded at 1027 (offset 1 line).
Hunk #13 succeeded at 1055 (offset 1 line).
Hunk #14 succeeded at 1317 (offset 1 line).
patching file dict/src/stardict.h
Hunk #2 succeeded at 192 (offset 1 line).
patching file dict/stardict-plugins/Makefile.am
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file dict/stardict-plugins/Makefile.am.rej
patching file dict/stardict-plugins/stardict-cal-plugin/stardict_cal.cpp
patching file dict/stardict-plugins/stardict-fortune-plugin/stardict_fortune.cpp

