aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/safecat
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2017-11-24 06:34:23 +0800
committeremaste <emaste@FreeBSD.org>2017-11-24 06:34:23 +0800
commit1f18a0fa4b361dcaa1107852c2333e2276f7e556 (patch)
treedcb1af4f6c7bf999b36d2a996dc65e09ae94f0b8 /sysutils/safecat
parent26d0a7766eedfc42752682ac0dd2f978b7647b85 (diff)
downloadfreebsd-ports-gnome-1f18a0fa4b361dcaa1107852c2333e2276f7e556.tar.gz
freebsd-ports-gnome-1f18a0fa4b361dcaa1107852c2333e2276f7e556.tar.zst
freebsd-ports-gnome-1f18a0fa4b361dcaa1107852c2333e2276f7e556.zip
sysutils/safecat: fix linking with GNU ld
r454582 fixed linking sysutils/safecat with lld but broke linking with GNU ld. PR: 223832 Approved by: antoine
Diffstat (limited to 'sysutils/safecat')
-rw-r--r--sysutils/safecat/files/patch-Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/safecat/files/patch-Makefile b/sysutils/safecat/files/patch-Makefile
index 2aaaf3140b96..0982b15f3797 100644
--- a/sysutils/safecat/files/patch-Makefile
+++ b/sysutils/safecat/files/patch-Makefile
@@ -12,8 +12,8 @@
As these symbols are provided by str.a just avoid listing the object
files as well.
---- Makefile.orig 2017-08-25 13:36:12.671931000 -0400
-+++ Makefile 2017-08-25 13:36:36.138079000 -0400
+--- Makefile.orig 2004-08-16 20:50:09.000000000 -0400
++++ Makefile 2017-11-23 16:49:00.505811000 -0500
@@ -219,14 +219,14 @@
safecat: \
@@ -24,8 +24,9 @@
+hostname.o sig.o stat_dir.o str_diffn.o substdio_copy.o \
substdi.o substdio.o taia_fmtfrac.o taia_now.o taia_tai.o tempfile.o \
writefile.o
- ./load safecat getln.a str.a stralloc.a strerr.a substdio.a \
+- ./load safecat getln.a str.a stralloc.a strerr.a substdio.a \
- alloc.o alloc_re.o byte_copy.o byte_cr.o envread.o error.o \
++ ./load safecat getln.a stralloc.a strerr.a substdio.a str.a \
+ alloc.o alloc_re.o byte_cr.o envread.o error.o \
error_str.o fmt_uint64.o hostname.o sig.o stat_dir.o str_diffn.o \
- str_len.o substdi.o substdio.o substdio_copy.o taia_fmtfrac.o \