summaryrefslogtreecommitdiff
path: root/mail/mopher/patches
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mopher/patches')
-rw-r--r--mail/mopher/patches/patch-configure17
-rw-r--r--mail/mopher/patches/patch-src_Makefile.in14
2 files changed, 31 insertions, 0 deletions
diff --git a/mail/mopher/patches/patch-configure b/mail/mopher/patches/patch-configure
new file mode 100644
index 00000000000..3fbd26fb640
--- /dev/null
+++ b/mail/mopher/patches/patch-configure
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure,v 1.1 2015/09/26 23:29:13 gdt Exp $
+
+Use of objcopy may be patched away, discussed with upstream.
+
+--- configure.orig 2015-02-26 16:52:11.000000000 +0000
++++ configure
+@@ -3184,10 +3184,6 @@ $as_echo "no" >&6; }
+ fi
+
+
+-if test -z "$OBJCOPY"
+-then
+- as_fn_error $? "objcopy not found. Make sure you have GNU binutils installed." "$LINENO" 5
+-fi
+
+ # check for install
+ # Extract the first word of "install", so it can be a program name with args.
diff --git a/mail/mopher/patches/patch-src_Makefile.in b/mail/mopher/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..91a9d5b6fdf
--- /dev/null
+++ b/mail/mopher/patches/patch-src_Makefile.in
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2015/09/26 23:29:13 gdt Exp $
+
+Use of objcopy may be patched away, discussed with upstream.
+
+--- src/Makefile.in.orig 2015-02-26 16:38:41.000000000 +0000
++++ src/Makefile.in
+@@ -93,6 +93,4 @@ $(OUT_D): $(OUT_C)
+ .c.o:
+ @CC@ -c $(CFLAGS) $(CFLAGS.$@) $< -o $@
+ .conf.o:
+- @LD@ -r -b binary -o $@ $> $^
+- @OBJCOPY@ --rename-section \
+- .data=.rodata,alloc,load,readonly,data,contents $@ $@
++ @LD@ -r -b binary -o $@ $<