summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-12-24 12:32:05 +0000
committerobache <obache@pkgsrc.org>2010-12-24 12:32:05 +0000
commit0138227044a0f946fb9f82be86f9d08cc9ebbb0c (patch)
tree05b5d3eff5f512828fc32312dc99463405a8e6be /inputmethod
parenta137c961259fdadee7b67cf16a5403f7a612dfed (diff)
downloadpkgsrc-0138227044a0f946fb9f82be86f9d08cc9ebbb0c.tar.gz
"-m 1" option for grep is not portable, removed it.
The matching pattern should be only once, so no changes will be happend.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/ibus-chewing/distinfo3
-rw-r--r--inputmethod/ibus-chewing/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
diff --git a/inputmethod/ibus-chewing/distinfo b/inputmethod/ibus-chewing/distinfo
index cc0651e5847..3c0d7c7deee 100644
--- a/inputmethod/ibus-chewing/distinfo
+++ b/inputmethod/ibus-chewing/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2010/12/03 08:56:39 obache Exp $
+$NetBSD: distinfo,v 1.4 2010/12/24 12:32:05 obache Exp $
SHA1 (ibus-chewing-1.3.9.2-Source.tar.gz) = 4cc1479e4055b217cfa28a009f9f92de41d95295
RMD160 (ibus-chewing-1.3.9.2-Source.tar.gz) = 0f762ad5057f305fefcf29f82632148b0ee49694
Size (ibus-chewing-1.3.9.2-Source.tar.gz) = 79340 bytes
+SHA1 (patch-aa) = feb1531c9cb2915d5384cf0d3357fac218fd501b
diff --git a/inputmethod/ibus-chewing/patches/patch-aa b/inputmethod/ibus-chewing/patches/patch-aa
new file mode 100644
index 00000000000..80b06e7b7a9
--- /dev/null
+++ b/inputmethod/ibus-chewing/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2010/12/24 12:32:05 obache Exp $
+
+"-m" option for grep is not portable.
+
+--- Modules/ManageVersion.cmake.orig 2010-11-19 02:41:24.000000000 +0000
++++ Modules/ManageVersion.cmake
+@@ -31,7 +31,7 @@ IF(NOT DEFINED _MANAGE_VERSION_CMAKE_)
+ INCLUDE(ManageVariable)
+
+ MACRO(LOAD_RELEASE_FILE releaseFile)
+- COMMAND_OUTPUT_TO_VARIABLE(_grep_line grep -F "[Changes]" -n -m 1 ${releaseFile})
++ COMMAND_OUTPUT_TO_VARIABLE(_grep_line grep -F "[Changes]" -n ${releaseFile})
+ SET(RELEASE_FILE ${releaseFile})
+ #MESSAGE("_grep_line=|${_grep_line}|")
+ IF("${_grep_line}" STREQUAL "")