diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-26 13:26:32 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-26 13:26:32 +0000 |
commit | e7dc0d3088de7d94028fa4c8b326cac3aacf3d81 (patch) | |
tree | b2cda9d78f8d5649782ec9285916cbefa3b8e4b4 /security/libhijack | |
parent | c4a0bb51495b4a269b68498a4e87908a075c5cd9 (diff) | |
download | freebsd-ports-e7dc0d3088de7d94028fa4c8b326cac3aacf3d81.zip |
Fix build with -fno-common
The libhijack/Makefile specified elf.c twice as a source file to build,
leading to double defined global symbols in the link step.
Diffstat (limited to 'security/libhijack')
-rw-r--r-- | security/libhijack/Makefile | 1 | ||||
-rw-r--r-- | security/libhijack/files/patch-libhijack_Makefile | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/security/libhijack/Makefile b/security/libhijack/Makefile index f5d6e9c95c8d..c3bafe7af7d8 100644 --- a/security/libhijack/Makefile +++ b/security/libhijack/Makefile @@ -4,6 +4,7 @@ PORTNAME= libhijack DISTVERSIONPREFIX= v DISTVERSION= 0.8.0-2 DISTVERSIONSUFFIX= -g972534d +PORTREVISION= 1 CATEGORIES= security MAINTAINER= shawn.webb@hardenedbsd.org diff --git a/security/libhijack/files/patch-libhijack_Makefile b/security/libhijack/files/patch-libhijack_Makefile new file mode 100644 index 000000000000..ae2de44fde9d --- /dev/null +++ b/security/libhijack/files/patch-libhijack_Makefile @@ -0,0 +1,10 @@ +--- libhijack/Makefile.orig 2018-12-20 16:47:42 UTC ++++ libhijack/Makefile +@@ -6,7 +6,6 @@ SHLIB= hijack + SHLIB_MAJOR= 2 + SRCS= \ + elf.c \ +- elf.c \ + error.c \ + func.c \ + libhijack.c \ |