init script fixes, fixed udev
[hdw-linux/hdw-linux.git] / packages / hackbard / dfbsee / new_api.patch
diff --git a/packages/hackbard/dfbsee/new_api.patch b/packages/hackbard/dfbsee/new_api.patch
new file mode 100644 (file)
index 0000000..882ea6c
--- /dev/null
@@ -0,0 +1,22 @@
+--- ./src/main.c.orig  2005-08-12 05:48:27.000000000 +0200
++++ ./src/main.c       2005-08-12 05:50:41.000000000 +0200
+@@ -53,7 +53,7 @@
+ main (int    argc, 
+       char **argv)
+ {
+-  DFBCardCapabilities    caps;
++  DFBGraphicsDeviceDescription        desc;
+   DFBSurfaceDescription  dsc;
+   IDirectFBEventBuffer  *buffer;
+   IDirectFBSurface      *image_area;
+@@ -78,8 +78,8 @@
+   /* create the super interface */
+   DFBCHECK (DirectFBCreate (&dfb));
+-  dfb->GetCardCapabilities (dfb, &caps);
+-  hw_stretchblit = caps.acceleration_mask & DFXL_STRETCHBLIT;
++  dfb->GetDeviceDescription (dfb, &desc);
++  hw_stretchblit = desc.acceleration_mask & DFXL_STRETCHBLIT;
+   
+   dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN);