diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-02 11:05:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-02 11:05:42 +0000 |
commit | 1e9d75e5a8a64738d5c0dc5fcc9d3c499b9b4968 (patch) | |
tree | 56ae386c776d4757d47113e9f9cde211cea99772 /main/gsm/gsm-warnings.patch | |
parent | bc5b6eeaa67b6879034c863720e865ff76c2290d (diff) | |
download | aports-1e9d75e5a8a64738d5c0dc5fcc9d3c499b9b4968.tar.bz2 aports-1e9d75e5a8a64738d5c0dc5fcc9d3c499b9b4968.tar.xz |
main/flite,gsm: moved from testing
needed by sems
Diffstat (limited to 'main/gsm/gsm-warnings.patch')
-rw-r--r-- | main/gsm/gsm-warnings.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/main/gsm/gsm-warnings.patch b/main/gsm/gsm-warnings.patch new file mode 100644 index 0000000000..8bec416adf --- /dev/null +++ b/main/gsm/gsm-warnings.patch @@ -0,0 +1,43 @@ +--- gsm-1.0-pl12/src/code.c.warn 2006-04-26 21:16:50.000000000 +0200 ++++ gsm-1.0-pl12/src/code.c 2007-05-11 00:26:52.000000000 +0200 +@@ -9,8 +9,8 @@ + #include "config.h" + + +-#ifdef HAS_STDLIB_H +-#include <stdlib.h> ++#ifdef HAS_STRING_H ++#include <string.h> + #else + # include "proto.h" + extern char * memcpy P((char *, char *, int)); +--- gsm-1.0-pl12/src/toast.c.warn 2006-04-26 21:14:26.000000000 +0200 ++++ gsm-1.0-pl12/src/toast.c 2007-05-11 00:26:52.000000000 +0200 +@@ -6,6 +6,8 @@ + + /* $Header: /home/fedora/jkeating/pkgs/rpms/gsm/devel/gsm-warnings.patch,v 1.1 2007/05/11 23:18:21 rathann Exp $ */ + ++#include <stdio.h> ++#include <getopt.h> + #include "toast.h" + + /* toast -- lossy sound compression using the gsm library. +--- gsm-1.0-pl12/add-test/add_test.c.warn 2006-04-26 21:14:25.000000000 +0200 ++++ gsm-1.0-pl12/add-test/add_test.c 2007-05-11 00:28:03.000000000 +0200 +@@ -9,6 +9,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + + #include "gsm.h" + +@@ -29,7 +30,7 @@ + longword M_gsm_L_mult P((word op1, word op2)); + longword M_gsm_L_add P((longword op1, longword op2)); + +-help() ++void help(void) + { + puts( " add a b sub a b mult a b div a b" ); + puts( "L_add A B L_sub A B L_mult A B mult_r a b" ); |