pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mDNSResponder Fix RELRO build
details: https://anonhg.NetBSD.org/pkgsrc/rev/e43a8ca19cdf
branches: trunk
changeset: 375515:e43a8ca19cdf
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Tue Feb 13 13:49:44 2018 +0000
description:
Fix RELRO build
diffstat:
net/mDNSResponder/distinfo | 4 ++--
net/mDNSResponder/patches/patch-aa | 14 +++++++++-----
2 files changed, 11 insertions(+), 7 deletions(-)
diffs (54 lines):
diff -r 41897fc8b933 -r e43a8ca19cdf net/mDNSResponder/distinfo
--- a/net/mDNSResponder/distinfo Tue Feb 13 13:32:32 2018 +0000
+++ b/net/mDNSResponder/distinfo Tue Feb 13 13:49:44 2018 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.36 2017/11/10 11:21:52 jperkin Exp $
+$NetBSD: distinfo,v 1.37 2018/02/13 13:49:44 ryoon Exp $
SHA1 (mDNSResponder-258.14.tar.gz) = 2a34794ff9a5184ce1e57ccea4001b5af6635f7b
RMD160 (mDNSResponder-258.14.tar.gz) = fbd9dcfa84dbeb9de379066958a0b509af074dbc
SHA512 (mDNSResponder-258.14.tar.gz) = 910962e965ae7d82203fda8a962f63ea59d5d28fb514d051364759c6c8b37402a6f0e4f8dafd922077ef25a5d0cc4f5ced8166913ca21cd9deca9c465dd7ea33
Size (mDNSResponder-258.14.tar.gz) = 1833244 bytes
SHA1 (patch-Clients_dns-sd.c) = 5adac63ba76497056c1abfd426460560b8a3f012
-SHA1 (patch-aa) = d6659292433dce614fe60cd4190445393d364801
+SHA1 (patch-aa) = 39aa4cec05844864ec6f8987a1026ecd050a9db6
SHA1 (patch-ab) = 473db16e4d454899c364fb2d9fa8d344d47ca008
SHA1 (patch-ac) = 9907f0e55d421fccd3d491d4f0d872f328198c19
SHA1 (patch-ad) = 2492a26a500ebef3902cbd19f0ab7bc9005588a1
diff -r 41897fc8b933 -r e43a8ca19cdf net/mDNSResponder/patches/patch-aa
--- a/net/mDNSResponder/patches/patch-aa Tue Feb 13 13:32:32 2018 +0000
+++ b/net/mDNSResponder/patches/patch-aa Tue Feb 13 13:49:44 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.14 2015/08/29 17:41:07 jperkin Exp $
+$NetBSD: patch-aa,v 1.15 2018/02/13 13:49:45 ryoon Exp $
Find libpthread.so when not on the default rpath.
Allow custom CC and CFLAGS.
@@ -8,19 +8,23 @@
--- mDNSPosix/Makefile.orig 2009-08-11 01:13:47.000000000 +0000
+++ mDNSPosix/Makefile
-@@ -54,7 +54,6 @@ COREDIR = ../mDNSCore
+@@ -54,17 +54,16 @@ COREDIR = ../mDNSCore
SHAREDDIR ?= ../mDNSShared
JDK = /usr/jdk
-CC = @cc
BISON = @bison
FLEX = @flex
- LD = ld -shared
-@@ -64,7 +63,7 @@ LN = ln -s -f
+-LD = ld -shared
++LD = cc -shared
+ CP = cp
+ RM = rm
+ LN = ln -s -f
CFLAGS_COMMON = -I$(COREDIR) -I$(SHAREDDIR) -I$(OBJDIR) -fwrapv -W -Wall -DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\"
CFLAGS_PTHREAD =
- LINKOPTS =
+-LINKOPTS =
-LINKOPTS_PTHREAD = -lpthread
++LINKOPTS = ${LDFLAGS}
+LINKOPTS_PTHREAD = $(LIBFLAGS) ${COMPILER_RPATH_FLAG}${PTHREADBASE}/lib ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} ${EXTRA_LIBS}
LDSUFFIX = so
JAVACFLAGS_OS = -fPIC -shared -ldns_sd
Home |
Main Index |
Thread Index |
Old Index