diff options
author | 2019-08-30 19:27:25 +0200 | |
---|---|---|
committer | 2019-08-30 19:29:28 +0200 | |
commit | 4f9ec75b4ecdcfa44e9b242d5feab6975df42912 (patch) | |
tree | 798a1bef18c3bdca278165ee689b9543a6cfa00d /net-libs/libpcap/files | |
parent | dev-util/pkgcheck: version bump to 0.6.3 (diff) | |
download | gentoo-4f9ec75b4ecdcfa44e9b242d5feab6975df42912.tar.gz gentoo-4f9ec75b4ecdcfa44e9b242d5feab6975df42912.tar.bz2 gentoo-4f9ec75b4ecdcfa44e9b242d5feab6975df42912.zip |
net-libs/libpcap: Fix compiling on sparc64-linux-*
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libpcap/files')
-rw-r--r-- | net-libs/libpcap/files/libpcap-1.9.0-os.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-libs/libpcap/files/libpcap-1.9.0-os.patch b/net-libs/libpcap/files/libpcap-1.9.0-os.patch new file mode 100644 index 000000000000..d3ec8014084f --- /dev/null +++ b/net-libs/libpcap/files/libpcap-1.9.0-os.patch @@ -0,0 +1,33 @@ +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -415,7 +415,7 @@ + aix*) + ;; + +- freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*) ++ freebsd*|solaris*|netbsd*|openbsd*|dragonfly*|linux*|osf*) + # + # Platforms where the linker is the GNU linker + # or accepts command-line arguments like +@@ -429,10 +429,10 @@ + PIC_OPT=-fpic + case "$host_cpu" in + +- sparc64*) ++ sparc64*|sparcv9*) + case "$host_os" in + +- freebsd*|openbsd*) ++ freebsd*|solaris*|openbsd*|linux*) + PIC_OPT=-fPIC + ;; + esac +@@ -497,7 +497,7 @@ + V_SHLIB_OPT="-G -bnoentry -bexpall" + ;; + +- freebsd*|netbsd*|openbsd*|dragonfly*|linux*) ++ freebsd*|solaris*|netbsd*|openbsd*|dragonfly*|linux*) + # + # "cc" is GCC. + # |