summaryrefslogtreecommitdiff
path: root/devel/libetm/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libetm/patches/patch-aa')
-rw-r--r--devel/libetm/patches/patch-aa35
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/libetm/patches/patch-aa b/devel/libetm/patches/patch-aa
new file mode 100644
index 00000000000..18bc7a65537
--- /dev/null
+++ b/devel/libetm/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 12:02:56 agc Exp $
+
+--- Makefile.orig Thu Apr 10 13:15:36 1997
++++ Makefile Sun Apr 8 19:00:36 2001
+@@ -383,7 +383,8 @@
+ all:: etm.h.new
+ etm.h.new:: etm.h.dist
+ $(RM) $@
+- $(MSUB) etm.h.dist > $@
++ $(SED) <etm.h.dist > $@ 's/\$${ETMVOIDTYPE}/$(ETMVOIDTYPE)/'
++# $(MSUB) etm.h.dist > $@
+
+ clean::
+ $(RM) etm.h.new
+@@ -417,7 +418,8 @@
+ all:: etm.internal.h.new
+ etm.internal.h.new:: etm.internal.h.dist
+ $(RM) $@
+- $(MSUB) etm.internal.h.dist > $@
++ $(SED) <etm.internal.h.dist > $@ 's/\$${ABORTSIGNAL}/$(ABORTSIGNAL)/'
++# $(MSUB) etm.internal.h.dist > $@
+
+ clean::
+ $(RM) etm.internal.h.new
+@@ -540,8 +542,8 @@
+
+ # DO NOT DELETE
+
+-etm.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h /usr/include/signal.h
++etm.o: /usr/include/stdio.h /usr/include/signal.h
+ etm.o: /usr/include/sys/signal.h /usr/include/sys/types.h
+ etm.o: /usr/include/stdarg.h /usr/include/varargs.h etm.internal.h etm.h
+ etm.o: /usr/include/stdlib.h
+-etmtest.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h etm.h
++etmtest.o: /usr/include/stdio.h etm.h