summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-08-18 18:17:36 +0200
committerSam James <sam@gentoo.org>2020-09-17 20:35:08 +0000
commitae7177032a6ae2e40d4d70d6d74beac411165732 (patch)
tree0142d2a448a58fa55826485e1b0b60f35a53a039 /net-misc/ncp/files
parentx11-drivers/nvidia-drivers: Drop obsolete file (diff)
downloadgentoo-ae7177032a6ae2e40d4d70d6d74beac411165732.tar.gz
gentoo-ae7177032a6ae2e40d4d70d6d74beac411165732.tar.bz2
gentoo-ae7177032a6ae2e40d4d70d6d74beac411165732.zip
net-misc/ncp: remove diet use flag, fix bug #737254
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://bugs.gentoo.org/737254 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ncp/files')
-rw-r--r--net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch b/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch
new file mode 100644
index 000000000000..54608a665417
--- /dev/null
+++ b/net-misc/ncp/files/ncp-1.2.4-fix-makefile.patch
@@ -0,0 +1,16 @@
+Never strip executable
+
+Patch by Michael Mair-Keimberger
+
+--- ncp-1.2.4/GNUmakefile 2005-05-13 19:17:17.000000000 +0200
++++ ncp-1.2.4-ng/GNUmakefile 2020-09-04 20:08:50.399902892 +0200
+@@ -53,9 +53,6 @@
+
+ ncp: ncp.o libsocket
+ $(CC) $< -o $@ -I. $(CFLAGS) $(LDFLAGS) $(LDLIBS) `cat libsocket`
+-ifeq ($(DEBUG),)
+- strip -R .note -R .comment ncp || strip ncp
+-endif
+
+ install:
+ install -d $(PREFIX)/bin $(PREFIX)/man/man1