summaryrefslogtreecommitdiff
path: root/audio/csound/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-01-21 11:30:03 +0000
committerwiz <wiz@pkgsrc.org>2002-01-21 11:30:03 +0000
commitd1d64a52773d2582f487412c64d6ffda8590a5a2 (patch)
treec634d070db9de16480306c6767061c57487859d8 /audio/csound/patches
parent99360078e8ca9f1ffc0e84ada65a96d57116aa37 (diff)
downloadpkgsrc-d1d64a52773d2582f487412c64d6ffda8590a5a2.tar.gz
Make it compile (again?) on -current; perhaps also fixes alpha
bulk build failure.
Diffstat (limited to 'audio/csound/patches')
-rw-r--r--audio/csound/patches/patch-ab90
-rw-r--r--audio/csound/patches/patch-ap13
-rw-r--r--audio/csound/patches/patch-aq14
-rw-r--r--audio/csound/patches/patch-ar13
-rw-r--r--audio/csound/patches/patch-as22
5 files changed, 149 insertions, 3 deletions
diff --git a/audio/csound/patches/patch-ab b/audio/csound/patches/patch-ab
index d1249836071..94d093d0a34 100644
--- a/audio/csound/patches/patch-ab
+++ b/audio/csound/patches/patch-ab
@@ -1,8 +1,31 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/03/13 13:18:24 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2002/01/21 11:30:03 wiz Exp $
--- Make.Targets.orig Wed Oct 11 16:33:34 2000
+++ Make.Targets
-@@ -67,7 +67,7 @@
+@@ -48,26 +48,26 @@
+ anals: $(ANALS)
+
+ $(ANALS): $(CSLIB)
+- $(MAKE) -C $@ -$(MAKEFLAGS)
++ $(MAKE) -C $@ $(MAKEFLAGS)
+
+ utils1: $(UTIL1)
+
+ $(UTIL1): $(CSLIB)
+- $(MAKE) -C $@ -$(MAKEFLAGS)
++ $(MAKE) -C $@ $(MAKEFLAGS)
+
+ utils2: $(UTIL2)
+
+ $(UTIL2): $(CSLIB)
+- $(MAKE) -C $@ -$(MAKEFLAGS)
++ $(MAKE) -C $@ $(MAKEFLAGS)
+
+ $(STRINGSDB):
+- $(MAKE) -C locale -$(MAKEFLAGS)
++ $(MAKE) -C locale $(MAKEFLAGS)
+
+ install: install-$(CSLIB) install-progs install-headers install-shares
install-progs: $(PROGS)
if [ ! -d $(DEST) ]; then $(INSTALL) -d -m 755 $(DEST); fi
@@ -11,7 +34,14 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/03/13 13:18:24 wiz Exp $
$(CSOUND_PROG) $(DEST)
if [ -n "$(OTHER_PROGS)" ]; \
then \
-@@ -84,8 +84,8 @@
+@@ -78,14 +78,14 @@
+ fi
+ for i in $(SUBDIRS);\
+ do \
+- $(MAKE) -C $$i -$(MAKEFLAGS) install; \
++ $(MAKE) -C $$i $(MAKEFLAGS) install; \
+ done
+
install-$(CSADYNSO): $(CSADYNSO)
if [ ! -d $(LIB) ]; then $(INSTALL) -d -m 755 $(LIB); fi
$(INSTALL) -m 755 $(CSADYNSO) $(LIB)/$(CSADYNSO)
@@ -21,3 +51,57 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/03/13 13:18:24 wiz Exp $
install-$(CSASTAT): $(CSASTAT)
if [ ! -d $(LIB) ]; then $(INSTALL) -d -m 755 $(LIB); fi
+@@ -99,7 +99,7 @@
+ done
+
+ install-shares:
+- $(MAKE) -C locale -$(MAKEFLAGS) install
++ $(MAKE) -C locale $(MAKEFLAGS) install
+
+ bin-distrib: $(LINUX_BINDISTRIB).gz
+
+@@ -109,7 +109,7 @@
+ tar cf $@ $(CSLIB) $(PROGS) $(DOC_FILES)
+ for i in $(SUBDIRS); \
+ do \
+- $(MAKE) -C $$i -$(MAKEFLAGS) $@; \
++ $(MAKE) -C $$i $(MAKEFLAGS) $@; \
+ done
+
+
+@@ -125,7 +125,7 @@
+ for i in $(SRCDISTRIB_DIRS); \
+ do \
+ $(INSTALL) -d -m 755 $(LINUX_SRCDISTRIBDIR)/$$i; \
+- $(MAKE) -C $$i -$(MAKEFLAGS) $@; \
++ $(MAKE) -C $$i $(MAKEFLAGS) $@; \
+ done
+ for i in $(SRCDISTRIB_FILES); \
+ do \
+@@ -141,7 +141,7 @@
+ clean-subdirs:
+ for i in $(SUBDIRS); \
+ do \
+- $(MAKE) -$(MAKEFLAGS) -C $$i $(PASSED_FLAGS) clean; \
++ $(MAKE) $(MAKEFLAGS) -C $$i $(PASSED_FLAGS) clean; \
+ done
+
+ clean: clean-subdirs
+@@ -154,7 +154,7 @@
+ realclean-subdirs:
+ for i in $(SUBDIRS); \
+ do \
+- $(MAKE) -$(MAKEFLAGS) -C $$i $(PASSED_FLAGS) realclean; \
++ $(MAKE) $(MAKEFLAGS) -C $$i $(PASSED_FLAGS) realclean; \
+ done
+
+ realclean: clean realclean-subdirs
+@@ -164,7 +164,7 @@
+
+ depend:
+ $(RM) $(CDEP)
+- $(MAKE) -$(MAKEFLAGS) $(CDEP)
++ $(MAKE) $(MAKEFLAGS) $(CDEP)
+
+ $(CDEP):
+ @echo "Building dependencies (this may take some time)..."
diff --git a/audio/csound/patches/patch-ap b/audio/csound/patches/patch-ap
new file mode 100644
index 00000000000..94234b8f560
--- /dev/null
+++ b/audio/csound/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1 2002/01/21 11:30:04 wiz Exp $
+
+--- sread.c.orig Thu Apr 5 18:58:53 2001
++++ sread.c
+@@ -1055,7 +1055,7 @@
+ * On Alpha we need to round up to 8 bytes (64 bits).
+ * heh 981101
+ */
+- bp = (SRTBLK *) ((((LONG) nxp) + 7) & ~0x7);
++ bp = (SRTBLK *) ((((long) nxp) + 7) & ~0x7);
+ #else
+ bp = (SRTBLK *) ((((long) nxp) + 3) & -4);
+ #endif
diff --git a/audio/csound/patches/patch-aq b/audio/csound/patches/patch-aq
new file mode 100644
index 00000000000..0bd9e94bf5a
--- /dev/null
+++ b/audio/csound/patches/patch-aq
@@ -0,0 +1,14 @@
+$NetBSD: patch-aq,v 1.1 2002/01/21 11:30:04 wiz Exp $
+
+--- cs.h.orig Mon Feb 22 18:20:17 1999
++++ cs.h
+@@ -86,9 +86,7 @@
+ int ringbell, termifend, stdoutfd;
+ int rewrt_hdr, heartbeat, gen01defer;
+ int scheduler_priority; /* emng@geocities.com 12/05/98 */
+-#ifdef LINUX
+ int Volume; /* Jonathan Mohr 1995 Oct 17 */
+-#endif
+ long sr_override, kr_override;
+ long instxtcount, optxtsize;
+ long poolcount, gblfixed, gblacount;
diff --git a/audio/csound/patches/patch-ar b/audio/csound/patches/patch-ar
new file mode 100644
index 00000000000..52d2de8d3ff
--- /dev/null
+++ b/audio/csound/patches/patch-ar
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.1 2002/01/21 11:30:04 wiz Exp $
+
+--- new-src/maldonado/OpcLoad.c.orig Thu Sep 21 21:56:03 2000
++++ new-src/maldonado/OpcLoad.c
+@@ -8,7 +8,7 @@
+ # include <direct.h>
+ # include <windows.h>
+ #endif /* defined(WIN32) */
+-#if defined(LINUX)
++#if defined(LINUX) || defined(__NetBSD__)
+ # include <limits.h>
+ # define MAX_PATH PATH_MAX
+ # define _MAX_PATH PATH_MAX
diff --git a/audio/csound/patches/patch-as b/audio/csound/patches/patch-as
new file mode 100644
index 00000000000..5255a9eea60
--- /dev/null
+++ b/audio/csound/patches/patch-as
@@ -0,0 +1,22 @@
+$NetBSD: patch-as,v 1.1 2002/01/21 11:30:04 wiz Exp $
+
+--- main.c.orig Thu Apr 5 18:58:52 2001
++++ main.c
+@@ -52,7 +52,7 @@
+ int peakchunks = 1; /* Ditto */
+ long opcodeCount = 0; /* needed by dyn linking */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(__NetBSD__)
+ int midi_out;
+ extern void openMIDIout(void);
+ #endif
+@@ -74,7 +74,7 @@
+
+ #include <signal.h>
+
+-#if !defined(LINUX) && !defined(SGI) && !defined(__BEOS__)
++#if !defined(LINUX) && !defined(SGI) && !defined(__BEOS__) && !defined(__NetBSD__)
+ static char *signal_to_string(int sig)
+ {
+ switch(sig) {