summaryrefslogtreecommitdiff
path: root/audio/xmcd/patches
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>1998-11-05 06:26:08 +0000
committermycroft <mycroft@pkgsrc.org>1998-11-05 06:26:08 +0000
commit50007f4fa24e3bfb3d31fc759d9df3389733a98d (patch)
treecb2e7bf0fcc3c319823b07b1b7fb3c72111fb3ec /audio/xmcd/patches
parent8e318baa36dd27187a50cfac58d08f6cd20afe82 (diff)
downloadpkgsrc-50007f4fa24e3bfb3d31fc759d9df3389733a98d.tar.gz
2.4
Diffstat (limited to 'audio/xmcd/patches')
-rw-r--r--audio/xmcd/patches/patch-aa88
-rw-r--r--audio/xmcd/patches/patch-ab201
-rw-r--r--audio/xmcd/patches/patch-ac33
3 files changed, 79 insertions, 243 deletions
diff --git a/audio/xmcd/patches/patch-aa b/audio/xmcd/patches/patch-aa
index 222e592a182..286da0ca9dc 100644
--- a/audio/xmcd/patches/patch-aa
+++ b/audio/xmcd/patches/patch-aa
@@ -1,77 +1,11 @@
-$NetBSD: patch-aa,v 1.3 1998/08/07 10:36:20 agc Exp $
-
-*** ./xmcd_d/Imakefile.orig Thu Apr 4 21:42:31 1996
---- ./xmcd_d/Imakefile Thu Apr 4 23:31:17 1996
-***************
-*** 43,49 ****
- * #include "Motif.tmpl"
- * #include "Motif.rules"
- */
-! LOCAL_LIBRARIES= XmClientLibs
-
-
- /**** Optional defines: Change as you see fit. *****************************
---- 43,49 ----
- * #include "Motif.tmpl"
- * #include "Motif.rules"
- */
-! LOCAL_LIBRARIES= ${MOTIFLIB} XawClientLibs
-
-
- /**** Optional defines: Change as you see fit. *****************************
-***************
-*** 67,78 ****
- DEFINES=
- #endif
-
-
- /*
- * Add local include path
- */
- INCLUDES=-I..
--
-
- /*
- * C Source files
---- 67,78 ----
- DEFINES=
- #endif
-
-+ MANSUFFIX = 1
-
- /*
- * Add local include path
- */
- INCLUDES=-I..
-
- /*
- * C Source files
-*** cda_d/Imakefile.orig Tue Aug 12 19:13:31 1997
---- cda_d/Imakefile Sun Sep 7 15:34:34 1997
-***************
-*** 95,101 ****
- #if defined(__QNX__)
- LOCAL_LIBRARIES=-lncurses
- #else
-! LOCAL_LIBRARIES=-lcurses
- #endif /* __QNX__ */
- #endif /* SINIX */
- #endif /* ultrix */
---- 95,101 ----
- #if defined(__QNX__)
- LOCAL_LIBRARIES=-lncurses
- #else
-! LOCAL_LIBRARIES=-lcurses -lmytinfo
- #endif /* __QNX__ */
- #endif /* SINIX */
- #endif /* ultrix */
-***************
-*** 104,109 ****
---- 104,110 ----
- #endif /* LinuxArchitecture */
- #endif /* SunArchitecture */
-
-+ MANSUFFIX = 1
-
- /*
- * C Source files
+--- xmcd_d/Imakefile.orig Wed Oct 28 03:03:18 1998
++++ xmcd_d/Imakefile Wed Nov 4 22:07:57 1998
+@@ -43,7 +43,7 @@
+ * #include "Motif.tmpl"
+ * #include "Motif.rules"
+ */
+-LOCAL_LIBRARIES= XmClientLibs
++LOCAL_LIBRARIES= ${MOTIFLIB} XawClientLibs
+
+ #if defined(FreeBSDArchitecture)
+ .if exists(/usr/include/camlib.h)
diff --git a/audio/xmcd/patches/patch-ab b/audio/xmcd/patches/patch-ab
index 026fa1b0a78..1fbdb71b3b5 100644
--- a/audio/xmcd/patches/patch-ab
+++ b/audio/xmcd/patches/patch-ab
@@ -1,140 +1,61 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 10:36:21 agc Exp $
-
-*** install.sh.orig Tue Aug 12 19:12:27 1997
---- install.sh Sun Sep 7 16:23:43 1997
-***************
-*** 48,53 ****
---- 48,56 ----
- ERRFILE=/tmp/xmcd.err
- TMPFILE=/tmp/xmcdinst.$$
-
-+ # Flag for indicating we do not want to prompt the user if possible.
-+ NO_PROMPT=1
-+
- #
- # Utility functions
- #
-***************
-*** 586,592 ****
-
- while :
- do
-! if getstr "\nEnter X binary directory\n[${BINDIR}]:"
- then
- if [ -d "$ANS" ]
- then
---- 589,599 ----
-
- while :
- do
-! if [ -n "$NO_PROMPT" ]
-! then
-! $ECHO "X binary directory - using ${BINDIR}"
-! break
-! elif getstr "\nEnter X binary directory\n[${BINDIR}]:"
- then
- if [ -d "$ANS" ]
- then
-***************
-*** 634,640 ****
-
- while :
- do
-! if getstr "\nEnter X library directory\n[${LIBDIR}]:"
- then
- if [ -d "$ANS" ]
- then
---- 641,651 ----
-
- while :
- do
-! if [ -n "$NO_PROMPT" ]
-! then
-! $ECHO "X library directory - using ${LIBDIR}"
-! break
-! elif getstr "\nEnter X library directory\n[${LIBDIR}]:"
- then
- if [ -d "$ANS" ]
- then
-***************
-*** 657,663 ****
- APPDEFAULTSDIR=$LIBDIR/app-defaults
- while :
- do
-! if getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:"
- then
- if [ -d "$ANS" ]
- then
---- 668,678 ----
- APPDEFAULTSDIR=$LIBDIR/app-defaults
- while :
- do
-! if [ -n "$NO_PROMPT" ]
-! then
-! $ECHO "X app-defaults directory - using ${LIBDIR}"
-! break
-! elif getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:"
- then
- if [ -d "$ANS" ]
- then
-***************
-*** 680,686 ****
- XMCDLIB=$LIBDIR/xmcd
- while :
- do
-! if getstr "\nEnter xmcd library directory\n[${XMCDLIB}]:"
- then
- if [ -d "$ANS" ]
- then
---- 695,705 ----
- XMCDLIB=$LIBDIR/xmcd
- while :
- do
-! if [ -n "$NO_PROMPT" ]
-! then
-! $ECHO "xmcd library directory - using ${XMCDLIB}"
-! break
-! elif getstr "\nEnter xmcd library directory\n[${XMCDLIB}]:"
- then
- if [ -d "$ANS" ]
- then
-***************
-*** 733,739 ****
- $ECHO "\n\nThe on-line manual directory is where the man pages in"
- $ECHO "in the xmcd package will be installed."
-
-! if getstr "\nEnter on-line manual directory\n[${MANDIR}]:"
- then
- MANDIR=$ANS
- fi
---- 752,761 ----
- $ECHO "\n\nThe on-line manual directory is where the man pages in"
- $ECHO "in the xmcd package will be installed."
-
-! if [ -n "$NO_PROMPT" ]
-! then
-! $ECHO "xmcd on-line manual directory - using ${MANDIR}"
-! elif getstr "\nEnter on-line manual directory\n[${MANDIR}]:"
- then
- MANDIR=$ANS
- fi
-***************
-*** 758,764 ****
- MANSUFFIX=1
- fi
-
-! if getstr "\nEnter on-line manual file name suffix\n[${MANSUFFIX}]:"
- then
- MANSUFFIX=$ANS
- fi
---- 780,789 ----
- MANSUFFIX=1
- fi
-
-! if [ -n "$NO_PROMPT" ]
-! then
-! $ECHO "xmcd on-line manual file name suffix - using ${MANSUFFIX}"
-! elif getstr "\nEnter on-line manual file name suffix\n[${MANSUFFIX}]:"
- then
- MANSUFFIX=$ANS
- fi
+--- cda_d/Imakefile.orig Wed Oct 28 03:03:25 1998
++++ cda_d/Imakefile Wed Nov 4 22:37:14 1998
+@@ -42,11 +42,11 @@
+ * One of these should be defined for tty mode control
+ */
+ #if defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture) || \
+- defined(OsfArchitecture) || \
++ defined(OsfArchitecture) || defined(NetBSDArchitecture) || \
+ (defined(SunArchitecture) && OSMajorVersion == 4)
+ DEFINES= -DBSDCOMPAT -DUSE_TERMIOS
+ #else
+-#if defined(NetBSDArchitecture) || defined(__bsdi__)
++#if defined(__bsdi__)
+ DEFINES= -DBSDCOMPAT -DNOVISUAL -DUSE_TERMIOS
+ #else
+ #if defined(sony_news)
+@@ -62,8 +62,8 @@
+ #endif /* XmacIIServer */
+ #endif /* BSD */
+ #endif /* sony_news */
+-#endif /* NetBSDArchitecture __bsdi__ */
+-#endif /* FreeBSD OpenBSD OsfArchitecture SunArchitecture */
++#endif /* __bsdi__ */
++#endif /* FreeBSD OpenBSD OsfArchitecture NetBSD SunArchitecture */
+
+
+ /*
+@@ -79,7 +79,7 @@
+ #endif /* LinuxArchitecture */
+ #endif /* SunArchitecture */
+
+-INCLUDES=-I..
++INCLUDES=-I.. -I${LOCALBASE}/include
+
+
+ /*
+@@ -97,7 +97,10 @@
+ LOCAL_LIBRARIES+= -lcam
+ .endif
+ #else
+-#if defined(NetBSDArchitecture) || defined(__bsdi__)
++#if defined(NetBSDArchitecture)
++LOCAL_LIBRARIES=-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lncurses
++#else
++#if defined(__bsdi__)
+ LOCAL_LIBRARIES=
+ #else
+ #if defined(OpenBSDArchitecture)
+@@ -117,9 +120,10 @@
+ #endif /* SINIX */
+ #endif /* ultrix */
+ #endif /* OpenBSDArchitecture */
+-#endif /* NetBSDArchitecture __bsdi__ */
++#endif /* __bsdi__ */
++#endif /* NetBSDArchitecture */
+ #endif /* FreeBSDArchitecture */
+-#endif /* LinuxArchitecture OpenBSDArchitecture */
++#endif /* LinuxArchitecture */
+ #endif /* SunArchitecture */
+
+
diff --git a/audio/xmcd/patches/patch-ac b/audio/xmcd/patches/patch-ac
index 1f2ecb5efb4..32c3142e097 100644
--- a/audio/xmcd/patches/patch-ac
+++ b/audio/xmcd/patches/patch-ac
@@ -1,29 +1,10 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 10:36:21 agc Exp $
-
---- util_d/Imakefile.orig Sat May 23 08:31:58 1998
-+++ util_d/Imakefile Tue Jun 2 23:19:11 1998
-@@ -34,8 +34,12 @@
- /*
- * Source files
- */
--SRCS= cddbcmd.c wm2xmcd.c
+--- Imakefile.orig Wed Oct 28 03:03:10 1998
++++ Imakefile Wed Nov 4 22:09:38 1998
+@@ -66,6 +66,6 @@
-+SRCS1= cddbcmd.c
-+OBJS1= cddbcmd.o
-+
-+SRCS2= wm2xmcd.c
-+OBJS2= wm2xmcd.o
+ install::
+ @BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) MANDIR=$(MANDIR) \
+- MANSUFFIX=$(MANSUFFIX) $(SHELL) ./install.sh -n
++ MANSUFFIX=$(MANSUFFIX) $(SHELL) ./install.sh -n -b
- /*
- * No X11 libraries needed for utilities in this directory
-@@ -47,8 +51,8 @@
- * Build rule
- */
- AllTarget(cddbcmd wm2xmcd)
--NormalProgramTarget(cddbcmd,cddbcmd.o,,,)
--NormalProgramTarget(wm2xmcd,wm2xmcd.o,,,)
-+ComplexProgramTarget_1(cddbcmd,,)
-+ComplexProgramTarget_2(wm2xmcd,,)
- DependTarget()
- LintTarget()