summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-07-18 03:24:27 +0000
committerkris <kris@FreeBSD.org>2003-07-18 03:24:27 +0000
commit0a55eb74d93c1038adf8e82ec7ed5c6440f36fa5 (patch)
tree38c96b1714074cd4158888c4f80122766ed49e67 /audio
parentf598f92463a34c08604dd4d4dba8e5257a5c6646 (diff)
downloadFreeBSD-ports-0a55eb74d93c1038adf8e82ec7ed5c6440f36fa5.zip
FreeBSD-ports-0a55eb74d93c1038adf8e82ec7ed5c6440f36fa5.tar.gz
Fix build with gcc 3.3
Diffstat (limited to 'audio')
-rw-r--r--audio/napster/files/patch-src::nap.c38
-rw-r--r--audio/napster/files/patch-src::title.h29
2 files changed, 67 insertions, 0 deletions
diff --git a/audio/napster/files/patch-src::nap.c b/audio/napster/files/patch-src::nap.c
new file mode 100644
index 0000000..1ea6aa3
--- /dev/null
+++ b/audio/napster/files/patch-src::nap.c
@@ -0,0 +1,38 @@
+--- src/nap.c.orig Thu Jul 17 20:21:08 2003
++++ src/nap.c Thu Jul 17 20:22:02 2003
+@@ -542,21 +542,20 @@
+
+ if (!getval("connection")) {
+ if (!info.daemon) {
+- wp(NULL, "
+- Connection | Number
+- -------------------
+- Unknown | 0
+- 14.4 | 1
+- 28.8 | 2
+- 33.6 | 3
+- 56.7 | 4
+- 64K ISDN | 5
+- 128K ISDN | 6
+- Cable | 7
+- DSL | 8
+- T1 | 9
+- T3 or > | 10
+-\n");
++ wp(NULL, "\
++ Connection | Number\n\
++ -------------------\n\
++ Unknown | 0\n\
++ 14.4 | 1\n\
++ 28.8 | 2\n\
++ 33.6 | 3\n\
++ 56.7 | 4\n\
++ 64K ISDN | 5\n\
++ 128K ISDN | 6\n\
++ Cable | 7\n\
++ DSL | 8\n\
++ T1 | 9\n\
++ T3 or > | 10\n");
+ wp(NULL, "How fast is your internet connection?\n");
+ wp(NULL, "Please choose 0--10 from the chart: [4] ");
+ ans = nap_getline(stdin);
diff --git a/audio/napster/files/patch-src::title.h b/audio/napster/files/patch-src::title.h
new file mode 100644
index 0000000..23a74dc
--- /dev/null
+++ b/audio/napster/files/patch-src::title.h
@@ -0,0 +1,29 @@
+--- src/title.h.orig Thu Jul 17 20:20:00 2003
++++ src/title.h Thu Jul 17 20:20:35 2003
+@@ -4,15 +4,15 @@
+ */
+
+ char title[] =
+-" _.-------._
+- |\\ /|
+- /| \\_.----._/ |\\ __
+- .$: :$. _____ ____ _____ _____ / /__ ___ ____
+- |$$: ___ ___ :$$| / __ // _ `// _ // ___// __// _ \\ / ___/
+- \"$: \\___\\/___/ :$\" / / / // /_/ // /_/ /(__ )/ /_ / __// /
+- | __ | /_/ /_/ \\__,_// ____//_____/ \\___/ \\___//_/mG!
+- `. \\/ .' /_/
+- `. .__, .'
+- `----'
+-
++" _.-------._\n\
++ |\\ /|\n\
++ /| \\_.----._/ |\\ __\n\
++ .$: :$. _____ ____ _____ _____ / /__ ___ ____\n\
++ |$$: ___ ___ :$$| / __ // _ `// _ // ___// __// _ \\ / ___/\n\
++ \"$: \\___\\/___/ :$\" / / / // /_/ // /_/ /(__ )/ /_ / __// /\n\
++ | __ | /_/ /_/ \\__,_// ____//_____/ \\___/ \\___//_/mG!\n\
++ `. \\/ .' /_/\n\
++ `. .__, .'\n\
++ `----'\n\
++\n\
+ ";
OpenPOWER on IntegriCloud