From a7ecbbc91018b09a55f40e80e75e81af616e8e59 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 29 Dec 2003 20:23:55 +0000 Subject: [PATCH] No multiline string constants. --- audio/nap/patches/patch-src_nap_c | 40 +++++++++++++++++++++++++++++ audio/nap/patches/patch-src_title_h | 31 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 audio/nap/patches/patch-src_nap_c create mode 100644 audio/nap/patches/patch-src_title_h diff --git a/audio/nap/patches/patch-src_nap_c b/audio/nap/patches/patch-src_nap_c new file mode 100644 index 00000000000..fc6e9c0e519 --- /dev/null +++ b/audio/nap/patches/patch-src_nap_c @@ -0,0 +1,40 @@ +$OpenBSD: patch-src_nap_c,v 1.1 2003/12/29 20:23:55 espie Exp $ +--- src/nap.c.orig 2003-12-29 20:34:48.000000000 +0100 ++++ src/nap.c 2003-12-29 20:35:21.000000000 +0100 +@@ -542,21 +542,21 @@ int set_defaults_interactive(char *fn) { + + 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, "\n" ++" 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" ++"\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/nap/patches/patch-src_title_h b/audio/nap/patches/patch-src_title_h new file mode 100644 index 00000000000..3ac2d3a3d4e --- /dev/null +++ b/audio/nap/patches/patch-src_title_h @@ -0,0 +1,31 @@ +$OpenBSD: patch-src_title_h,v 1.1 2003/12/29 20:23:55 espie Exp $ +--- src/title.h.orig 2003-12-29 19:26:12.000000000 +0100 ++++ src/title.h 2003-12-29 19:26:58.000000000 +0100 +@@ -4,15 +4,15 @@ + */ + + char title[] = +-" _.-------._ +- |\\ /| +- /| \\_.----._/ |\\ __ +- .$: :$. _____ ____ _____ _____ / /__ ___ ____ +- |$$: ___ ___ :$$| / __ // _ `// _ // ___// __// _ \\ / ___/ +- \"$: \\___\\/___/ :$\" / / / // /_/ // /_/ /(__ )/ /_ / __// / +- | __ | /_/ /_/ \\__,_// ____//_____/ \\___/ \\___//_/mG! +- `. \\/ .' /_/ +- `. .__, .' +- `----' +- +-"; ++" _.-------._\n" ++" |\\ /|\n" ++" /| \\_.----._/ |\\ __\n" ++" .$: :$. _____ ____ _____ _____ / /__ ___ ____\n" ++" |$$: ___ ___ :$$| / __ // _ `// _ // ___// __// _ \\ / ___/\n" ++" \"$: \\___\\/___/ :$\" / / / // /_/ // /_/ /(__ )/ /_ / __// /\n" ++" | __ | /_/ /_/ \\__,_// ____//_____/ \\___/ \\___//_/mG!\n" ++" `. \\/ .' /_/\n" ++" `. .__, .'\n" ++" `----'\n" ++"\n" ++"";