diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-11-10 14:04:09 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-11-10 14:04:09 +0100 |
commit | 8f8945adaa2b491144d2ddfdcfc4fc8d4504692c (patch) | |
tree | 967e73e51a29e74dea78f1c6d291ed4f31443f9b /community/opensmtpd-extras/remove-decls.patch | |
parent | 1240693f72eacf8b9b61251ade9d3d46a70d018e (diff) | |
download | aports-8f8945adaa2b491144d2ddfdcfc4fc8d4504692c.tar.bz2 aports-8f8945adaa2b491144d2ddfdcfc4fc8d4504692c.tar.xz |
community/opensmtpd-extras: move from testing
Diffstat (limited to 'community/opensmtpd-extras/remove-decls.patch')
-rw-r--r-- | community/opensmtpd-extras/remove-decls.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/opensmtpd-extras/remove-decls.patch b/community/opensmtpd-extras/remove-decls.patch new file mode 100644 index 0000000000..5332573e90 --- /dev/null +++ b/community/opensmtpd-extras/remove-decls.patch @@ -0,0 +1,19 @@ +__BEGIN_DECLS / __END_DECLS are a glibc-only wrapper mechanism to make +C declarations work in C++ code. As musl does not support these and the +OpenSMTPD codebase is solely C anyway, simply remove them. + +--- a/extras/tables/table-ldap/ber.h ++++ b/extras/tables/table-ldap/ber.h +@@ -75,7 +75,6 @@ + size_t bo_n; + }; + +-__BEGIN_DECLS + struct ber_element *ber_get_element(unsigned long); + void ber_set_header(struct ber_element *, int, + unsigned long); +@@ -123,4 +122,3 @@ + void ber_set_application(struct ber *, + unsigned long (*)(struct ber_element *)); + void ber_free(struct ber *); +-__END_DECLS |