Hi,

wasn't that change for an old udev version, which we updated to the "latest 
greatest" in the meantime?

        René

On 10.03.2011, at 19:48, Roger Mason wrote:

> Hello,
> 
> The attached patch allows xf86-video-ati (6.13.2) to compile.  An
> earlier version of this patch (r37038) seems to have disappeared.
> 
> Cheers,
> Roger
> 
> diff -Nur 
> ../xorg.orig//xf86-video-ati/#[email protected]_b_aroot_at2-trunk_apackage_axorg_axf86-video-ati_adrmmode__display.patch#
>  
> package/xorg//xf86-video-ati/#[email protected]_b_aroot_at2-trunk_apackage_axorg_axf86-video-ati_adrmmode__display.patch#
> --- 
> ../xorg.orig//xf86-video-ati/#[email protected]_b_aroot_at2-trunk_apackage_axorg_axf86-video-ati_adrmmode__display.patch#
>         1969-12-31 20:30:00.000000000 -0330
> +++ 
> package/xorg//xf86-video-ati/#[email protected]_b_aroot_at2-trunk_apackage_axorg_axf86-video-ati_adrmmode__display.patch#
>         2011-03-10 14:52:47.000000000 -0330
> @@ -0,0 +1,8 @@
> +  u = udev_new();
> +  if (!u)
> +  return;
> +- mon = udev_monitor_new_from_netlink(u, "udev");
> ++ mon = udev_monitor_new_from_netlink(u);
> +  if (!mon) {
> +  udev_unref(u);
> +  return; 
> diff -Nur ../xorg.orig//xf86-video-ati/drmmode_udev_h.patch 
> package/xorg//xf86-video-ati/drmmode_udev_h.patch
> --- ../xorg.orig//xf86-video-ati/drmmode_udev_h.patch 1969-12-31 
> 20:30:00.000000000 -0330
> +++ package/xorg//xf86-video-ati/drmmode_udev_h.patch 2011-03-10 
> 15:06:50.000000000 -0330
> @@ -0,0 +1,11 @@
> +--- xf86-video-ati-6.13.2/src/drmmode_display.h.orig 2011-03-10 
> 15:04:42.000000000 -0330
> ++++ xf86-video-ati-6.13.2/src/drmmode_display.h      2011-03-10 
> 15:05:02.000000000 -0330
> +@@ -27,6 +27,8 @@
> + #ifndef DRMMODE_DISPLAY_H
> + #define DRMMODE_DISPLAY_H
> + 
> ++#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
> ++
> + #ifdef XF86DRM_MODE
> + 
> + #include "xf86drmMode.h"
> diff -Nur ../xorg.orig//xf86-video-ati/drmmode_udev.patch 
> package/xorg//xf86-video-ati/drmmode_udev.patch
> --- ../xorg.orig//xf86-video-ati/drmmode_udev.patch   1969-12-31 
> 20:30:00.000000000 -0330
> +++ package/xorg//xf86-video-ati/drmmode_udev.patch   2011-03-10 
> 14:59:08.000000000 -0330
> @@ -0,0 +1,11 @@
> +--- xf86-video-ati-6.13.2/src/drmmode_display.c.orig 2010-09-07 
> 13:20:35.000000000 -0230
> ++++ xf86-video-ati-6.13.2/src/drmmode_display.c      2011-03-10 
> 14:57:35.000000000 -0330
> +@@ -1436,7 +1436,7 @@
> +     u = udev_new();
> +     if (!u)
> +             return;
> +-    mon = udev_monitor_new_from_netlink(u, "udev");
> ++    mon = udev_monitor_new_from_netlink(u);
> +     if (!mon) {
> +             udev_unref(u);
> +             return;
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2

-- 
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478
  Managing Directors: Susanne Klaus, René Rebe
  http://exactcode.com | http://t2-project.org | http://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to