wmmon: Added -f to rm The -f argument don't stop the make process if the file don't exists. --- wmmon/wmgeneral/wmgeneral.c | 2 +- wmmon/wmmon/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/wmmon/wmgeneral/wmgeneral.c b/wmmon/wmgeneral/wmgeneral.c
index 87be712..34b4e05 100644
--- a/wmmon/wmgeneral/wmgeneral.c
+++ b/wmmon/wmgeneral/wmgeneral.c
@@ -318,7 +318,7 @@ void openXwindow(int argc, char *argv[], char
*pixmap_bytes[], char *pixmask_bit
&mysizehints.width, &mysizehints.height, &dummy);
if (geometry)
XParseGeometry(geometry, &mysizehints.x, &mysizehints.y,
- &mysizehints.width, &mysizehints.height);
+ (unsigned int *) &mysizehints.width,
(unsigned int *) &mysizehints.height);
mysizehints.width = 64;
mysizehints.height = 64;
diff --git a/wmmon/wmmon/Makefile b/wmmon/wmmon/Makefile
index a0793dd..7bfd8e5 100755
--- a/wmmon/wmmon/Makefile
+++ b/wmmon/wmmon/Makefile
@@ -14,6 +14,6 @@ wmmon: $(OBJS)
clean::
for i in $(OBJS) ; do \
- rm $$i;\
+ rm -f $$i;\
done
- rm wmmon
+ rm -f wmmon
--
1.7.7.3
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
0003-wmmon-remove-wmgeneral.c-typecasting-warning.patch.gz
Description: application/gzip
