Hello community, here is the log from the commit of package libXxf86dga for openSUSE:Factory checked in at 2012-05-08 11:58:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXxf86dga (Old) and /work/SRC/openSUSE:Factory/.libXxf86dga.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libXxf86dga", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libXxf86dga/libXxf86dga.changes 2012-02-17 12:05:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libXxf86dga.new/libXxf86dga.changes 2012-05-08 11:59:29.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Apr 11 16:22:04 UTC 2012 - [email protected] + +- Update to version 1.1.3: + + Fix capitalization of ViewportStep in man page to match + xf86dgaproto headers + + Janitorial cleanups + + Build configuration improvements + +------------------------------------------------------------------- Old: ---- libXxf86dga-1.1.2.tar.bz2 New: ---- libXxf86dga-1.1.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXxf86dga.spec ++++++ --- /var/tmp/diff_new_pack.4FFlzQ/_old 2012-05-08 11:59:30.000000000 +0200 +++ /var/tmp/diff_new_pack.4FFlzQ/_new 2012-05-08 11:59:30.000000000 +0200 @@ -14,24 +14,30 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: libXxf86dga %define lname libXxf86dga1 -Version: 1.1.2 +Version: 1.1.3 Release: 0 Summary: XFree86-DGA extension client library License: MIT Group: Development/Libraries/C and C++ -URL: http://xorg.freedesktop.org/ +Url: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXxf86dga #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXxf86dga/ -Source: %name-%version.tar.bz2 -BuildRoot: %_tmppath/%name-%version-build +Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool BuildRequires: fdupes -BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8 -BuildRequires: pkgconfig(xproto), pkgconfig(x11), pkgconfig(xextproto) -BuildRequires: pkgconfig(xext), pkgconfig(xf86dgaproto) >= 2.0.99.2 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xextproto) +BuildRequires: pkgconfig(xf86dgaproto) >= 2.0.99.2 +BuildRequires: pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(xproto) %description libXxf86dga provides the XFree86-DGA extension, which allows direct ++++++ libXxf86dga-1.1.2.tar.bz2 -> libXxf86dga-1.1.3.tar.bz2 ++++++ ++++ 42755 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/ChangeLog new/libXxf86dga-1.1.3/ChangeLog --- old/libXxf86dga-1.1.2/ChangeLog 2010-10-30 03:00:52.000000000 +0200 +++ new/libXxf86dga-1.1.3/ChangeLog 2012-03-08 06:38:04.000000000 +0100 @@ -1,3 +1,74 @@ +commit 3dad5d7c34c5787f0466b9ff50d7c26cd18e37bd +Author: Alan Coopersmith <[email protected]> +Date: Wed Mar 7 21:34:06 2012 -0800 + + libXxf86dga 1.1.3 + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 870a35db2ad6eab47d1026a56e52c3f53a9877eb +Author: Alan Coopersmith <[email protected]> +Date: Thu Nov 10 21:50:52 2011 -0800 + + Fix gcc -Wwrite-strings warnings + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit e9936bbcfe7ae6430ec91fd5fca696c09f2b904c +Author: Alan Coopersmith <[email protected]> +Date: Fri Sep 16 22:57:14 2011 -0700 + + Strip trailing whitespace + + Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' + git diff -w & git diff -b show no diffs from this change + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit c85b3c711d96331b4aa564ee4c9168d1aa0c10bc +Author: Alan Coopersmith <[email protected]> +Date: Tue May 17 20:54:52 2011 -0700 + + XDGA.man: Fix capitalization of ViewportStep to match xf86dgaproto headers + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 8d4356002f886417c1edb7b41aa1139d984bb861 +Author: Gaetan Nadon <[email protected]> +Date: Wed Feb 2 11:43:45 2011 -0500 + + config: comment, minor upgrade, quote and layout configure.ac + + Group statements per section as per Autoconf standard layout + Quote statements where appropriate. + Autoconf recommends not using dnl instead of # for comments + + Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. + Add AC_CONFIG_SRCDIR([Makefile.am]) + + This helps automated maintenance and release activities. + Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines + +commit 1d8387fbb917fb47d27b20b369d3fb7d0947ab6a +Author: Gaetan Nadon <[email protected]> +Date: Fri Jan 28 19:41:38 2011 -0500 + + config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS + + Signed-off-by: Gaetan Nadon <[email protected]> + +commit 4aae82f7d0533ba696434b2c8d108e8d8206b8bc +Author: Gaetan Nadon <[email protected]> +Date: Thu Jan 27 18:50:15 2011 -0500 + + config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 + + XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls + AC_PROG_C_C99. This sets gcc with -std=gnu99. + If AC_PROG_CC macro is called afterwards, it resets CC to gcc. + + Signed-off-by: Gaetan Nadon <[email protected]> + commit 3eb0d49a8d673c79ba9714d027f1ee056cf4b0b9 Author: Alan Coopersmith <[email protected]> Date: Fri Oct 29 18:00:17 2010 -0700 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/configure.ac new/libXxf86dga-1.1.3/configure.ac --- old/libXxf86dga-1.1.2/configure.ac 2010-10-30 03:00:01.000000000 +0200 +++ new/libXxf86dga-1.1.3/configure.ac 2012-03-08 06:35:46.000000000 +0100 @@ -1,28 +1,30 @@ + +# Initialize Autoconf AC_PREREQ([2.60]) +AC_INIT([libXxf86dga], [1.1.3], + [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXxf86dga]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS(src/config.h) -AC_INIT([libXxf86dga], [1.1.2], - [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], - [libXxf86dga]) +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE +# Initialize libtool +AC_PROG_LIBTOOL + # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -AM_CONFIG_HEADER(src/config.h) - -# Check for progs -AC_PROG_CC -AC_PROG_LIBTOOL +XORG_CHECK_MALLOC_ZERO -# Checks for pkg-config packages +# Obtain compiler/linker options for depedencies PKG_CHECK_MODULES(XXF86DGA, xproto x11 xextproto xext [xf86dgaproto >= 2.0.99.2]) -XORG_CHECK_MALLOC_ZERO - -AC_OUTPUT([Makefile - src/Makefile - man/Makefile - xxf86dga.pc]) +AC_CONFIG_FILES([Makefile + src/Makefile + man/Makefile + xxf86dga.pc]) +AC_OUTPUT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/include/X11/extensions/Xxf86dga.h new/libXxf86dga-1.1.3/include/X11/extensions/Xxf86dga.h --- old/libXxf86dga-1.1.2/include/X11/extensions/Xxf86dga.h 2009-10-16 23:27:25.000000000 +0200 +++ new/libXxf86dga-1.1.3/include/X11/extensions/Xxf86dga.h 2012-03-08 06:35:46.000000000 +0100 @@ -150,7 +150,7 @@ Display *dpy, int screen ); - + void XDGASync( Display *dpy, int screen diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/include/X11/extensions/xf86dga1.h new/libXxf86dga-1.1.3/include/X11/extensions/xf86dga1.h --- old/libXxf86dga-1.1.2/include/X11/extensions/xf86dga1.h 2009-10-16 23:27:25.000000000 +0200 +++ new/libXxf86dga-1.1.3/include/X11/extensions/xf86dga1.h 2012-03-08 06:35:46.000000000 +0100 @@ -37,7 +37,7 @@ unsigned int * /* base addr */, int * /* width */, int * /* bank_size */, - int * /* ram_size */ + int * /* ram_size */ ); Status XF86DGAGetVideo( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/man/XDGA.man new/libXxf86dga-1.1.3/man/XDGA.man --- old/libXxf86dga-1.1.2/man/XDGA.man 2010-10-07 06:17:11.000000000 +0200 +++ new/libXxf86dga-1.1.3/man/XDGA.man 2012-03-08 06:35:46.000000000 +0100 @@ -1,4 +1,4 @@ -.\" +.\" .TH XDGA 3 __vendorversion__ .SH NAME XDGA \- Client library for the XFree86-DGA extension. @@ -230,7 +230,7 @@ corresponds to a different framebuffer layout. .PP .BR XDGAQueryModes () -returns a pointer to an array of +returns a pointer to an array of .IR XDGAMode s which are valid for the given screen. .I num @@ -372,9 +372,9 @@ The dimensions of the portion of the framebuffer which will be displayed on the screen. .TP 8 -.I xViewPortStep +.I xViewportStep .TP 8 -.I yViewPortStep +.I yViewportStep The granularity of the x,y viewport positioning possible with the .BR XDGASetViewport () function. @@ -382,7 +382,7 @@ .I maxViewportX .TP 8 .I maxViewportY -The maximum x and y positions possible with the +The maximum x and y positions possible with the .BR XDGASetViewport () function. .TP 8 @@ -522,9 +522,9 @@ sets the upper left-hand corner of the rectangle of framebuffer that is to be displayed on the screen. Not all locations may be supported by the hardware and requested locations will be adjusted according to the -.I xViewPortStep +.I xViewportStep and -.I yViewPortStep +.I yViewportStep fields in the .IR XDGAMode . .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/src/Makefile.am new/libXxf86dga-1.1.3/src/Makefile.am --- old/libXxf86dga-1.1.2/src/Makefile.am 2010-02-25 08:39:37.000000000 +0100 +++ new/libXxf86dga-1.1.3/src/Makefile.am 2012-03-08 06:35:46.000000000 +0100 @@ -6,7 +6,7 @@ $(XXF86DGA_CFLAGS) \ $(MALLOC_ZERO_CFLAGS) \ $(CWARNFLAGS) - + libXxf86dga_la_LIBADD = $(XXF86DGA_LIBS) libXxf86dga_la_LDFLAGS = -version-number 1:0:0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/src/XF86DGA.c new/libXxf86dga-1.1.3/src/XF86DGA.c --- old/libXxf86dga-1.1.2/src/XF86DGA.c 2010-07-09 00:24:15.000000000 +0200 +++ new/libXxf86dga-1.1.3/src/XF86DGA.c 2012-03-08 06:35:46.000000000 +0100 @@ -65,7 +65,7 @@ #include <X11/extensions/extutil.h> extern XExtDisplayInfo* xdga_find_display(Display*); -extern char *xdga_extension_name; +extern const char *xdga_extension_name; #define XF86DGACheckExtension(dpy,i,val) \ XextCheckExtension (dpy, i, xdga_extension_name, val) @@ -86,7 +86,7 @@ Bool XF86DGAQueryVersion( Display* dpy, - int* majorVersion, + int* majorVersion, int* minorVersion ){ return XDGAQueryVersion(dpy, majorVersion, minorVersion); @@ -96,8 +96,8 @@ Display* dpy, int screen, unsigned int *offset, - int *width, - int *bank_size, + int *width, + int *bank_size, int *ram_size ){ XExtDisplayInfo *info = xdga_find_display (dpy); @@ -121,13 +121,13 @@ *width = rep.width; *bank_size = rep.bank_size; *ram_size = rep.ram_size; - + UnlockDisplay(dpy); SyncHandle(); return True; } - + Bool XF86DGADirectVideoLL( Display* dpy, int screen, @@ -153,7 +153,7 @@ Bool XF86DGAGetViewPortSize( Display* dpy, int screen, - int *width, + int *width, int *height ){ XExtDisplayInfo *info = xdga_find_display (dpy); @@ -175,17 +175,17 @@ *width = rep.width; *height = rep.height; - + UnlockDisplay(dpy); SyncHandle(); return True; } - - + + Bool XF86DGASetViewPort( Display* dpy, int screen, - int x, + int x, int y ){ XExtDisplayInfo *info = xdga_find_display (dpy); @@ -206,7 +206,7 @@ return True; } - + Bool XF86DGAGetVidPage( Display* dpy, int screen, @@ -235,7 +235,7 @@ return True; } - + Bool XF86DGASetVidPage( Display* dpy, int screen, @@ -342,7 +342,7 @@ #include <stdlib.h> #include <stdio.h> #include <fcntl.h> -#if defined(ISC) +#if defined(ISC) # define HAS_SVR3_MMAP # include <sys/types.h> # include <errno.h> @@ -548,7 +548,7 @@ if (rc != 0) return NULL; #elif defined(Lynx) && defined(NO_MMAP) - vaddr = (void *)smem_create("XF86DGA", (char *)offset, + vaddr = (void *)smem_create("XF86DGA", (char *)offset, size + delta, SM_READ|SM_WRITE); #else #ifndef MAP_FILE @@ -670,8 +670,8 @@ Display *dis, int screen, char **addr, - int *width, - int *bank, + int *width, + int *bank, int *ram ){ unsigned int offset; @@ -710,7 +710,7 @@ signal(SIGBUS, XF86cleanup); #endif signal(SIGHUP, XF86cleanup); - signal(SIGFPE, XF86cleanup); + signal(SIGFPE, XF86cleanup); } return 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXxf86dga-1.1.2/src/XF86DGA2.c new/libXxf86dga-1.1.3/src/XF86DGA2.c --- old/libXxf86dga-1.1.2/src/XF86DGA2.c 2010-10-07 06:17:11.000000000 +0200 +++ new/libXxf86dga-1.1.3/src/XF86DGA2.c 2012-03-08 06:35:46.000000000 +0100 @@ -25,12 +25,12 @@ /* If you change this, change the Bases[] array below as well */ #define MAX_HEADS 16 -char *xdga_extension_name = XF86DGANAME; +const char *xdga_extension_name = XF86DGANAME; static XExtensionInfo _xdga_info_data; static XExtensionInfo *xdga_info = &_xdga_info_data; - + Bool XDGAMapFramebuffer(int, char *, unsigned char*, CARD32, CARD32, CARD32); void XDGAUnmapFramebuffer(int); unsigned char* XDGAGetMappedMemory(int); @@ -66,9 +66,9 @@ XExtDisplayInfo* xdga_find_display(Display*); -XEXT_GENERATE_FIND_DISPLAY (xdga_find_display, xdga_info, - "XFree86-DGA", - &xdga_extension_hooks, +XEXT_GENERATE_FIND_DISPLAY (xdga_find_display, xdga_info, + "XFree86-DGA", + &xdga_extension_hooks, 0, NULL) @@ -154,7 +154,7 @@ Bool XDGAQueryVersion( Display *dpy, - int *majorVersion, + int *majorVersion, int *minorVersion ){ XExtDisplayInfo *info = xdga_find_display (dpy); @@ -182,7 +182,7 @@ for (i = 0, j = info->codes->first_event; i < XF86DGANumberEvents; - i++, j++) + i++, j++) { XESetWireToEvent (dpy, j, xdga_wire_to_event); XESetEventToWire (dpy, j, xdga_event_to_wire); @@ -240,11 +240,11 @@ } ret = XDGAMapFramebuffer(screen, deviceName, - (unsigned char*)(long)rep.mem1, + (unsigned char*)(long)rep.mem1, rep.size, rep.offset, rep.extra); if(deviceName) - Xfree(deviceName); + Xfree(deviceName); UnlockDisplay(dpy); SyncHandle(); @@ -305,12 +305,12 @@ offset = (char*)(&modes[rep.number]); /* start of text */ - if(modes) { + if(modes) { for(i = 0; i < rep.number; i++) { _XRead(dpy, (char*)(&info), sz_xXDGAModeInfo); modes[i].num = info.num; - modes[i].verticalRefresh = + modes[i].verticalRefresh = (float)info.vsync_num / (float)info.vsync_den; modes[i].flags = info.flags; modes[i].imageWidth = info.image_width; @@ -333,7 +333,7 @@ modes[i].maxViewportY = info.viewport_ymax; modes[i].viewportFlags = info.viewport_flags; modes[i].reserved1 = info.reserved1; - modes[i].reserved2 = info.reserved2; + modes[i].reserved2 = info.reserved2; _XRead(dpy, offset, info.name_size); modes[i].name = offset; @@ -352,7 +352,7 @@ } -XDGADevice * +XDGADevice * XDGASetMode( Display *dpy, int screen, @@ -373,7 +373,7 @@ req->screen = screen; req->mode = mode; req->pid = pid = XAllocID(dpy); - + if (_XReply(dpy, (xReply *)&rep, 0, xFalse)) { if(rep.length) { xXDGAModeInfo info; @@ -383,12 +383,12 @@ size -= sz_xXDGAModeInfo; /* get text size */ dev = (XDGADevice*)Xmalloc(sizeof(XDGADevice) + size); - + if(dev) { _XRead(dpy, (char*)(&info), sz_xXDGAModeInfo); dev->mode.num = info.num; - dev->mode.verticalRefresh = + dev->mode.verticalRefresh = (float)info.vsync_num / (float)info.vsync_den; dev->mode.flags = info.flags; dev->mode.imageWidth = info.image_width; @@ -413,7 +413,7 @@ dev->mode.reserved1 = info.reserved1; dev->mode.reserved2 = info.reserved2; - dev->mode.name = (char*)(&dev[1]); + dev->mode.name = (char*)(&dev[1]); _XRead(dpy, dev->mode.name, info.name_size); dev->pixmap = (rep.flags & XDGAPixmap) ? pid : 0; @@ -421,7 +421,7 @@ if(dev->data) dev->data += rep.offset; - } + } /* not sure what to do if the allocation fails */ } } @@ -591,7 +591,7 @@ int XDGAGetViewportStatus( Display *dpy, - int screen + int screen ){ XExtDisplayInfo *info = xdga_find_display (dpy); xXDGAGetViewportStatusReply rep; @@ -614,7 +614,7 @@ void XDGASync( Display *dpy, - int screen + int screen ){ XExtDisplayInfo *info = xdga_find_display (dpy); xXDGASyncReply rep; @@ -638,7 +638,7 @@ int screen, int *x, int *y, - int mode + int mode ){ XExtDisplayInfo *info = xdga_find_display (dpy); xXDGAChangePixmapModeReq *req; @@ -689,7 +689,7 @@ void XDGAKeyEventToXKeyEvent( - XDGAKeyEvent* dk, + XDGAKeyEvent* dk, XKeyEvent* xk ){ xk->type = dk->type; @@ -710,7 +710,7 @@ #include <stdlib.h> #include <stdio.h> #include <fcntl.h> -#if defined(ISC) +#if defined(ISC) # define HAS_SVR3_MMAP # include <sys/types.h> # include <errno.h> @@ -760,7 +760,7 @@ } DGAMapRec, *DGAMapPtr; static Bool -DGAMapPhysical(int, char*, unsigned char*, CARD32, CARD32, CARD32, DGAMapPtr); +DGAMapPhysical(int, const char*, unsigned char*, CARD32, CARD32, CARD32, DGAMapPtr); static void DGAUnmapPhysical(DGAMapPtr); static DGAMapPtr _Maps = NULL; @@ -794,7 +794,7 @@ ){ DGAMapPtr pMap = _Maps; Bool result; - + /* is it already mapped ? */ while(pMap != NULL) { if(pMap->screen == screen) @@ -815,9 +815,9 @@ if(result) { pMap->next = _Maps; _Maps = pMap; - } else + } else Xfree(pMap); - + return result; } @@ -852,7 +852,7 @@ static Bool DGAMapPhysical( int screen, - char *name, /* optional device name */ + const char *name, /* optional device name */ unsigned char* base, /* physical memory */ CARD32 size, /* size */ CARD32 offset, /* optional offset */ @@ -866,7 +866,7 @@ ULONG action; HFILE hfd; #endif - + base += offset; pMap->screen = screen; @@ -927,7 +927,7 @@ name = DEV_MEM; if ((pMap->fd = open(name, O_RDWR)) < 0) return False; - pMap->virtual = mmap(NULL, size, PROT_READ | PROT_WRITE, + pMap->virtual = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_FILE | MAP_SHARED, pMap->fd, (off_t)base); if (pMap->virtual == (void *)-1) return False; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
