update to mowitz-0.3.1

This commit is contained in:
jasper 2016-01-08 21:31:32 +00:00
parent 3722ea08b8
commit a3b9da11fd
5 changed files with 10 additions and 30 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2015/03/16 18:07:59 naddy Exp $
# $OpenBSD: Makefile,v 1.20 2016/01/08 21:31:32 jasper Exp $
COMMENT= widgets library
DISTNAME= Mowitz-0.3.0
DISTNAME= Mowitz-0.3.1
PKGNAME= ${DISTNAME:L}
REVISION= 5
SHARED_LIBS += Mowitz 3.0 # .3.0
CATEGORIES= x11 devel

View File

@ -1,2 +1,2 @@
SHA256 (Mowitz-0.3.0.tar.gz) = RytnWqqcPFIKv7YpbgKeMfiyN0yLE2z8YSTV2wR8ocs=
SIZE (Mowitz-0.3.0.tar.gz) = 1029965
SHA256 (Mowitz-0.3.1.tar.gz) = akqbI0K+zw3Y7NZdh6xfiL7uhEZNBVPhIjsgHZSz3/8=
SIZE (Mowitz-0.3.1.tar.gz) = 1150170

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Mowitz_MwFilesel_c,v 1.3 2010/06/28 23:01:14 ajacoutot Exp $
--- Mowitz/MwFilesel.c.orig Thu Jan 16 21:31:13 2003
+++ Mowitz/MwFilesel.c Tue Jun 29 00:57:02 2010
$OpenBSD: patch-Mowitz_MwFilesel_c,v 1.4 2016/01/08 21:31:32 jasper Exp $
--- Mowitz/MwFilesel.c.orig Thu Aug 30 08:22:14 2007
+++ Mowitz/MwFilesel.c Fri Jan 8 22:27:00 2016
@@ -80,7 +80,7 @@ getdirent(char ***ldirp, int *ndirp, char ***lfilep, i
{
DIR *dird;
@ -167,12 +167,3 @@ $OpenBSD: patch-Mowitz_MwFilesel_c,v 1.3 2010/06/28 23:01:14 ajacoutot Exp $
MwLabelSet(fsel_dirbutton, newpath);
XtVaSetValues(fsel_filetext,
XtNstring, "", (char *)0);
@@ -690,7 +718,7 @@ int MwFileselInput(Widget pw, char *path, char *name,
String string;
XtAppContext app_context = XtWidgetToApplicationContext(pw);
int i;
- char newpath[1024];
+ char newpath[PATH_MAX];
if (!realpath(path, newpath))
getcwd(newpath, sizeof newpath);

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-Mowitz_MwXFormat_c,v 1.1 2007/11/20 21:05:30 jasper Exp $
--- Mowitz/MwXFormat.c.orig Fri Nov 16 19:55:40 2007
+++ Mowitz/MwXFormat.c Fri Nov 16 19:56:02 2007
@@ -490,7 +490,7 @@ static XFontStruct *load_cached_font(char *result, cha
if (!strcmp(loaded_fonts[i].name, result))
return loaded_fonts[i].fs;
}
- loaded_fonts = MwRealloc(loaded_fonts, (i+1)*sizeof(*loaded_fonts));
+ loaded_fonts = MwRealloc(loaded_fonts, (i+2)*sizeof(*loaded_fonts));
loaded_fonts[i].name = MwStrdup(result);
fs = XLoadQueryFont(dpy, result);
if (fs == NULL) {

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2015/03/16 18:07:59 naddy Exp $
@comment $OpenBSD: PLIST,v 1.5 2016/01/08 21:31:32 jasper Exp $
bin/mowitz-config
include/Mowitz/
include/Mowitz/Mowitz.h
@ -90,6 +90,8 @@ include/Mowitz/MwTraverse.h
include/Mowitz/MwUtils.h
include/Mowitz/MwVSlider.h
include/Mowitz/MwVSliderP.h
include/Mowitz/MwXCC.h
include/Mowitz/MwXCCP.h
include/Mowitz/MwXFormat.h
include/Mowitz/MwXutils.h
lib/libMowitz.a