diff options
author | taca <taca@pkgsrc.org> | 2015-03-15 00:41:34 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2015-03-15 00:41:34 +0000 |
commit | cac239852b06478bddaca4fc93234f1fb98fd3b5 (patch) | |
tree | 8937f1e65581f1cc8a9145ac088de3990647424f /lang/squeak-vm | |
parent | 40ddb2b1134a635775ed5438d001414ab104dc79 (diff) | |
download | pkgsrc-cac239852b06478bddaca4fc93234f1fb98fd3b5.tar.gz |
Do not include <sys/uuid.h> and other uuid.h.
Fix build problem on NetBSD 7.0_BETA (at least).
Diffstat (limited to 'lang/squeak-vm')
-rw-r--r-- | lang/squeak-vm/distinfo | 3 | ||||
-rw-r--r-- | lang/squeak-vm/patches/patch-unix_plugins_UUIDPlugin_sqUnixUUID.c | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/lang/squeak-vm/distinfo b/lang/squeak-vm/distinfo index 6f27c51a2e2..8b9be9877f5 100644 --- a/lang/squeak-vm/distinfo +++ b/lang/squeak-vm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2012/10/29 07:33:40 asau Exp $ +$NetBSD: distinfo,v 1.7 2015/03/15 00:41:34 taca Exp $ SHA1 (squeak/Squeak-4.10.2.2614-src.tar.gz) = bd807730537122b220840b4a89f04a6689f435c2 RMD160 (squeak/Squeak-4.10.2.2614-src.tar.gz) = 8e8a94ef036aa9ca51ade7683c3c9c8844a56660 @@ -12,3 +12,4 @@ SHA1 (patch-ac) = bad06ae257766407c90a62f5927a53c97ee8072a SHA1 (patch-ad) = e426d1de4b496704be08c67d2d2ab61a24735017 SHA1 (patch-ae) = 73c358e42d153c9e6fe605fa1c77360ad48c6ec3 SHA1 (patch-af) = 529550d988f5655791942145c79f5448431c04c4 +SHA1 (patch-unix_plugins_UUIDPlugin_sqUnixUUID.c) = 949ca3dff48806d99ea8d54d485fea1b6449a6e9 diff --git a/lang/squeak-vm/patches/patch-unix_plugins_UUIDPlugin_sqUnixUUID.c b/lang/squeak-vm/patches/patch-unix_plugins_UUIDPlugin_sqUnixUUID.c new file mode 100644 index 00000000000..2a3011c9f2b --- /dev/null +++ b/lang/squeak-vm/patches/patch-unix_plugins_UUIDPlugin_sqUnixUUID.c @@ -0,0 +1,25 @@ +$NetBSD: patch-unix_plugins_UUIDPlugin_sqUnixUUID.c,v 1.1 2015/03/15 00:41:34 taca Exp $ + +Do not include <sys/uuid.h> and other uuid.h. + +--- unix/plugins/UUIDPlugin/sqUnixUUID.c.orig 2012-09-13 19:25:58.000000000 +0000 ++++ unix/plugins/UUIDPlugin/sqUnixUUID.c +@@ -3,7 +3,8 @@ + #if defined(HAVE_SYS_UUID_H) + # include <sys/types.h> + # include <sys/uuid.h> +-#endif ++ ++#else + + #if defined(HAVE_UUID_UUID_H) + # include <uuid/uuid.h> +@@ -11,6 +12,8 @@ + # include <uuid.h> + #endif + ++#endif ++ + #include "sq.h" + + |