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.
This commit is contained in:
parent
c4a0bb5149
commit
e7dc0d3088
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550184
@ -4,6 +4,7 @@ PORTNAME= libhijack
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.8.0-2
|
||||
DISTVERSIONSUFFIX= -g972534d
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= shawn.webb@hardenedbsd.org
|
||||
|
10
security/libhijack/files/patch-libhijack_Makefile
Normal file
10
security/libhijack/files/patch-libhijack_Makefile
Normal file
@ -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 \
|
Loading…
Reference in New Issue
Block a user