[PATCH] Rename PIC to ROFF_PIC to avoid problems with "-DPIC" compilations. From Christos Zoulas <christos at NetBSD.org>.

Thomas Klausner wiz at NetBSD.org
Thu Jul 12 11:26:03 PDT 2012


Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 misc.c   | 2 +-
 vendor.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc.c b/misc.c
index 8818aa8..abe410e 100644
--- a/misc.c
+++ b/misc.c
@@ -764,7 +764,7 @@ ConstructCommand(cmdbuf, path, filename, tempfile)
             filter = GRAP;
             break;
          case 'p':
-            filter = PIC;
+            filter = ROFF_PIC;
             break;
          case 't':
             filter = TBL;
diff --git a/vendor.h b/vendor.h
index 21ff3ec..fca9218 100644
--- a/vendor.h
+++ b/vendor.h
@@ -198,7 +198,7 @@ from the X Consortium.
 # define EQN		"eqn"
 # define TBL		"tbl"
 # define GRAP		"grap"
-# define PIC		"pic"
+# define ROFF_PIC	"pic"
 # define VGRIND		"vgrind"
 # define REFER		"refer"
 # if defined(CSRG_BASED)
-- 
1.7.11.1



More information about the xorg-devel mailing list