pkgsrc/editors/lyx/patches/patch-config.h.in
rumko ada279f10d editors/lyx: update to 2.1.2.2
Summary of changelog:
* Native IPA inset and IPA toolbar
* New supported languages
* Tex Fonts Additions
* Basic support for Math OpenType fonts
* Document class categories
* Enhanced support for LaTeX options
* New supported LaTeX commands
* New export command-line option
* Table rotations
* Layout enhancements
* New modules
* Equation Editor "mode"

Ok@ reed
2015-01-10 18:13:22 +00:00

16 lines
436 B
C

$NetBSD: patch-config.h.in,v 1.1 2015/01/10 18:13:22 rumko Exp $
Fix build under fbsd, do not use tr1 with libc++.
--- config.h.in.orig 2014-11-15 18:11:36.000000000 +0000
+++ config.h.in
@@ -353,7 +353,8 @@ char * strerror(int n);
// TR1 regex not supported in GCC <= 4.5
#ifndef LYX_USE_TR1
-# if __GNUC__ == 4
+# include <ciso646>
+# if __GNUC__ == 4 && !defined(_LIBCPP_VERSION)
# define LYX_USE_TR1
# endif
#endif