openbsd-ports/lang/swi-prolog/patches/patch-src_pl-funcs_h
2012-10-01 21:16:00 +00:00

16 lines
650 B
Plaintext

$OpenBSD: patch-src_pl-funcs_h,v 1.1 2012/10/01 21:16:00 edd Exp $
Silence annoying redefinition of getwd() warnings
--- src/pl-funcs.h.orig Sat Sep 29 15:00:41 2012
+++ src/pl-funcs.h Sat Sep 29 15:00:52 2012
@@ -344,7 +344,7 @@ COMMON(void) setOSPrologFlags(void);
COMMON(void) RemoveTemporaryFiles(void);
COMMON(bool) OpenStream(int fd);
COMMON(char *) expandVars(const char *pattern, char *expanded, int len);
-COMMON(char *) getwd(char *buf);
+/* COMMON(char *) getwd(char *buf); */
COMMON(char *) AbsoluteFile(const char *spec, char *path);
COMMON(int) IsAbsolutePath(const char *spec);
COMMON(char *) BaseName(const char *f);