aboutsummaryrefslogtreecommitdiff
path: root/graphics/wmgrabimage/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-04-12 02:11:47 +0000
committerPatrick Li <pat@FreeBSD.org>2002-04-12 02:11:47 +0000
commitb10b255e8fa017a1f4f7f83584cec52c8218ef30 (patch)
tree883340c086f6ff1345dd46be5df3c0f5f3f8f7e1 /graphics/wmgrabimage/files
parentb8eab1e6680794680f21f1302a485446c9e86c30 (diff)
downloadports-b10b255e8fa017a1f4f7f83584cec52c8218ef30.tar.gz
ports-b10b255e8fa017a1f4f7f83584cec52c8218ef30.zip
Correct wrong argument given to ImageMagick's convert(1)
PR: 37012 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=57596
Diffstat (limited to 'graphics/wmgrabimage/files')
-rw-r--r--graphics/wmgrabimage/files/patch-GrabImage14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/wmgrabimage/files/patch-GrabImage b/graphics/wmgrabimage/files/patch-GrabImage
new file mode 100644
index 000000000000..14be92bfee27
--- /dev/null
+++ b/graphics/wmgrabimage/files/patch-GrabImage
@@ -0,0 +1,14 @@
+--- GrabImage.orig Sat Mar 23 14:37:54 2002
++++ GrabImage Sat Mar 23 14:38:23 2002
+@@ -61,9 +61,9 @@
+
+ if (! ($Geometry eq "") ) {
+ system "convert -crop $Geometry $home/.wmGrabImage/${ImageName} $home/.wmGrabImage/${ImageName}.tmp.gif" ;
+- system "convert -geom 54x54 $home/.wmGrabImage/${ImageName}.tmp.gif ${home}/.wmGrabImage/${ImageName}.tmp.xpm";
++ system "convert -geometry 54x54 $home/.wmGrabImage/${ImageName}.tmp.gif ${home}/.wmGrabImage/${ImageName}.tmp.xpm";
+ } else {
+- system "convert -geom 54x54 $home/.wmGrabImage/${ImageName} ${home}/.wmGrabImage/${ImageName}.tmp.xpm";
++ system "convert -geometry 54x54 $home/.wmGrabImage/${ImageName} ${home}/.wmGrabImage/${ImageName}.tmp.xpm";
+ }
+ system "cat ${home}/.wmGrabImage/${ImageName}.tmp.xpm | sed -e \"s/Transparent/Black/\" \> ${home}/.wmGrabImage/${ImageName}.xpm; rm ${home}/.wmGrabImage/${ImageName}.tmp.xpm";
+