pkgsrc/x11/xview-lib/patches/patch-dk
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

12 lines
479 B
Text

$NetBSD: patch-dk,v 1.3 2009/12/10 20:35:58 abs Exp $
--- lib/libxview/file_chooser/xv_path_util.h.orig 1994-06-26 01:05:20.000000000 +0000
+++ lib/libxview/file_chooser/xv_path_util.h
@@ -41,6 +41,7 @@
#define xv_free_ref(str) {if((str)) {xv_free((str)); (str) = NULL;}}
+#define xv_free_regex_t(str) {if((str)) {regfree(((regex_t*)str)); free((str)); (str) = NULL;}}
EXTERN_FUNCTION(void xv_error_sprintf, (Frame frame, int use_footer, char *format, DOTDOTDOT) );