diff options
author | joerg <joerg> | 2012-01-20 17:02:55 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-01-20 17:02:55 +0000 |
commit | 61826e31f38fa2ae095b332e809f3f01953d00e6 (patch) | |
tree | f3bbe369b1ac5cbe6ba09df86e75bf9ff3ddd6da /sysutils/gnome-power-manager | |
parent | b0686dc6b3374bc909e898e596e39679e49dcd79 (diff) | |
download | pkgsrc-61826e31f38fa2ae095b332e809f3f01953d00e6.tar.gz |
Disable warnings about tautological compares for Clang. Don't mark a
function as inline that doesn't provide a body in place.
Diffstat (limited to 'sysutils/gnome-power-manager')
-rw-r--r-- | sysutils/gnome-power-manager/Makefile | 7 | ||||
-rw-r--r-- | sysutils/gnome-power-manager/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-power-manager/patches/patch-src-gpm-array-float.h | 16 |
3 files changed, 24 insertions, 2 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile index 55ff2fda44e..8f4d12cfe94 100644 --- a/sysutils/gnome-power-manager/Makefile +++ b/sysutils/gnome-power-manager/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2012/01/13 10:55:32 obache Exp $ +# $NetBSD: Makefile,v 1.19 2012/01/20 17:02:55 joerg Exp $ # DISTNAME= gnome-power-manager-2.24.4 @@ -27,11 +27,16 @@ CONFIGURE_ENV+= ac_cv_path_DOCBOOK2MAN=no GCONF_SCHEMAS+= gnome-power-manager.schemas .include "../../mk/bsd.prefs.mk" +.include "../../mk/compiler.mk" .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" BUILDLINK_TRANSFORM+= rm:-lresolv .endif +.if ${PKGSRC_COMPILER:Mclang} +CFLAGS+= -Wno-tautological-compare +.endif + .include "../../devel/GConf/schemas.mk" .include "../../devel/libgnomeui/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" diff --git a/sysutils/gnome-power-manager/distinfo b/sysutils/gnome-power-manager/distinfo index 92c35e3eedc..a6a7358d967 100644 --- a/sysutils/gnome-power-manager/distinfo +++ b/sysutils/gnome-power-manager/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2010/04/11 22:24:47 jmmv Exp $ +$NetBSD: distinfo,v 1.5 2012/01/20 17:02:55 joerg Exp $ SHA1 (gnome-power-manager-2.24.4.tar.bz2) = ea9c895a78761c59fea13701e074946a20c50fe6 RMD160 (gnome-power-manager-2.24.4.tar.bz2) = c0b16ead610ffeae9d801f8bde44507464808e53 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = d3e3e33b82af97e1fb372914afc732e3d9a2232a SHA1 (patch-ab) = 1d095932a52528148703ce63bfab81f3a2f316fd SHA1 (patch-ac) = 57ade4298abd05dc57af06347dc96dea4683eb51 SHA1 (patch-ad) = b0a68283600b33f730c3b5b07128858c96c04394 +SHA1 (patch-src-gpm-array-float.h) = e9592fdab1c0ee0beedd49c524ae2fdd4a1eea47 diff --git a/sysutils/gnome-power-manager/patches/patch-src-gpm-array-float.h b/sysutils/gnome-power-manager/patches/patch-src-gpm-array-float.h new file mode 100644 index 00000000000..6489c886122 --- /dev/null +++ b/sysutils/gnome-power-manager/patches/patch-src-gpm-array-float.h @@ -0,0 +1,16 @@ +$NetBSD: patch-src-gpm-array-float.h,v 1.1 2012/01/20 17:02:55 joerg Exp $ + +--- src/gpm-array-float.h.orig 2012-01-18 16:40:53.000000000 +0000 ++++ src/gpm-array-float.h +@@ -49,9 +49,9 @@ gfloat gpm_array_float_get_average (G + gboolean gpm_array_float_print (GArray *array); + GArray *gpm_array_float_convolve (GArray *data, + GArray *kernel); +-inline gfloat gpm_array_float_get (GArray *array, ++gfloat gpm_array_float_get (GArray *array, + guint i); +-inline void gpm_array_float_set (GArray *array, ++void gpm_array_float_set (GArray *array, + guint i, + gfloat value); + |