[PATCH] Rename PIC to XMAN_PIC to avoid problems with "-DPIC" compilations.

walter harms wharms at bfs.de
Thu Jul 12 10:00:52 PDT 2012



Am 12.07.2012 14:55, schrieb Thomas Klausner:
> 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..7592996 100644
> --- a/misc.c
> +++ b/misc.c
> @@ -764,7 +764,7 @@ ConstructCommand(cmdbuf, path, filename, tempfile)
>              filter = GRAP;
>              break;
>           case 'p':
> -            filter = PIC;
> +            filter = XMAN_PIC;
>              break;
>           case 't':
>              filter = TBL;
> diff --git a/vendor.h b/vendor.h
> index 21ff3ec..740db3f 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 XMAN_PIC	"pic"
>  # define VGRIND		"vgrind"
>  # define REFER		"refer"
>  # if defined(CSRG_BASED)

I see, to be fair i do not know the code but the names are roff/nroff precompiler therefore i would
expect a name like roff_pic.

just my 2 cents,
 wh



More information about the xorg-devel mailing list