pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/unix2dos Pass LDFLAGS to fix RELRO build. B...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2374522ccc63
branches:  trunk
changeset: 459503:2374522ccc63
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Oct 08 11:55:42 2021 +0000

description:
Pass LDFLAGS to fix RELRO build. Bump PKGREVISION

diffstat:

 converters/unix2dos/Makefile               |   3 ++-
 converters/unix2dos/distinfo               |   3 ++-
 converters/unix2dos/patches/patch-Makefile |  11 +++++++++++
 3 files changed, 15 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 2e67f6fe46a4 -r 2374522ccc63 converters/unix2dos/Makefile
--- a/converters/unix2dos/Makefile      Fri Oct 08 10:48:32 2021 +0000
+++ b/converters/unix2dos/Makefile      Fri Oct 08 11:55:42 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2021/04/21 08:47:44 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2021/10/08 11:55:42 abs Exp $
 
 DISTNAME=      unix2dos-1.3
+PKGREVISION=   1
 CATEGORIES=    converters
 MASTER_SITES=  # ftp://ftp.guug.org/pub/
 
diff -r 2e67f6fe46a4 -r 2374522ccc63 converters/unix2dos/distinfo
--- a/converters/unix2dos/distinfo      Fri Oct 08 10:48:32 2021 +0000
+++ b/converters/unix2dos/distinfo      Fri Oct 08 11:55:42 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/07 13:29:11 nia Exp $
+$NetBSD: distinfo,v 1.7 2021/10/08 11:55:42 abs Exp $
 
 RMD160 (unix2dos-1.3.tar.gz) = c59619a164d02053347148b77797334c7722526d
 SHA512 (unix2dos-1.3.tar.gz) = 4de17d5d99cb3972a354a629dafe52c3c353dec10e8d65e2fc1ce5cb45c67df69eec2bc692514119527c396bff3bd28ae34ef1b49f772cc9bd20ecaa27d3b071
 Size (unix2dos-1.3.tar.gz) = 2233 bytes
+SHA1 (patch-Makefile) = 5ad5a55bbde9d4ae957d2ad87622044f9ff85b58
diff -r 2e67f6fe46a4 -r 2374522ccc63 converters/unix2dos/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/unix2dos/patches/patch-Makefile        Fri Oct 08 11:55:42 2021 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-Makefile,v 1.1 2021/10/08 11:55:42 abs Exp $
+
+Ensure LDFLAGS are passed to allow RELRO builds to work
+
+--- Makefile.orig      2001-05-22 23:51:48.000000000 +0000
++++ Makefile
+@@ -1,3 +1,3 @@
+ all:
+-      ${CC} ${CFLAGS} -o unix2dos unix2dos.c
++      ${CC} ${CFLAGS} ${LDFLAGS} -o unix2dos unix2dos.c
+       ln -f unix2dos dos2unix



Home | Main Index | Thread Index | Old Index