aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-02-10 05:55:51 +0800
committermarino <marino@FreeBSD.org>2014-02-10 05:55:51 +0800
commit491a2425b56606c9125cd5e51b966a37872a3b8a (patch)
tree4d73f3364cf27eb3a7967a572f490c4eb7ad994d
parent5609ae4dd059e8cc658c983aa1cb6502d9070001 (diff)
downloadfreebsd-ports-gnome-491a2425b56606c9125cd5e51b966a37872a3b8a.tar.gz
freebsd-ports-gnome-491a2425b56606c9125cd5e51b966a37872a3b8a.tar.zst
freebsd-ports-gnome-491a2425b56606c9125cd5e51b966a37872a3b8a.zip
lang/p2c: Restore build on DragonFly
-rw-r--r--lang/p2c/files/patch-trans.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/p2c/files/patch-trans.h b/lang/p2c/files/patch-trans.h
index 7c1cf52229f7..9865d08f3392 100644
--- a/lang/p2c/files/patch-trans.h
+++ b/lang/p2c/files/patch-trans.h
@@ -13,7 +13,7 @@
/* Our library omits declarations for these functions! */
-+#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__DragonFly__)
int link PP( (char *, char *) );
int unlink PP( (char *) );
+#endif