diff options
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/grsync/grsync-1.3.1.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/x11-misc/grsync/grsync-1.3.1.ebuild b/x11-misc/grsync/grsync-1.3.1.ebuild index b54007c5ee03..20da83187937 100644 --- a/x11-misc/grsync/grsync-1.3.1.ebuild +++ b/x11-misc/grsync/grsync-1.3.1.ebuild @@ -23,6 +23,15 @@ BDEPEND="virtual/pkgconfig DOCS="AUTHORS NEWS README" +src_prepare() { + default + + if ! use gtk3; then + sed -e "s/gtk_widget_override_font/gtk_widget_modify_font/" \ + -i src/callbacks.c || die + fi +} + src_configure() { econf --disable-unity $(use_enable gtk3) } |