summaryrefslogtreecommitdiffstats
path: root/main/vanessa_logger/fix-standard.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-09 07:55:59 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-09 08:23:13 +0000
commit3c461dc8d43772a48e601a39e037565920cf588f (patch)
tree02047a590f41955220e87b924dcb407574ac5fb9 /main/vanessa_logger/fix-standard.patch
parent4e9b99b9aaebfa765d501164c135b64568ab4783 (diff)
downloadaports-3c461dc8d43772a48e601a39e037565920cf588f.tar.bz2
aports-3c461dc8d43772a48e601a39e037565920cf588f.tar.xz
main/vanessa_logger: fix musl build
Diffstat (limited to 'main/vanessa_logger/fix-standard.patch')
-rw-r--r--main/vanessa_logger/fix-standard.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/vanessa_logger/fix-standard.patch b/main/vanessa_logger/fix-standard.patch
new file mode 100644
index 000000000..8ac341101
--- /dev/null
+++ b/main/vanessa_logger/fix-standard.patch
@@ -0,0 +1,21 @@
+--- vanessa_logger-0.0.8.orig/libvanessa_logger/vanessa_logger.c
++++ vanessa_logger-0.0.8/libvanessa_logger/vanessa_logger.c
+@@ -677,8 +677,6 @@
+ {
+ int i;
+
+- extern CODE facilitynames[];
+-
+ if (facility_name == NULL) {
+ fprintf(stderr,
+ "__vanessa_logger_get_facility_byname: "
+@@ -1102,8 +1100,7 @@
+ case HOST_NOT_FOUND:
+ str = "Unknown host";
+ break;
+- case NO_ADDRESS:
+- /* case NO_DATA: */
++ case NO_DATA:
+ str = "Host has no address";
+ break;
+ case NO_RECOVERY: