Browse Source

Merge pull request #9480 from neheb/soc

socat: Remove outdated musl patch
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
b91822d6fe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 25 deletions
  1. +2
    -2
      net/socat/Makefile
  2. +0
    -23
      net/socat/patches/100-musl-compat.patch

+ 2
- 2
net/socat/Makefile View File

@ -7,18 +7,18 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=socat
PKG_VERSION:=1.7.3.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download
PKG_HASH:=0dd63ffe498168a4aac41d307594c5076ff307aa0ac04b141f8f1cec6594d04a
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_LICENSE:=GPL-2.0 OpenSSL
PKG_LICENSE_FILES:=COPYING COPYING.OpenSSL
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk


+ 0
- 23
net/socat/patches/100-musl-compat.patch View File

@ -1,23 +0,0 @@
--- a/sysincludes.h
+++ b/sysincludes.h
@@ -79,6 +79,9 @@
#endif
#if HAVE_NETDB_H && (_WITH_IP4 || _WITH_IP6)
#include <netdb.h> /* struct hostent, gethostbyname() */
+#if !(__UCLIBC__ || __GLIBC__)
+#define NETDB_INTERNAL -1
+#endif
#endif
#if HAVE_SYS_UN_H && WITH_UNIX
#include <sys/un.h> /* struct sockaddr_un, unix domain sockets */
@@ -139,8 +142,10 @@
#include <netpacket/packet.h>
#endif
#if HAVE_NETINET_IF_ETHER_H
+#if defined(__UCLIBC__) || defined(__GLIBC__)
#include <netinet/if_ether.h>
#endif
+#endif
#if HAVE_LINUX_IF_TUN_H
#include <linux/if_tun.h>
#endif

Loading…
Cancel
Save