From 47ef03a85b058153669cd1cb5fa43b6f52b19152 Mon Sep 17 00:00:00 2001 From: wilfried Date: Wed, 15 May 2002 08:33:53 +0000 Subject: [PATCH] Update to wmmenu-1.2, plenty of bugfixes --- x11/wmmenu/Makefile | 4 ++-- x11/wmmenu/distinfo | 6 +++--- x11/wmmenu/patches/patch-utils_c | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 x11/wmmenu/patches/patch-utils_c diff --git a/x11/wmmenu/Makefile b/x11/wmmenu/Makefile index 17314d1d386..3db7145b2bc 100644 --- a/x11/wmmenu/Makefile +++ b/x11/wmmenu/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.5 2002/04/19 13:19:19 wilfried Exp $ +# $OpenBSD: Makefile,v 1.6 2002/05/15 08:33:53 wilfried Exp $ COMMENT= 'wm-dockapp; A popup menu of icons that launch programs' -DISTNAME= wmmenu-1.1 +DISTNAME= wmmenu-1.2 CATEGORIES= x11 x11/windowmaker NEED_VERSION= 1.515 diff --git a/x11/wmmenu/distinfo b/x11/wmmenu/distinfo index d02edaf70b3..146cebaf770 100644 --- a/x11/wmmenu/distinfo +++ b/x11/wmmenu/distinfo @@ -1,3 +1,3 @@ -MD5 (wmmenu-1.1.tar.gz) = 13fa367e0c384fa97048827756654b34 -RMD160 (wmmenu-1.1.tar.gz) = 043ac020dab8367ffd1cfe3ea7c760d0f49147bb -SHA1 (wmmenu-1.1.tar.gz) = 81c28c5f3eeccbb90f5a36c5bf9fe6916322a205 +MD5 (wmmenu-1.2.tar.gz) = 0cc8970ff54182a08fe848d65546f70f +RMD160 (wmmenu-1.2.tar.gz) = 401eeda8db1b658c72f89eab81fe9a50f170dc39 +SHA1 (wmmenu-1.2.tar.gz) = 23c7eb2e881d10882e064dd2224538a99d70092c diff --git a/x11/wmmenu/patches/patch-utils_c b/x11/wmmenu/patches/patch-utils_c new file mode 100644 index 00000000000..e1f926e7228 --- /dev/null +++ b/x11/wmmenu/patches/patch-utils_c @@ -0,0 +1,19 @@ +$OpenBSD: patch-utils_c,v 1.1 2002/05/15 08:33:53 wilfried Exp $ +--- utils.c.orig Wed Apr 10 20:57:56 2002 ++++ utils.c Wed May 15 10:26:50 2002 +@@ -1,6 +1,3 @@ +-#define _POSIX_SOURCE +-#define _POSIX_C_SOURCE 199309L +- + #include + #include + #include +@@ -16,7 +13,7 @@ + static char * ReadAll (FILE * f, int offset) + { + char buf [10*1024] ; +- int iRead, nRead ; ++ size_t iRead, nRead ; + char * ret ; + + clearerr (f) ;