pkgsrc/graphics/girara/patches/patch-macros.h
leot 220f52642e Import girara-0.2.5 as graphics/girara.
girara is a library that implements a user interface that focuses on simplicity
and minimalism. Currently based on GTK+, a cross-platform widget toolkit, it
provides an interface that focuses on three main components: A so-called view
widget that represents the actual application (e.g. a website (browser), an
image (image viewer) or the document (document viewer)), an input bar that is
used to execute commands of the application and the status bar which provides
the user with current information. girara was designed to replace and enhance
the user interface that is used by zathura and jumanji and other features that
those applications share.

Packaged in pkgsrc-wip by degroote@.
2016-02-14 13:38:37 +00:00

16 lines
452 B
C

$NetBSD: patch-macros.h,v 1.1 2016/02/14 13:38:38 leot Exp $
pragma GCC diagnostic only acts on some lines.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52116
--- girara/macros.h.orig 2014-06-24 20:27:39.000000000 +0000
+++ girara/macros.h
@@ -51,7 +51,7 @@
#endif
#ifndef GIRARA_DO_PRAGMA
-# if defined(__GNUC__) || defined(__clang__)
+# if defined(__clang__)
# define GIRARA_DO_PRAGMA(x) _Pragma(#x)
# else
# define GIRARA_DO_PRAGMA(x)