Package: djmount Version: 0.71-2 Severity: normal Tags: patch Hi,
Between libupnp2 and libupnp3 (pupnp 1.4.x and 1.6.x) the function SetLogFileNames was renamed to UpnpSetLogFileNames. Current djmount package thus fails to compile against a current libupnp library built with debug on. This is quite minor at the moment but I'm about to upload a new libupnp3 which defaults to debug on. I have disabled by default the library's own log files ! However this change will result in djmount failing to build once I've uploaded. Please would you apply something like the attached patch ? I have verified it builds against the new upload and functionally it should be the same. Thanks Nick Leverton (libupnp maintainer) -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (800, 'stable'), (150, 'testing'), (3, 'unstable') Architecture: i386 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
Description: Update libupnp API for 1.6.x Author: n...@leverton.org Bug-Debian: tba Index: djmount-0.71/djmount/fuse_main.c =================================================================== --- djmount-0.71.orig/djmount/fuse_main.c 2010-05-16 21:40:56.000000000 +0100 +++ djmount-0.71/djmount/fuse_main.c 2010-05-16 21:43:55.000000000 +0100 @@ -616,7 +616,7 @@ } Log_Colorize (true); #if UPNP_HAVE_DEBUG - SetLogFileNames ("/dev/null", "/dev/null"); + UpnpSetLogFileNames ("/dev/null", "/dev/null"); #endif /* @@ -710,10 +710,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 {