update libupnp to 1.6.8, broke compiling of uShare
See https://dev.openwrt.org/ticket/8296
and https://lists.rpmfusion.org/pipermail/rpmfusion-developers/2011-September/010113.html
diff -wbBur ushare-1.1a/src/http.c ushare-1.1a.my/src/http.c
--- src/http.c 2007-12-09 13:03:36.000000000 +0000
+++ src/http.c 2010-10-29 11:13:07.000000000 +0000
info->content_type = ixmlCloneDOMString (content_type);
-http_get_info (const char *filename, struct File_Info *info)
+int http_get_info (const char *filename, struct File_Info *info)
extern struct ushare_t *ut;
struct upnp_entry_t *entry = NULL;
return ((UpnpWebFileHandle) file);
-static UpnpWebFileHandle
-http_open (const char *filename, enum UpnpOpenFileMode mode)
+UpnpWebFileHandle http_open (const char *filename, enum UpnpOpenFileMode mode)
extern struct ushare_t *ut;
struct upnp_entry_t *entry = NULL;
return ((UpnpWebFileHandle) file);
-http_read (UpnpWebFileHandle fh, char *buf, size_t buflen)
+int http_read (UpnpWebFileHandle fh, char *buf, size_t buflen)
struct web_file_t *file = (struct web_file_t *) fh;
-http_write (UpnpWebFileHandle fh __attribute__((unused)),
+int http_write (UpnpWebFileHandle fh __attribute__((unused)),
char *buf __attribute__((unused)),
size_t buflen __attribute__((unused)))
-http_seek (UpnpWebFileHandle fh, off_t offset, int origin)
+int http_seek (UpnpWebFileHandle fh, off_t offset, int origin)
struct web_file_t *file = (struct web_file_t *) fh;