Hi -
there are some places in the mpd-0.17.4 sources where a "false" is
used instead of a NULL pointer. See the attached patches.

best regards
Matthias


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
$NetBSD: patch-aa,v 1.12 2013/05/26 18:37:39 wiz Exp $

fix misuse of "bool", should fix build with some compilers, from
Pouya D. Tafti per pkgsrc-users

--- src/conf.c.orig     2012-08-13 14:55:06.000000000 +0900
+++ src/conf.c
@@ -317,7 +317,7 @@ config_read_block(FILE *fp, int *count, 
                                g_set_error(error_r, config_quark(), 0,
                                            "line %i: Unknown tokens after '}'",
                                            *count);
-                               return false;
+                               return NULL;
                        }
 
                        return ret;
$NetBSD: patch-ad,v 1.4 2013/05/26 18:37:39 wiz Exp $

fix misuse of "bool", should fix build with some compilers, from
Pouya D. Tafti per pkgsrc-users

--- src/song_update.c.orig      2012-06-28 00:46:58.000000000 +0900
+++ src/song_update.c
@@ -187,7 +187,7 @@ song_file_update_inarchive(struct song *
        if (suffix == NULL)
                return false;
 
-       plugin = decoder_plugin_from_suffix(suffix, false);
+       plugin = decoder_plugin_from_suffix(suffix, NULL);
        if (plugin == NULL)
                return false;
 
$NetBSD: patch-ae,v 1.3 2013/05/27 10:27:02 drochner Exp $

--- src/update_song.c.orig      2012-12-20 12:56:41.000000000 +0000
+++ src/update_song.c
@@ -104,7 +104,7 @@ update_song_file(struct directory *direc
                 const struct stat *st)
 {
        const struct decoder_plugin *plugin =
-               decoder_plugin_from_suffix(suffix, false);
+               decoder_plugin_from_suffix(suffix, NULL);
        if (plugin == NULL)
                return false;
 
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to