summaryrefslogtreecommitdiff
path: root/textproc/libkolabxml/files/patch-src_shared__conversions.h
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2023-12-16 17:39:14 -0500
committerJason E. Hale <jhale@FreeBSD.org>2023-12-30 15:59:02 -0500
commit8c77316ede832a0c503e1434a36ba3822efefbd7 (patch)
treeab227af42cefbba6a700f60a790a4cf5a3c94136 /textproc/libkolabxml/files/patch-src_shared__conversions.h
parentdevel/py-bsd: Update version 1.0.20220425=>1.0.20220510 (diff)
devel/xsd: Update to 4.2.0
Add two new support ports: devel/libxsd and devel/libxsd-frontend. The runtime library was moved out of devel/xsd to devel/libxsd which is why the headers are gone. The compiler frontend, which following a previous comment in the devel/xsd Makefile suggesting that it should be a separate port, but more out of necessity for compatibility with the build2 build system, is now devel/libxsd-frontend. The examples are now a separate distribution and I didn't really see any urgent need to reincorporate them, as they would require yet another port that the majority of our userbase would probably not be interested in as xsd is ultimately just a build dependency for textproc/libkolabxml. Update devel/libcutl to 1.11.0 due to header relocation. Update textproc/libkolabxml to HEAD for C++11 compatibility. Differential Revision: https://reviews.freebsd.org/D43080
Diffstat (limited to 'textproc/libkolabxml/files/patch-src_shared__conversions.h')
-rw-r--r--textproc/libkolabxml/files/patch-src_shared__conversions.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/libkolabxml/files/patch-src_shared__conversions.h b/textproc/libkolabxml/files/patch-src_shared__conversions.h
new file mode 100644
index 000000000000..a1b944efc653
--- /dev/null
+++ b/textproc/libkolabxml/files/patch-src_shared__conversions.h
@@ -0,0 +1,13 @@
+Fix build with devel/xsd >= 4.2.0
+
+--- src/shared_conversions.h.orig 2023-12-16 04:50:40 UTC
++++ src/shared_conversions.h
+@@ -29,7 +29,7 @@ typedef ::xsd::cxx::tree::type type;
+ typedef boost::shared_ptr<cDateTime> cDateTimePtr;
+
+ typedef ::xsd::cxx::tree::type type;
+-#if (XSD_INT_VERSION >= 4000000L)
++#if (LIBXSD_VERSION >= 4000000L)
+ typedef ::xsd::cxx::tree::simple_type< char, type > simple_type;
+ #else
+ typedef ::xsd::cxx::tree::simple_type< type > simple_type;