diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-11-05 16:27:37 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-11-05 16:27:37 +0000 |
commit | ab69e6e88a3b26dadbdd37107eccd025396aefd3 (patch) | |
tree | 6d2709ceeb45eb2f6a7ff85587e6e287e4636e23 | |
parent | c77362ebd2d8a41075f68d001a8a157e03efafa8 (diff) | |
download | pkgsrc-ab69e6e88a3b26dadbdd37107eccd025396aefd3.tar.gz |
'head -c' isn't portable, use 'cut -c' instead. Only a single line is being
parsed so they should be equivalent.
-rw-r--r-- | x11/gnome-themes/distinfo | 4 | ||||
-rw-r--r-- | x11/gnome-themes/patches/patch-aa | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/x11/gnome-themes/distinfo b/x11/gnome-themes/distinfo index 97493560227..be5713d7d1a 100644 --- a/x11/gnome-themes/distinfo +++ b/x11/gnome-themes/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.37 2010/11/26 11:31:31 drochner Exp $ +$NetBSD: distinfo,v 1.38 2012/11/05 16:27:37 jperkin Exp $ SHA1 (gnome-themes-2.32.1.tar.bz2) = 0af9ac28c7b1f7fdd543b3629d9b4711c7412195 RMD160 (gnome-themes-2.32.1.tar.bz2) = f6fc96686e6076995f0c2a5b25c655e513435941 Size (gnome-themes-2.32.1.tar.bz2) = 2683723 bytes -SHA1 (patch-aa) = 10878efeb024f6ef4fde6e0afcad0aabbfa176d1 +SHA1 (patch-aa) = 2e801aacdcaac5b86bdf89c8486e534ad1f06119 diff --git a/x11/gnome-themes/patches/patch-aa b/x11/gnome-themes/patches/patch-aa index bcfa7a6449f..4210a8bb7d5 100644 --- a/x11/gnome-themes/patches/patch-aa +++ b/x11/gnome-themes/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.5 2009/05/19 23:54:49 wiz Exp $ +$NetBSD: patch-aa,v 1.6 2012/11/05 16:27:38 jperkin Exp $ http://bugzilla.gnome.org/show_bug.cgi?id=583283 @@ -9,7 +9,7 @@ http://bugzilla.gnome.org/show_bug.cgi?id=583283 # Skip lines beginning with '#' - if [ ! "${NEXTLINE:0:1}" == '#' ]; then -+ if [ ! X"`echo ${NEXTLINE} | head -c 1`" = X'#' ]; then ++ if [ ! X"`echo ${NEXTLINE} | cut -c 1`" = X'#' ]; then #Extract first field, minus its trailing colon ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'` |