aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-07-29 20:56:09 +0800
committerarved <arved@FreeBSD.org>2007-07-29 20:56:09 +0800
commit415e3bf9a64a769d240ebd214213dc62a180ac82 (patch)
tree72c060dacccec41365b36fdb234c290f0d788c28
parent53bea62dc42111d78989da09326c95f9c6a8c72c (diff)
downloadfreebsd-ports-gnome-415e3bf9a64a769d240ebd214213dc62a180ac82.tar.gz
freebsd-ports-gnome-415e3bf9a64a769d240ebd214213dc62a180ac82.tar.zst
freebsd-ports-gnome-415e3bf9a64a769d240ebd214213dc62a180ac82.zip
Fix build with latest libnxml
-rw-r--r--www/newsbeuter/files/patch-controller.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/newsbeuter/files/patch-controller.cpp b/www/newsbeuter/files/patch-controller.cpp
new file mode 100644
index 000000000000..d24c7215e6ab
--- /dev/null
+++ b/www/newsbeuter/files/patch-controller.cpp
@@ -0,0 +1,18 @@
+--- src/controller.cpp.orig 2007-07-29 14:51:45.000000000 +0200
++++ src/controller.cpp 2007-07-29 14:51:29.000000000 +0200
+@@ -419,13 +419,13 @@
+
+ ret = nxml_new (&data);
+ if (ret != NXML_OK) {
+- puts (nxml_strerror (ret));
++ puts (nxml_strerror (data, ret));
+ return;
+ }
+
+ ret = nxml_parse_file (data, const_cast<char *>(filename));
+ if (ret != NXML_OK) {
+- puts (nxml_strerror (ret));
++ puts (nxml_strerror (data, ret));
+ return;
+ }
+