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:
Stefan Eßer 2020-09-26 13:26:32 +00:00
parent c4a0bb5149
commit e7dc0d3088
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550184
2 changed files with 11 additions and 0 deletions

View File

@ -4,6 +4,7 @@ PORTNAME= libhijack
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.0-2
DISTVERSIONSUFFIX= -g972534d
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= shawn.webb@hardenedbsd.org

View 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 \