aboutsummaryrefslogtreecommitdiff
path: root/audio/napster
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-07-18 03:24:27 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-07-18 03:24:27 +0000
commite61d85ee8b080eead6aca3a60c25b1ee94b32ad7 (patch)
treecea73f65d9b2db3c782ca56d8289d23899dfb228 /audio/napster
parent1ac09f9c094c4dc1b30bad9e32352440ad4a5a22 (diff)
downloadports-e61d85ee8b080eead6aca3a60c25b1ee94b32ad7.tar.gz
ports-e61d85ee8b080eead6aca3a60c25b1ee94b32ad7.zip
Fix build with gcc 3.3
Notes
Notes: svn path=/head/; revision=85088
Diffstat (limited to 'audio/napster')
-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 000000000000..1ea6aa3f07b6
--- /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 000000000000..23a74dcc8b86
--- /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\
+ ";