summaryrefslogtreecommitdiff
path: root/sysutils/gcdmaster/patches
diff options
context:
space:
mode:
authordrochner <drochner>2001-05-19 13:02:23 +0000
committerdrochner <drochner>2001-05-19 13:02:23 +0000
commite242e3476ef315264517505ae6406f26b33d940b (patch)
tree61245dbe7c2566ce1e1cd75c5bbbf4a2587647bf /sysutils/gcdmaster/patches
parente730ec177f24d4320945b2ba1ac6d86144437fbc (diff)
downloadpkgsrc-e242e3476ef315264517505ae6406f26b33d940b.tar.gz
initial import of gcdmaster-1.1.5:
graphical frontend for cdrdao-1.1.5 with some editing capability
Diffstat (limited to 'sysutils/gcdmaster/patches')
-rw-r--r--sysutils/gcdmaster/patches/patch-ab18
-rw-r--r--sysutils/gcdmaster/patches/patch-ac20
-rw-r--r--sysutils/gcdmaster/patches/patch-ad15
-rw-r--r--sysutils/gcdmaster/patches/patch-ae13
-rw-r--r--sysutils/gcdmaster/patches/patch-af24
-rw-r--r--sysutils/gcdmaster/patches/patch-ag13
6 files changed, 103 insertions, 0 deletions
diff --git a/sysutils/gcdmaster/patches/patch-ab b/sysutils/gcdmaster/patches/patch-ab
new file mode 100644
index 00000000000..485c964d209
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+have a default scsi device which is likely to be correct (at least
+on single CD systems).
+
+--- dao/main.cc.orig Tue Oct 26 12:13:46 1999
++++ dao/main.cc Fri Jul 7 12:20:08 2000
+@@ -157,5 +157,9 @@
+ #else
+
+-static const char *SCSI_DEVICE = "0,0,0";
++#if defined (__i386__)
++static const char *SCSI_DEVICE = "/dev/rcd0d";
++#else
++static const char *SCSI_DEVICE = "/dev/rcd0c";
++#endif /* __i386__ */
+ static int FIFO_BUFFERS = 32;
+
diff --git a/sysutils/gcdmaster/patches/patch-ac b/sysutils/gcdmaster/patches/patch-ac
new file mode 100644
index 00000000000..b14b4e5f06e
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- scsilib/include/btorder.h.orig Sun Apr 29 11:28:21 2001
++++ scsilib/include/btorder.h Fri May 18 19:04:13 2001
+@@ -54,6 +54,15 @@
+ /*
+ * Bitorder is already known.
+ */
++
++#elif defined(__NetBSD__)
++#include <machine/endian.h>
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define _BIT_FIELDS_LTOH
++#else
++#define _BIT_FIELDS_HTOL
++#endif /* BYTE_ORDER == LITTLE_ENDIAN */
++
+ #else
+ /*
+ * Bitorder not yet known.
diff --git a/sysutils/gcdmaster/patches/patch-ad b/sysutils/gcdmaster/patches/patch-ad
new file mode 100644
index 00000000000..a612f5f931d
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- Makefile.in.orig Sun Apr 29 15:42:08 2001
++++ Makefile.in Sat May 19 13:48:00 2001
+@@ -41,8 +41,8 @@
+ #
+ #
+ #
+-SUBDIRS = @scsilib_dir@ edc_ecc trackdb paranoia dao utils @xdao@
+-SUBDIRSINST = trackdb dao utils @xdao@
++SUBDIRS = @scsilib_dir@ edc_ecc trackdb paranoia dao @xdao@
++SUBDIRSINST = @xdao@
+
+ all:
+ for d in $(SUBDIRS) ; do \
diff --git a/sysutils/gcdmaster/patches/patch-ae b/sysutils/gcdmaster/patches/patch-ae
new file mode 100644
index 00000000000..b148f837795
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- xdao/Makefile.in.orig Sat May 19 13:04:18 2001
++++ xdao/Makefile.in Sat May 19 13:04:58 2001
+@@ -57,7 +57,7 @@
+ RecordHDTarget.cc AudioCDView.cc TocEditView.cc GenericChild.cc \
+ GenericView.cc CdTextDialog.cc \
+ gcdmaster.cc Project.cc ProjectChooser.cc ViewSwitcher.cc \
+- @sound_if_src@
++ SoundIF-linux.cc
+
+ OBJ = $(SRC:%.cc=%.o)
+
diff --git a/sysutils/gcdmaster/patches/patch-af b/sysutils/gcdmaster/patches/patch-af
new file mode 100644
index 00000000000..475fb17d7a8
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-af
@@ -0,0 +1,24 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- xdao/SoundIF-linux.cc.orig Sat May 19 00:12:28 2001
++++ xdao/SoundIF-linux.cc Sat May 19 00:16:47 2001
+@@ -34,7 +34,7 @@
+ *
+ */
+
+-#include <linux/soundcard.h>
++#include <soundcard.h>
+
+ #include <stdio.h>
+ #include <assert.h>
+@@ -167,8 +167,8 @@
+ if (dspFd_ >= 0)
+ return 0; // already open
+
+- if ((dspFd_ = open("/dev/dsp", O_WRONLY | O_NONBLOCK)) < 0) {
+- message(-1, "Cannot open \"/dev/dsp\": %s", strerror(errno));
++ if ((dspFd_ = open("/dev/sound", O_WRONLY | O_NONBLOCK)) < 0) {
++ message(-1, "Cannot open \"/dev/sound\": %s", strerror(errno));
+ return 1;
+ }
+
diff --git a/sysutils/gcdmaster/patches/patch-ag b/sysutils/gcdmaster/patches/patch-ag
new file mode 100644
index 00000000000..50d0a8f30ea
--- /dev/null
+++ b/sysutils/gcdmaster/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $
+
+--- dao/Makefile.in.orig Sat May 19 14:32:30 2001
++++ dao/Makefile.in Sat May 19 14:34:00 2001
+@@ -16,7 +16,7 @@
+ # Installation directories for binaries and manual pages
+ #
+ bindir = @bindir@
+-datadir = @datadir@
++datadir = ${LOCALBASE}/share
+ mandir = @mandir@
+ man1dir = $(mandir)/man1
+ #