Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4509 closed defect (fixed)

Xorg Intel Driver-2.21.15 doesn't build with Xorg-Server-1.15.0

Reported by: Wayne Blaszczyk Owned by: Igor Živković
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

The following error occurs during make:

sna_accel.c:7629:11: warning: variable 'intersects' set but not used [-Wunused-but-set-variable]
      bool intersects;
           ^
sna_accel.c:7528:7: warning: variable 'degenerate' set but not used [-Wunused-but-set-variable]
  bool degenerate = true;
       ^
sna_accel.c: In function 'migrate_dirty_tracking':
sna_accel.c:15226:3: warning: passing argument 1 of 'DamageUnregister' from incompatible pointer type [enabled by default]
   DamageUnregister(&dirty->src->drawable, dirty->damage);
   ^
In file included from /usr/include/xorg/pixmapstr.h:53:0,
                 from /usr/include/xorg/xf86str.h:40,
                 from /usr/include/xorg/xf86.h:44,
                 from ../../src/intel_options.h:4,
                 from sna_accel.c:32:
/usr/include/xorg/damage.h:77:2: note: expected 'DamagePtr' but argument is of type 'struct DrawableRec *'
  DamageUnregister(DamagePtr pDamage);
  ^
sna_accel.c:15226:3: error: too many arguments to function 'DamageUnregister'
   DamageUnregister(&dirty->src->drawable, dirty->damage);
   ^
In file included from /usr/include/xorg/pixmapstr.h:53:0,
                 from /usr/include/xorg/xf86str.h:40,
                 from /usr/include/xorg/xf86.h:44,
                 from ../../src/intel_options.h:4,
                 from sna_accel.c:32:
/usr/include/xorg/damage.h:77:2: note: declared here
  DamageUnregister(DamagePtr pDamage);
  ^

Change History (6)

comment:1 by Armin K, 11 years ago

Well, you could go for the development version, 2.99.907. It seems to work fine, at least here.

comment:3 by Wayne Blaszczyk, 11 years ago

I can confirm that the patch does fix the build issue.

comment:4 by Igor Živković, 11 years ago

Owner: changed from blfs-book@… to Igor Živković
Status: newassigned

comment:5 by Igor Živković, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r12510. Thanks for the report and the link to patch.

comment:6 by bdubbs@…, 11 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.