1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 01:05:15 +03:00
aports/testing/clapf/def__user.patch
Natanael Copa 2cf2bbe846 testing/clapf: upgrade to 0.4.7.4
- fix ldflags which should not be at the end
- fix configure script to use pkgconfig for gsl cflags and libs
- undef a uclibc nameclash - __user
2013-04-16 09:06:48 +00:00

23 lines
797 B
Diff

diff --git a/src/defs.h b/src/defs.h
index 68cb80a..aae7905 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -156,6 +156,9 @@ struct session_data {
int training_request;
float spaminess;
float Nham, Nspam;
+#ifdef __user
+#undef __user
+#endif
float __acquire, __parsed, __av, __user, __policy, __training, __minefield, __as, __update, __store, __inject;
#ifdef HAVE_MAILBUF
char mailbuf[MAILBUFSIZE], discard_mailbuf;
diff --git a/webui/view/theme/default/templates/common/footer.tpl b/webui/view/theme/default/templates/common/footer.tpl
index e2a23fe..0f681bb 100644
--- a/webui/view/theme/default/templates/common/footer.tpl
+++ b/webui/view/theme/default/templates/common/footer.tpl
@@ -1,3 +1,3 @@
- <p>clapf web UI, VERSION_STRING</p>
+ <p>clapf web UI, 0.4.7.4</p>