pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/editors/emacs20



Hi,

From: David Holland <dholland-pkgchanges%netbsd.org@localhost>, Date: Fri, 5 
Jul 2013 22:18:25 +0000

> On Fri, Jul 05, 2013 at 01:46:13PM +0000, Ryo ONODERA wrote:
>  > Modified Files:
>  >    pkgsrc/editors/emacs20: distinfo
>  >    pkgsrc/editors/emacs20/patches: patch-ab
>  > 
>  > Log Message:
>  > Fix x11 option build.
> 
> @@ -72,8 +72,7 @@
>   #include "confdefs.h"
>   #include <assert.h>
>   Syntax Error
> -+Should \\
> -+be one line.
> ++Should be one line.
>   EOF
> 
> I don't think you wanted that... what were you trying to do?

This test case is for gcc -E -traditional-cpp detection.
I want to disable this detection, so it is not the best way,
it is ugly, but making the test one line is easiest way of disabling
-traditional-cpp detection.

Old emacsen should use gcc -E -traditional-cpp for Makefile generation,
and gcc -E for its source file.

You can see comment to patch-ab,

* Fix build on NetBSD 6.99.23, gcc -E -traditional-cpp with native X
  results syntax error. Use -traditional-cpp for Makefile generation only.

Thank you.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



Home | Main Index | Thread Index | Old Index