diff options
Diffstat (limited to 'net-im/gnophone/files/gnophone-0.2.4-mkdtmf.c.patch')
-rw-r--r-- | net-im/gnophone/files/gnophone-0.2.4-mkdtmf.c.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-im/gnophone/files/gnophone-0.2.4-mkdtmf.c.patch b/net-im/gnophone/files/gnophone-0.2.4-mkdtmf.c.patch new file mode 100644 index 000000000000..5a07c14b6fb3 --- /dev/null +++ b/net-im/gnophone/files/gnophone-0.2.4-mkdtmf.c.patch @@ -0,0 +1,34 @@ +--- sounds/mkdtmf.c.orig 2001-09-21 21:37:37.000000000 +0200 ++++ sounds/mkdtmf.c 2004-02-17 17:22:40.781403496 +0200 +@@ -25,19 +25,18 @@ + if (argc != 3) + exit(1); + +- printf( +-"/* +- * Signed 16-bit audio data representing '%s' in dtmf +- * +- * Copyright (C) 2000, Linux Support Services, Inc. +- * +- * Distributed under the terms of the GNU General +- * Public License +- * +- */ +- +-static short %s[] = { +-", argv[1], argv[2]); ++ printf("/* \n" ++ " * Signed 16-bit audio data representing '%s' in dtmf\n" ++ " * \n" ++ " * Copyright (C) 2000, Linux Support Services, Inc.\n" ++ " * \n" ++ " * Distributed under the terms of the GNU General\n" ++ " * Public License\n" ++ " *\n" ++ " */\n" ++ "\n" ++ "static short %s[] = { \n", ++ argv[1], argv[2]); + + ap = argv[1]; + while (*ap) { |