summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjoerg <joerg>2015-06-27 18:41:39 +0000
committerjoerg <joerg>2015-06-27 18:41:39 +0000
commit0018e423eafaf2a23134d3269c765a79ae66fcdb (patch)
treee12696a3d51194eb8bcbc84a17f4873de8c83989 /converters
parent5e539672e9faaf0ab2ba043d161b382cacf8ad2b (diff)
downloadpkgsrc-0018e423eafaf2a23134d3269c765a79ae66fcdb.tar.gz
Disable register use warning for clang, gperf still has no way to create
modern code without such nonsense. Fix definition inconsistency.
Diffstat (limited to 'converters')
-rw-r--r--converters/libfreehand/distinfo4
-rw-r--r--converters/libfreehand/patches/patch-src_lib_FHParser.cpp19
-rw-r--r--converters/libfreehand/patches/patch-src_lib_FHPath.h13
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
+ {