aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/hide-dl-errors.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-10 12:30:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-10 12:30:16 +0000
commit2e17521140965d34b4c816a0ce6fda4300abbe15 (patch)
tree35712b35c6708545cbc862d83136013ce99e9960 /main/dovecot/hide-dl-errors.patch
parentbb175cd5b8b4f2ea8bf37e8a2b2a3091bd4889cf (diff)
downloadaports-2e17521140965d34b4c816a0ce6fda4300abbe15.tar.bz2
aports-2e17521140965d34b4c816a0ce6fda4300abbe15.tar.xz
main/dovecot: hide dl errors
like they do for openbsd. ref #1274
Diffstat (limited to 'main/dovecot/hide-dl-errors.patch')
-rw-r--r--main/dovecot/hide-dl-errors.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/dovecot/hide-dl-errors.patch b/main/dovecot/hide-dl-errors.patch
new file mode 100644
index 0000000000..ccc1360f93
--- /dev/null
+++ b/main/dovecot/hide-dl-errors.patch
@@ -0,0 +1,11 @@
+--- ./src/lib/module-dir.c.orig
++++ ./src/lib/module-dir.c
+@@ -141,7 +141,7 @@
+
+ static void *quiet_dlopen(const char *path, int flags)
+ {
+-#ifndef __OpenBSD__
++#if !defined(__OpenBSD__) && !defined(__UCLIBC__)
+ return dlopen(path, flags);
+ #else
+ void *handle;