diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-13 22:06:05 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-13 22:06:25 +0000 |
commit | a717961f6e0e016e447eeca5f5f5d3a81354c61c (patch) | |
tree | bbedfba6ebef809e6bc303954d3ec743374693d3 /meta/packages/opkg/files/opkg-fix-gcc-warnings.patch | |
parent | 357282e2111fa6b84b34185d9916b0c17119480c (diff) | |
download | openembedded-core-a717961f6e0e016e447eeca5f5f5d3a81354c61c.tar.gz openembedded-core-a717961f6e0e016e447eeca5f5f5d3a81354c61c.tar.bz2 openembedded-core-a717961f6e0e016e447eeca5f5f5d3a81354c61c.tar.xz openembedded-core-a717961f6e0e016e447eeca5f5f5d3a81354c61c.zip |
opkg: Convert to use BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/opkg/files/opkg-fix-gcc-warnings.patch')
-rw-r--r-- | meta/packages/opkg/files/opkg-fix-gcc-warnings.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/packages/opkg/files/opkg-fix-gcc-warnings.patch b/meta/packages/opkg/files/opkg-fix-gcc-warnings.patch deleted file mode 100644 index 149542ed6..000000000 --- a/meta/packages/opkg/files/opkg-fix-gcc-warnings.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff -urN opkg.orig/libopkg/libopkg.c opkg/libopkg/libopkg.c ---- opkg.orig/libopkg/libopkg.c 2009-02-09 10:49:40.000000000 +0000 -+++ opkg/libopkg/libopkg.c 2009-02-09 10:50:23.000000000 +0000 -@@ -38,7 +38,7 @@ - if ( level == OPKG_ERROR ){ - push_error_list(&error_list, msg); - } else -- printf(msg); -+ printf("%s", msg); - } - return 0; - } -@@ -71,7 +71,7 @@ - char* default_opkg_response_callback(char *question) - { - char *response = NULL; -- printf(question); -+ printf("%s", question); - fflush(stdout); - do { - response = (char *)file_read_line_alloc(stdin); -diff -urN opkg.orig/libopkg/opkg_cmd.c opkg/libopkg/opkg_cmd.c ---- opkg.orig/libopkg/opkg_cmd.c 2009-02-09 10:49:40.000000000 +0000 -+++ opkg/libopkg/opkg_cmd.c 2009-02-09 10:50:23.000000000 +0000 -@@ -369,7 +369,7 @@ - perror (ctx->statedir); - - sprintf_alloc (&cmd, "rm -rf %s", ctx->statedir); -- system (cmd); -+ err = system (cmd); - free (cmd); - - free (ctx->statedir); -diff -urN opkg.orig/libopkg/pkg.c opkg/libopkg/pkg.c ---- opkg.orig/libopkg/pkg.c 2009-02-09 10:49:40.000000000 +0000 -+++ opkg/libopkg/pkg.c 2009-02-09 10:52:49.000000000 +0000 -@@ -1052,6 +1052,7 @@ - - void pkg_print_info(pkg_t *pkg, FILE *file) - { -+ int t = 0; - char * buff; - if (pkg == NULL) { - return; -@@ -1061,7 +1062,7 @@ - if ( buff == NULL ) - return; - if (strlen(buff)>2){ -- fwrite(buff, 1, strlen(buff), file); -+ t = fwrite(buff, 1, strlen(buff), file); /* TODO: check t */ - } - free(buff); - } |