pkgsrc/x11/xview-lib/patches/patch-cp
abs c9c8f97e88 - Add PKG_DESTDIR_SUPPORT
- Depend on the latest version of xview-config
- Mark as LICENSE sun-openlook-license
- Bump pkgrevision
2009-12-10 20:35:56 +00:00

28 lines
671 B
Text

$NetBSD: patch-cp,v 1.2 2009/12/10 20:35:57 abs Exp $
--- lib/libxview/ttysw/cim_size.c.orig 1993-06-29 05:17:14.000000000 +0000
+++ lib/libxview/ttysw/cim_size.c
@@ -156,19 +156,19 @@ xv_tty_free_image_and_mode()
{
if (lines_ptr) {
- cfree((CHAR *) (lines_ptr));
+ free((CHAR *) (lines_ptr));
lines_ptr = NULL;
}
if (image) {
- cfree((CHAR **) image);
+ free((CHAR **) image);
image = NULL;
}
if (mode_ptr) {
- cfree((char *) (mode_ptr));
+ free((char *) (mode_ptr));
mode_ptr = NULL;
}
if (screenmode) {
- cfree((char **) screenmode);
+ free((char **) screenmode);
screenmode = NULL;
}
}