pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/gnome-themes 'head -c' isn't portable, use 'cut -c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9978fcee2edf
branches: trunk
changeset: 610766:9978fcee2edf
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Nov 05 16:27:37 2012 +0000
description:
'head -c' isn't portable, use 'cut -c' instead. Only a single line is being
parsed so they should be equivalent.
diffstat:
x11/gnome-themes/distinfo | 4 ++--
x11/gnome-themes/patches/patch-aa | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r a91798bab332 -r 9978fcee2edf x11/gnome-themes/distinfo
--- a/x11/gnome-themes/distinfo Mon Nov 05 15:24:12 2012 +0000
+++ b/x11/gnome-themes/distinfo Mon Nov 05 16:27:37 2012 +0000
@@ -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 -r a91798bab332 -r 9978fcee2edf x11/gnome-themes/patches/patch-aa
--- a/x11/gnome-themes/patches/patch-aa Mon Nov 05 15:24:12 2012 +0000
+++ b/x11/gnome-themes/patches/patch-aa Mon Nov 05 16:27:37 2012 +0000
@@ -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 @@
# 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/://'`
Home |
Main Index |
Thread Index |
Old Index