11 changed files with 67 additions and 16 deletions
			
			
		| @ -0,0 +1,33 @@ | |||||
|  | # | ||||
|  | # Description: Update libupnp API for 1.6.x. | ||||
|  | #   Between libupnp2 and libupnp3 (pupnp 1.4.x and 1.6.x) the function | ||||
|  | #   SetLogFileNames was renamed to UpnpSetLogFileNames. | ||||
|  | # Author: nick@leverton.org | ||||
|  | # Bug-Debian: 581879  | ||||
|  | # | ||||
|  | Index: djmount-0.71/djmount/fuse_main.c
 | ||||
|  | ===================================================================
 | ||||
|  | --- a/djmount/fuse_main.c
 | ||||
|  | +++ b/djmount/fuse_main.c
 | ||||
|  | @@ -618,7 +618,7 @@
 | ||||
|  |  	}   | ||||
|  |  	Log_Colorize (true); | ||||
|  |  #if UPNP_HAVE_DEBUG | ||||
|  | -	SetLogFileNames ("/dev/null", "/dev/null");
 | ||||
|  | +	UpnpSetLogFileNames ("/dev/null", "/dev/null");
 | ||||
|  |  #endif | ||||
|  |  	 | ||||
|  |  	/* | ||||
|  | @@ -745,10 +745,10 @@
 | ||||
|  |  					Log_SetMaxLevel (LOG_ERROR); | ||||
|  |  #if UPNP_HAVE_DEBUG | ||||
|  |  				} else if (strcmp (s, "upnperr") == 0) { | ||||
|  | -					SetLogFileNames ("/dev/stdout", 
 | ||||
|  | +					UpnpSetLogFileNames ("/dev/stdout",
 | ||||
|  |  							 "/dev/null"); | ||||
|  |  				} else if (strcmp (s, "upnpall") == 0) { | ||||
|  | -					SetLogFileNames ("/dev/stdout", 
 | ||||
|  | +					UpnpSetLogFileNames ("/dev/stdout",
 | ||||
|  |  							 "/dev/stdout"); | ||||
|  |  #endif | ||||
|  |  				} else { | ||||
| @ -0,0 +1,18 @@ | |||||
|  | # | ||||
|  | # Description: Transition from libupnp3 to libupnp6 | ||||
|  | # Bug-Debian: http://bugs.debian.org/656832 | ||||
|  | # Author: Nick Leverton <nick@leverton.org> | ||||
|  | # Last-Update: 2012-02-22 | ||||
|  | # | ||||
|  | Index: djmount/djmount/upnp_util.h
 | ||||
|  | ===================================================================
 | ||||
|  | --- djmount.orig/djmount/upnp_util.h	2012-02-22 03:34:37.459476269 +0100
 | ||||
|  | +++ djmount/djmount/upnp_util.h	2012-02-22 03:48:14.184514680 +0100
 | ||||
|  | @@ -28,6 +28,7 @@
 | ||||
|  |   | ||||
|  |   | ||||
|  |  #include <upnp/upnptools.h> | ||||
|  | +#include <upnp/upnp.h>
 | ||||
|  |   | ||||
|  |   | ||||
|  |  #ifdef __cplusplus | ||||
					Loading…
					
					
				
		Reference in new issue