[PATCH:xf86-video-xgi 14/19] Remove PACKAGE_* definitions from xgi_dri.c.

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 10:58:00 PDT 2015


Here's an improved patch, really removing both of them.
 Thomas

-------------- next part --------------
>From 86e939d6d521847ca22c43640fa50aa0f220f5c2 Mon Sep 17 00:00:00 2001
From: Thomas Klausner <wiz at NetBSD.org>
Date: Thu, 6 Aug 2015 14:33:02 +0200
Subject: [PATCH:xf86-video-xgi 14/19] Remove PACKAGE_* definitions from
 xgi_dri.c.

They are provided by configure (via config.h or command line).

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/xgi_dri.c    | 5 -----
 src/xgi_driver.c | 4 ----
 2 files changed, 9 deletions(-)

diff --git a/src/xgi_dri.c b/src/xgi_dri.c
index c4cbfed..fcfab89 100755
--- a/src/xgi_dri.c
+++ b/src/xgi_dri.c
@@ -39,11 +39,6 @@
 #include "config.h"
 #endif
 
-/* Jong 09/27/2007; added for PACKAGE_VERSION_MAJOR,... */
-#define  PACKAGE_VERSION_MAJOR   1
-#define  PACKAGE_VERSION_MINOR   1
-#define  PACKAGE_VERSION_PATCHLEVEL   0
-
 #include "xf86.h"
 #include "xf86_OSproc.h"
 
diff --git a/src/xgi_driver.c b/src/xgi_driver.c
index 2b72e5a..71b7409 100755
--- a/src/xgi_driver.c
+++ b/src/xgi_driver.c
@@ -47,10 +47,6 @@
 #include "config.h"
 #endif
 
-#define  PACKAGE_VERSION_MAJOR   6
-#define  PACKAGE_VERSION_MINOR   1
-#define  PACKAGE_VERSION_PATCHLEVEL   6803
-
 #include "fb.h"
 #include "micmap.h"
 #include "xf86.h"
-- 
2.5.0



More information about the xorg-devel mailing list