mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
- devel/omake: - add new MASTER_SITES - regenerate patches [1] - graphics/ocaml-images: - add missing LIB_DEPENDS - pet portlint - bump PORTREVISION - games/freetennis: - add missing indirect depedencies [2] - bump PORTREVISION PR: 210853 [1] Submitted by: lightside@gmx.com [1] Reported by: poudriere testport [2]
18 lines
676 B
C
18 lines
676 B
C
$NetBSD: patch-am,v 1.1 2010/12/17 09:40:14 wiz Exp $
|
|
|
|
From upstream SVN.
|
|
|
|
--- src/libmojave-external/cutil/lm_terminfo.c.orig 2007-05-15 19:03:32 UTC
|
|
+++ src/libmojave-external/cutil/lm_terminfo.c
|
|
@@ -75,9 +75,9 @@ value caml_tgetstr(value id) {
|
|
|
|
/* Note that tigetstr will return either 0 or -1 on error. */
|
|
if(termdata == NULL || termdata == (char *)(-1)) {
|
|
- result = copy_string("");
|
|
+ result = caml_copy_string("");
|
|
} else {
|
|
- result = copy_string(termdata);
|
|
+ result = caml_copy_string(termdata);
|
|
/* apparently we're not supposed to free termdata here */
|
|
/* TEMP: I cannot find specs on this! */
|
|
//free(termdata);
|