public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* Patch for graphite2 1.3.11
@ 2018-03-19 12:36 Ken Brown
  0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2018-03-19 12:36 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

Yaakov,

FYI, I had occasion to build graphite2-1.3.11 in connection with TeX 
Live, and I needed the attached patch.  I've reported this upstream:

   https://github.com/silnrsi/graphite/issues/32

Ken

[-- Attachment #2: 0001-Don-t-include-intsafe.h-on-Cygwin.patch --]
[-- Type: text/plain, Size: 754 bytes --]

From 474d863fa779e5ae5568e90d7cec8928878229de Mon Sep 17 00:00:00 2001
From: Ken Brown <kbrown@cornell.edu>
Date: Sun, 18 Mar 2018 11:25:09 -0400
Subject: [PATCH] Don't include intsafe.h on Cygwin

This is a w32api header, which brings in several other such headers
and breaks the build.
---
 src/inc/Main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/inc/Main.h b/src/inc/Main.h
index f66b48d..2c64c6b 100644
--- a/src/inc/Main.h
+++ b/src/inc/Main.h
@@ -86,7 +86,7 @@ struct telemetry  {};
   #define HAVE_BUILTIN_OVERFLOW
 #endif
 #if defined(__has_include)
-  #if __has_include(<intsafe.h>)
+  #if __has_include(<intsafe.h>) && !defined(__CYGWIN__)
     #define HAVE_INTSAFE_H
   #endif
 #elif defined(_WIN32)
-- 
2.16.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-19 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 12:36 Patch for graphite2 1.3.11 Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).