diff options
author | joerg <joerg@pkgsrc.org> | 2015-06-27 18:41:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-06-27 18:41:39 +0000 |
commit | bcf6518644e77dd2813fb8fb7aeb435a5ab0ed9c (patch) | |
tree | e12696a3d51194eb8bcbc84a17f4873de8c83989 | |
parent | 68670a2d63758e965102f6f214b7cef03bb374a4 (diff) | |
download | pkgsrc-bcf6518644e77dd2813fb8fb7aeb435a5ab0ed9c.tar.gz |
Disable register use warning for clang, gperf still has no way to create
modern code without such nonsense. Fix definition inconsistency.
-rw-r--r-- | converters/libfreehand/distinfo | 4 | ||||
-rw-r--r-- | converters/libfreehand/patches/patch-src_lib_FHParser.cpp | 19 | ||||
-rw-r--r-- | converters/libfreehand/patches/patch-src_lib_FHPath.h | 13 |
3 files changed, 35 insertions, 1 deletions
diff --git a/converters/libfreehand/distinfo b/converters/libfreehand/distinfo index 181e7ad6a4c..25da4f1839a 100644 --- a/converters/libfreehand/distinfo +++ b/converters/libfreehand/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2015/06/14 16:55:23 wiz Exp $ +$NetBSD: distinfo,v 1.4 2015/06/27 18:41:39 joerg Exp $ SHA1 (libfreehand-0.1.1.tar.bz2) = 713ffc76f065390ce82016ba205415d5bffe724f RMD160 (libfreehand-0.1.1.tar.bz2) = 4770e3c4c62909221e4b6f7875b3c88ebf362f86 Size (libfreehand-0.1.1.tar.bz2) = 597212 bytes +SHA1 (patch-src_lib_FHParser.cpp) = 6b3f5abad40f0220466cfe0620b4e2363b5fa296 +SHA1 (patch-src_lib_FHPath.h) = a883f19924232b178b98aeb480cc0fa1ab37e98f diff --git a/converters/libfreehand/patches/patch-src_lib_FHParser.cpp b/converters/libfreehand/patches/patch-src_lib_FHParser.cpp new file mode 100644 index 00000000000..473ff53079c --- /dev/null +++ b/converters/libfreehand/patches/patch-src_lib_FHParser.cpp @@ -0,0 +1,19 @@ +$NetBSD: patch-src_lib_FHParser.cpp,v 1.1 2015/06/27 18:41:40 joerg Exp $ + +--- src/lib/FHParser.cpp.orig 2015-06-27 14:09:14.000000000 +0000 ++++ src/lib/FHParser.cpp +@@ -25,7 +25,14 @@ + namespace + { + ++#ifdef __clang__ ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wdeprecated-register" ++#endif + #include "tokenhash.h" ++#ifdef __clang__ ++#pragma GCC diagnostic pop ++#endif + + static int getTokenId(const char *name) + { diff --git a/converters/libfreehand/patches/patch-src_lib_FHPath.h b/converters/libfreehand/patches/patch-src_lib_FHPath.h new file mode 100644 index 00000000000..59252b6eb2c --- /dev/null +++ b/converters/libfreehand/patches/patch-src_lib_FHPath.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_lib_FHPath.h,v 1.1 2015/06/27 18:41:40 joerg Exp $ + +--- src/lib/FHPath.h.orig 2015-06-27 14:05:28.000000000 +0000 ++++ src/lib/FHPath.h +@@ -16,7 +16,7 @@ + namespace libfreehand + { + +-class FHTransform; ++struct FHTransform; + + class FHPathElement + { |