aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/clapf/def__user.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-06 00:16:44 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-18 17:52:49 +0100
commit4da0572b38c6d5e103331bae95044b42c110ff6e (patch)
tree0c608a3f09335d63c80ee0632a8fd01f1ae4f53f /unmaintained/clapf/def__user.patch
parentd6a4bfc706ea00416c5b7e03bfa9555559d5c7a0 (diff)
downloadaports-4da0572b38c6d5e103331bae95044b42c110ff6e.tar.bz2
aports-4da0572b38c6d5e103331bae95044b42c110ff6e.tar.xz
unmaintained/clapf: move from testing
Diffstat (limited to 'unmaintained/clapf/def__user.patch')
-rw-r--r--unmaintained/clapf/def__user.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/unmaintained/clapf/def__user.patch b/unmaintained/clapf/def__user.patch
new file mode 100644
index 0000000000..825f7cd951
--- /dev/null
+++ b/unmaintained/clapf/def__user.patch
@@ -0,0 +1,23 @@
+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>
+