summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-12-23 01:59:54 +0000
committerJeroen Roovers <jer@gentoo.org>2013-12-23 01:59:54 +0000
commit53ea16ed610430c92c5b2331b188531adba00b51 (patch)
tree1f0ff220613d1b3f6e8b9d71110a20a980f2b7c5 /net-analyzer/netwatch/files/netwatch-1.3.0.1-append_ldflags.patch
parentRestore as needed for app-admin/chef (diff)
downloadhistorical-53ea16ed610430c92c5b2331b188531adba00b51.tar.gz
historical-53ea16ed610430c92c5b2331b188531adba00b51.tar.bz2
historical-53ea16ed610430c92c5b2331b188531adba00b51.zip
Add support for sys-libs/ncurses[tinfo]. Add a patch to stop netwatch from calling home (bug #495056 by bugtrack@web.de). Rename and clean up patches.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 RepoMan-Options: --force Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/netwatch/files/netwatch-1.3.0.1-append_ldflags.patch')
-rw-r--r--net-analyzer/netwatch/files/netwatch-1.3.0.1-append_ldflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/netwatch/files/netwatch-1.3.0.1-append_ldflags.patch b/net-analyzer/netwatch/files/netwatch-1.3.0.1-append_ldflags.patch
new file mode 100644
index 000000000000..c88d2a8ef309
--- /dev/null
+++ b/net-analyzer/netwatch/files/netwatch-1.3.0.1-append_ldflags.patch
@@ -0,0 +1,15 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -16,10 +16,10 @@ INSTALLDIR=$(bindir)
+ all: $(EXEC)
+
+ netresolv: netresolv.o netresolv.h
+- $(CC) -o netresolv $(XCFLAGS) netresolv.o
++ $(CC) -o netresolv $(XCFLAGS) $(XLDFLAGS) netresolv.o
+
+ netwatch: $(OBJECTS) $(DEFS)
+- $(CC) -DVERSION='$(CVERSION)' -DRELEASE='$(CRELEASE)' -o netwatch $(XCFLAGS) $(OBJECTS) $(XLIBS)
++ $(CC) -DVERSION='$(CVERSION)' -DRELEASE='$(CRELEASE)' -o netwatch $(XCFLAGS) $(XLDFLAGS) $(OBJECTS) $(XLIBS)
+
+ install: $(EXEC)
+ install --owner=root --group=root --mode=0755 -d $(INSTALLDIR)