pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/jhead Honor LDFLAGS for RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/046cfa9d7c05
branches:  trunk
changeset: 365268:046cfa9d7c05
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 12 12:21:56 2017 +0000

description:
Honor LDFLAGS for RELRO build.

diffstat:

 graphics/jhead/distinfo               |   3 ++-
 graphics/jhead/patches/patch-makefile |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r bd18fc3b8112 -r 046cfa9d7c05 graphics/jhead/distinfo
--- a/graphics/jhead/distinfo   Wed Jul 12 12:20:28 2017 +0000
+++ b/graphics/jhead/distinfo   Wed Jul 12 12:21:56 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.19 2015/11/03 21:34:04 agc Exp $
+$NetBSD: distinfo,v 1.20 2017/07/12 12:21:56 wiz Exp $
 
 SHA1 (jhead-3.00.tar.gz) = 6bd3faa38cc884b5370e8e8f15bc10cbb706ec7a
 RMD160 (jhead-3.00.tar.gz) = 34bcaed29b3907edb16b5cc9099776ac5fc2c937
 SHA512 (jhead-3.00.tar.gz) = daedfe7ea6be051f769e9a1e0946ea0fa741f387bbc5ba55eec394fb3f37b18a66aa8826190c790eb50a5b9d445ee0d5a28a08d181db3be469686b0675540fbe
 Size (jhead-3.00.tar.gz) = 69151 bytes
+SHA1 (patch-makefile) = 63d91d3382ec61bc82a7492572c89439171f1c95
diff -r bd18fc3b8112 -r 046cfa9d7c05 graphics/jhead/patches/patch-makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jhead/patches/patch-makefile     Wed Jul 12 12:21:56 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-makefile,v 1.1 2017/07/12 12:21:56 wiz Exp $
+
+Honor LDFLAGS for RELRO builds.
+
+--- makefile.orig      2015-02-02 22:24:06.000000000 +0000
++++ makefile
+@@ -14,7 +14,7 @@ $(OBJ)/%.o:$(SRC)/%.c
+       ${CC} $(CFLAGS) -c $< -o $@
+ 
+ jhead: $(objs) jhead.h
+-      ${CC} -o jhead $(objs) -lm
++      ${CC} ${LDFLAGS} -o jhead $(objs) -lm
+ 
+ clean:
+       rm -f $(objs) jhead



Home | Main Index | Thread Index | Old Index