Update girara to 0.2.7

PR:		216002
Submitted by:	Michael Danilov <mike.d.ft402@gmail.com>
This commit is contained in:
Guido Falsi 2017-01-15 22:51:31 +00:00
parent 8c48e60aee
commit 7839017c83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431606
5 changed files with 5 additions and 38 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= girara
PORTVERSION= 0.2.6
PORTREVISION= 2
PORTVERSION= 0.2.7
CATEGORIES= x11-toolkits graphics
MASTER_SITES= http://pwmt.org/projects/girara/download/

View File

@ -1,2 +1,3 @@
SHA256 (girara-0.2.6.tar.gz) = eba69b3522b4d149e06d133de52877913275873c505993fad08b6d7884ec9a0f
SIZE (girara-0.2.6.tar.gz) = 75841
TIMESTAMP = 1484228386
SHA256 (girara-0.2.7.tar.gz) = 98e6a343298ae46869c990bc6e0732555e19af2e386cdc1a911f109b1c5c32e5
SIZE (girara-0.2.7.tar.gz) = 76723

View File

@ -1,19 +0,0 @@
--- girara/callbacks.h.orig 2016-04-18 20:35:34 UTC
+++ girara/callbacks.h
@@ -4,6 +4,7 @@
#define GIRARA_CALLBACKS_H
#include "types.h"
+#include "macros.h"
#include <gtk/gtk.h>
/**
@@ -108,7 +109,7 @@ bool girara_callback_inputbar_activate(G
* @return FALSE An error occurred
*/
bool girara_callback_inputbar_key_press_event(GtkWidget* widget,
- GdkEventKey* event, girara_session_t* session);
+ GdkEventKey* event, girara_session_t* session) GIRARA_OPTNONE;
/**
* Default callback if the text of the input bar has changed

View File

@ -1,15 +0,0 @@
--- girara/macros.h.orig 2015-04-13 20:49:26 UTC
+++ girara/macros.h
@@ -69,4 +69,12 @@
GIRARA_DO_PRAGMA(GCC diagnostic pop)
#endif
+#ifndef GIRARA_OPTNONE
+# if defined(__clang__)
+# define GIRARA_OPTNONE __attribute__ ((optnone))
+# else
+# define GIRARA_OPTNONE
+# endif
+#endif
+
#endif

View File

@ -7,6 +7,7 @@ include/girara/datastructures.h
include/girara/entry.h
include/girara/girara.h
include/girara/input-history.h
include/girara/log.h
include/girara/macros.h
include/girara/session.h
include/girara/settings.h