Browse Source
Merge pull request #6874 from neheb/clam
clamsmtp: Fix compile under musl
lilik-openwrt-22.03
Hannu Nyman
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
13 additions and
1 deletions
-
mail/clamsmtp/Makefile
-
mail/clamsmtp/patches/010-fix-build.patch
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=clamsmtp |
|
|
|
PKG_VERSION:=1.10 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://thewalter.net/stef/software/clamsmtp/ |
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
|
|
|
@ -0,0 +1,12 @@ |
|
|
|
diff --git a/common/sock_any.h b/common/sock_any.h
|
|
|
|
index 77c3841..1e30974 100644
|
|
|
|
--- a/common/sock_any.h
|
|
|
|
+++ b/common/sock_any.h
|
|
|
|
@@ -39,7 +39,6 @@
|
|
|
|
#ifndef __SOCK_ANY_H__ |
|
|
|
#define __SOCK_ANY_H__ |
|
|
|
|
|
|
|
-#include <sys/socket.h>
|
|
|
|
#include <sys/un.h> |
|
|
|
#include <netinet/in.h> |
|
|
|
|