[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#748935: Fwd: Initial patch



Hello Samuli Suominen.

Thanks for the patch! Adding the correct bug number to CC to file it there.


On Mon, Jul 07, 2014 at 11:01:57AM +0300, Samuli Suominen wrote:
> I totally suck at using Debian bugs and I don't really want to spend
> time figuring out what I did wrong
> 
> Maybe you can post it to the proper bug. Sorry for trouble.
> 
> Using this patch in Gentoo. Minimal changes to make it build again.
> 
> 
> -------- Original Message --------
> Subject: 	Initial patch
> Date: 	Mon, 07 Jul 2014 10:58:34 +0300
> From: 	Samuli Suominen <ssuominen@gentoo.org>
> To: 	748935@bugs.debian.org
> 
> 
> 
> Initial patch to compile against UPower >= 0.99
> 
> 
> 

> --- upower.c
> +++ upower.c
> @@ -62,8 +62,10 @@
>  		return 0;
>  	}
>  
> +	#if !UP_CHECK_VERSION(0, 9, 99)
>  	/* Allow a battery that was not present before to appear. */
>  	up_client_enumerate_devices_sync(up, NULL, NULL);
> +	#endif
>  
>  	devices = up_client_get_devices(up);
>  
> 


Reply to: