summaryrefslogtreecommitdiffstats
path: root/testing/clapf/def__user.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-16 09:03:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-16 09:06:48 +0000
commit2cf2bbe846d234c6dea96b0eb58657a71255b8ac (patch)
treea511b8ad983aab2ddbe4fc105935a579c4bf8306 /testing/clapf/def__user.patch
parentc8145471c54e481520c0e6d292cef43b4ee9215c (diff)
downloadaports-2cf2bbe846d234c6dea96b0eb58657a71255b8ac.tar.bz2
aports-2cf2bbe846d234c6dea96b0eb58657a71255b8ac.tar.xz
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
Diffstat (limited to 'testing/clapf/def__user.patch')
-rw-r--r--testing/clapf/def__user.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/clapf/def__user.patch b/testing/clapf/def__user.patch
new file mode 100644
index 000000000..825f7cd95
--- /dev/null
+++ b/testing/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>
+