ports/devel/omake/files/patch-src_libmojave-external_cutil_lm__terminfo.c
Rene Ladan edbbdaf2a2 Ressurect devel/omake, graphics/ocaml-images and games/freetennis [1]
- 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]
2016-07-23 14:19:05 +00:00

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);