pkgsrc-WIP-changes archive

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

dcdis: Honor LDFLAGS for RELRO



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Sun Apr 12 21:41:30 2020 +0800
Changeset:	4c4c2f6a2f2ff90df76d8b383da761b4dc80c6e7

Modified Files:
	dcdis/distinfo
Added Files:
	dcdis/patches/patch-Makefile.in

Log Message:
dcdis: Honor LDFLAGS for RELRO

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4c4c2f6a2f2ff90df76d8b383da761b4dc80c6e7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dcdis/distinfo                  |  1 +
 dcdis/patches/patch-Makefile.in | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/dcdis/distinfo b/dcdis/distinfo
index 4875e8ea7f..d90dbe250b 100644
--- a/dcdis/distinfo
+++ b/dcdis/distinfo
@@ -4,3 +4,4 @@ SHA1 (dcdis-0.4a.tar.gz) = abfd4a69c65188ec2158ab310b6a1f7ea196466d
 RMD160 (dcdis-0.4a.tar.gz) = 944b461112bd54611121eb05909e7dd492b25544
 SHA512 (dcdis-0.4a.tar.gz) = 30ea31518efe36e3402f17733bf90f41d88d0033bc03a943c7f2219f115db2cfa1390142cc7e10b93a8b8766c8b809a7ae5cdc3abc23babaa650546f11d4068a
 Size (dcdis-0.4a.tar.gz) = 39537 bytes
+SHA1 (patch-Makefile.in) = 9bbcc88a874b834aecefb9571fe1a84857912c59
diff --git a/dcdis/patches/patch-Makefile.in b/dcdis/patches/patch-Makefile.in
new file mode 100644
index 0000000000..e550ad3b57
--- /dev/null
+++ b/dcdis/patches/patch-Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Honor LDFLAGS.
+
+--- Makefile.in.orig	2004-03-31 12:48:27.000000000 +0000
++++ Makefile.in
+@@ -23,7 +23,7 @@ OBJS = dcdis.o symtab.o decode.o 
+ all:: dcdis
+ 
+ dcdis:	$(OBJS)
+-	$(CC) $(CFLAGS) $(DEFS) -o dcdis $(OBJS) $(LIBS)
++	$(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -o dcdis $(OBJS) $(LIBS)
+ 	$(STRIP) dcdis
+ 
+ dcdis.o:	dcdis.c


Home | Main Index | Thread Index | Old Index