summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-07 21:29:15 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-07 21:29:15 +0000
commit32ff105536420649ed75f3c9b5df44241844fc12 (patch)
tree22c64f938e2c842a3d17d407df0579cdeef3a967
parent8737c8a2415a5b217acf644f081b3bfdcf67a20d (diff)
Unlibcwrap. Bump server version requirement. Bump to 1.1.0.sunleo-1_1_0XORG-7_1
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac4
-rw-r--r--src/leo.h1
-rw-r--r--src/leo_driver.c11
4 files changed, 15 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index e6c8681..92d3ad3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-04-07 Adam Jackson <ajax@freedesktop.org>
+
+ * configure.ac:
+ * src/leo.h:
+ * src/leo_driver.c:
+ Unlibcwrap. Bump server version requirement. Bump to 1.1.0.
+
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
diff --git a/configure.ac b/configure.ac
index 1c2b232..3d72c9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
AC_PREREQ(2.57)
AC_INIT([xf86-video-sunleo],
- 1.0.0.5,
+ 1.1.0,
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
xf86-video-sunleo)
@@ -52,7 +52,7 @@ XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XORG, [xorg-server xproto fontsproto $REQUIRED_MODULES])
+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES])
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
# Checks for libraries.
diff --git a/src/leo.h b/src/leo.h
index 358b0d4..b3454a0 100644
--- a/src/leo.h
+++ b/src/leo.h
@@ -27,7 +27,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86RamDac.h"
#include <X11/Xmd.h>
#include "gcstruct.h"
diff --git a/src/leo_driver.c b/src/leo_driver.c
index f83df85..47f624a 100644
--- a/src/leo_driver.c
+++ b/src/leo_driver.c
@@ -27,9 +27,10 @@
#include "config.h"
#endif
+#include <string.h>
+
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86Version.h"
#include "mipointer.h"
#include "mibstore.h"
@@ -62,11 +63,11 @@ static ModeStatus LeoValidMode(int scrnIndex, DisplayModePtr mode,
void LeoSync(ScrnInfoPtr pScrn);
-#define VERSION 4000
+#define LEO_VERSION 4000
#define LEO_NAME "SUNLEO"
#define LEO_DRIVER_NAME "sunleo"
#define LEO_MAJOR_VERSION 1
-#define LEO_MINOR_VERSION 0
+#define LEO_MINOR_VERSION 1
#define LEO_PATCHLEVEL 0
/*
@@ -78,7 +79,7 @@ void LeoSync(ScrnInfoPtr pScrn);
*/
_X_EXPORT DriverRec SUNLEO = {
- VERSION,
+ LEO_VERSION,
LEO_DRIVER_NAME,
LeoIdentify,
LeoProbe,
@@ -261,7 +262,7 @@ LeoProbe(DriverPtr drv, int flags)
pScrn = xf86AllocateScreen(drv, 0);
/* Fill in what we can of the ScrnInfoRec */
- pScrn->driverVersion = VERSION;
+ pScrn->driverVersion = LEO_VERSION;
pScrn->driverName = LEO_DRIVER_NAME;
pScrn->name = LEO_NAME;
pScrn->Probe = LeoProbe;