file-roller 3.16.4

Closes Homebrew/homebrew#43603.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Tom Schoonjans 2015-09-05 12:32:33 +05:30 committed by Dominyk Tiller
parent aeb0c6cfe9
commit 2f7c3841d3

View file

@ -1,8 +1,8 @@
class FileRoller < Formula
desc "GNOME archive manager"
homepage "https://wiki.gnome.org/Apps/FileRoller"
url "https://download.gnome.org/sources/file-roller/3.16/file-roller-3.16.3.tar.xz"
sha256 "2b3a1111caba26e67b96559a3118a700dbfb6a4c6ad7ebd3e509df227995411c"
url "https://download.gnome.org/sources/file-roller/3.16/file-roller-3.16.4.tar.xz"
sha256 "5455980b2c9c7eb063d2d65560ae7ab2e7f01b208ea3947e151680231c7a4185"
bottle do
sha256 "28b7c7a17489bf7bf443d921778c97dca8607be10a48bc17a7515c24109a12d4" => :yosemite
@ -21,10 +21,6 @@ class FileRoller < Formula
depends_on "hicolor-icon-theme"
depends_on "gnome-icon-theme"
# patch submitted upstream as https://bugzilla.gnome.org/show_bug.cgi?id=754362
# has been accepted for 3.16.4
patch :DATA
def install
# forces use of gtk3-update-icon-cache instead of gtk-update-icon-cache. No bugreport should
# be filed for this since it only occurs because Homebrew renames gtk+3's gtk-update-icon-cache
@ -51,32 +47,3 @@ class FileRoller < Formula
system "#{bin}/file-roller", "--version"
end
end
__END__
diff --git a/src/dlg-package-installer.c b/src/dlg-package-installer.c
index 1b9d8c7..61f0dbf 100644
--- a/src/dlg-package-installer.c
+++ b/src/dlg-package-installer.c
@@ -22,7 +22,6 @@
#include <config.h>
#include <string.h>
#include <glib/gi18n.h>
-#include <gdk/gdkx.h>
#include <gtk/gtk.h>
#include "dlg-package-installer.h"
#include "gio-utils.h"
diff --git a/src/fr-command-lrzip.c b/src/fr-command-lrzip.c
index ad53a13..4fd2927 100644
--- a/src/fr-command-lrzip.c
+++ b/src/fr-command-lrzip.c
@@ -45,7 +45,11 @@ list__process_line (char *line,
struct stat st;
if (stat (comm->filename, &st) == 0)
+#ifdef __APPLE__
+ fdata->modified = st.st_mtime;
+#else
fdata->modified = st.st_mtim.tv_sec;
+#endif
else
time(&(fdata->modified));