pkgsrc-ng/lang/swi-prolog-lite/patches/patch-src_pl-funcs.h
2013-09-26 17:14:40 +02:00

17 lines
648 B
C

$NetBSD: patch-src_pl-funcs.h,v 1.1 2012/11/07 15:30:04 joerg Exp $
Don't change visibility of a system prototype.
--- src/pl-funcs.h.orig 2012-11-04 22:29:01.000000000 +0000
+++ src/pl-funcs.h
@@ -426,7 +426,9 @@ COMMON(void) RemoveTemporaryFiles(void
COMMON(bool) OpenStream(int fd);
COMMON(bool) expandVars(const char *pattern, char *expanded, int len);
COMMON(char *) ExpandOneFile(const char *spec, char *file);
+#ifndef HAVE_GETWD
COMMON(char *) getwd(char *buf);
+#endif
COMMON(char *) AbsoluteFile(const char *spec, char *path);
COMMON(int) IsAbsolutePath(const char *spec);
COMMON(char *) BaseName(const char *f);