From c857aabc342048d4cc487b618e2e845d5c02d2b4 Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Wed, 26 Aug 2015 12:02:56 -0700 Subject: [PATCH] Tweak graphics/libpgf version 7.15.32 --- graphics/libpgf/Makefile.DragonFly | 1 - .../libpgf/dragonfly/patch-include_PGFplatform.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) delete mode 100644 graphics/libpgf/Makefile.DragonFly create mode 100644 graphics/libpgf/dragonfly/patch-include_PGFplatform.h diff --git a/graphics/libpgf/Makefile.DragonFly b/graphics/libpgf/Makefile.DragonFly deleted file mode 100644 index d9c239e8389..00000000000 --- a/graphics/libpgf/Makefile.DragonFly +++ /dev/null @@ -1 +0,0 @@ -USES+= alias diff --git a/graphics/libpgf/dragonfly/patch-include_PGFplatform.h b/graphics/libpgf/dragonfly/patch-include_PGFplatform.h new file mode 100644 index 00000000000..9e14b053a20 --- /dev/null +++ b/graphics/libpgf/dragonfly/patch-include_PGFplatform.h @@ -0,0 +1,14 @@ +This is required over USES=alias because it is an install header that other +ports use. + +--- include/PGFplatform.h.orig 2015-07-18 06:16:02 UTC ++++ include/PGFplatform.h +@@ -336,7 +336,7 @@ inline OSError SetFPos(HANDLE hFile, int + //------------------------------------------------------------------------------- + // *BSD + //------------------------------------------------------------------------------- +-#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) ++#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) + #ifndef __POSIX__ + #define __POSIX__ + #endif -- 2.41.0