Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
x11-input-evtouch
05_fix_CURSORDIR.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 05_fix_CURSORDIR.diff of Package x11-input-evtouch
The code uses CURSORDIRECTORY but the build rules define CURSORDIR. Index: xserver-xorg-input-evtouch/ev_calibrate.c =================================================================== --- xserver-xorg-input-evtouch.orig/ev_calibrate.c 2010-02-14 14:08:33.000000000 +0900 +++ xserver-xorg-input-evtouch/ev_calibrate.c 2010-02-14 14:14:06.000000000 +0900 @@ -16,8 +16,8 @@ #include "ev_calibrate.h" #include "config.h" -#ifndef CURSORDIRECTORY -#define CURSORDIRECTORY "" +#ifndef CURSORDIR +#define CURSORDIR "" #endif pthread_mutex_t got_min_max_mtx; @@ -287,7 +287,7 @@ } rc = XReadBitmapFile(display, win, - CURSORDIRECTORY"/empty_cursor.xbm", + CURSORDIR"/empty_cursor.xbm", &cursor_width, &cursor_height, &cursor_pic, &hotspot_x, &hotspot_y); @@ -295,7 +295,7 @@ /* check for failure or success. */ switch (rc) { case BitmapOpenFailed: - fprintf(stderr, "XReadBitmapFile - could not open file '%s/empty_cursor.xbm'.\n", CURSORDIRECTORY); + fprintf(stderr, "XReadBitmapFile - could not open file '%s/empty_cursor.xbm'.\n", CURSORDIR); break; case BitmapFileInvalid: fprintf(stderr,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor