ports/devel/omake/files/patch-src_libmojave-external_cutil_lm__channel.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

24 lines
846 B
C

$NetBSD: patch-ai,v 1.1 2010/12/17 09:40:14 wiz Exp $
From upstream SVN.
--- src/libmojave-external/cutil/lm_channel.c.orig 2006-07-15 17:23:37 UTC
+++ src/libmojave-external/cutil/lm_channel.c
@@ -57,7 +57,7 @@ value omake_shell_peek_pipe(value v_fd)
&total, // Total number of bytes available
NULL); // Number of bytes in the next message
if(status == 0)
- failwith("Not a pipe");
+ caml_failwith("Not a pipe");
return total ? Val_int(1) : Val_int(0);
}
@@ -83,7 +83,7 @@ value omake_shell_pipe_kind(value v_fd)
value omake_shell_peek_pipe(value v_fd)
{
- failwith("omake_shell_peek_pipe: not available on Unix systems");
+ caml_failwith("omake_shell_peek_pipe: not available on Unix systems");
return Val_unit;
}