diff options
author | dsainty <dsainty@pkgsrc.org> | 2014-05-15 21:40:11 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2014-05-15 21:40:11 +0000 |
commit | b91fb0d153269e0ffeb94ab149db4539656f3355 (patch) | |
tree | 1ea4d65dbb7f8bfbca2b8e245fc05106d3796e9a /cad/geda/patches | |
parent | 97aa4fa41e185f5fa39355d7fab496789d3dc61e (diff) | |
download | pkgsrc-b91fb0d153269e0ffeb94ab149db4539656f3355.tar.gz |
The icon-theme-installer tool makes use of a GNU sed extension, and so
behaves incorrectly on many platforms (E.g. NetBSD)
https://bugs.launchpad.net/geda/+bug/1319785
Fixes build on Linux, corrects icon file names on NetBSD and others.
Bump PKGREVISION.
Discussed with dmcmahill@ - but as we're both right-thinking people that
understand that desktop icons are for pussies, strictly speaking this
has been build-tested and brain-tested only.
Diffstat (limited to 'cad/geda/patches')
-rw-r--r-- | cad/geda/patches/patch-build-tools_icon-theme-installer | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cad/geda/patches/patch-build-tools_icon-theme-installer b/cad/geda/patches/patch-build-tools_icon-theme-installer new file mode 100644 index 00000000000..a5375ad7348 --- /dev/null +++ b/cad/geda/patches/patch-build-tools_icon-theme-installer @@ -0,0 +1,18 @@ +$NetBSD: patch-build-tools_icon-theme-installer,v 1.3 2014/05/15 21:40:11 dsainty Exp $ + +The icon-theme-installer tool makes use of a GNU sed extension, and so +behaves incorrectly on many platforms (E.g. NetBSD) + +https://bugs.launchpad.net/geda/+bug/1319785 + +--- build-tools/icon-theme-installer.orig 2012-12-18 00:04:20.000000000 +1300 ++++ build-tools/icon-theme-installer 2014-05-15 23:14:31.969393769 +1200 +@@ -121,7 +121,7 @@ + size=`echo $icon | sed -n 's/.*-\([0-9]*\).*/\1/p'` + category=`echo $icon | cut -d, -f1` + build_name=`echo $icon | cut -d, -f2` +- install_name=`echo $build_name | sed 's/-[0-9]\+//g'` ++ install_name=`echo $build_name | sed 's/-[0-9][0-9]*//g'` + install_name=`basename $install_name` + + if test -z $size; then |