From a077b3877a297caf47b92196f903167fdb28e96f Mon Sep 17 00:00:00 2001 From: Binh Nguyen Date: Wed, 15 Dec 2010 20:01:05 -0200 Subject: network/gtorrentviewer: Included two patches. Signed-off-by: Niels Horn --- .../GTorrentViewer-0.2b-tracker-details-refresh.patch | 18 ++++++++++++++++++ .../patches/gtorrentviewer-0.2b-desktop.patch | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 network/gtorrentviewer/patches/GTorrentViewer-0.2b-tracker-details-refresh.patch create mode 100644 network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch (limited to 'network/gtorrentviewer/patches') diff --git a/network/gtorrentviewer/patches/GTorrentViewer-0.2b-tracker-details-refresh.patch b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-tracker-details-refresh.patch new file mode 100644 index 0000000000..ece646178a --- /dev/null +++ b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-tracker-details-refresh.patch @@ -0,0 +1,18 @@ +This patch fixes a crash when the "Refresh" button in the "Tracker Details" +tab is pushed, due to the use of an uninitialized GValue. + +https://bugzilla.redhat.com/show_bug.cgi?id=542502 +https://bugzilla.redhat.com/show_bug.cgi?id=572806 +https://bugzilla.redhat.com/show_bug.cgi?id=593734 + +--- GTorrentViewer-0.2b/src/mainwindow.c.orig 2004-10-26 05:37:58.000000000 +0100 ++++ GTorrentViewer-0.2b/src/mainwindow.c 2010-06-25 14:43:22.391786427 +0100 +@@ -744,7 +744,7 @@ + { + GtkListStore *list; + GtkTreeIter iter; +- GValue itemvalue; ++ GValue itemvalue = {0}; + gchar *tracker; + GError *err; + diff --git a/network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch b/network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch new file mode 100644 index 0000000000..ca12b05ec3 --- /dev/null +++ b/network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch @@ -0,0 +1,17 @@ +--- GTorrentViewer-0.2b/data/gtorrentviewer.desktop.in.orig 2004-10-21 05:40:16.000000000 +0100 ++++ GTorrentViewer-0.2b/data/gtorrentviewer.desktop.in 2007-08-12 12:14:52.000000000 +0100 +@@ -2,7 +2,7 @@ + _Name=Torrent Metainfo Viewer + _GenericName=Torrent Viewer + _Comment=Viewer and Editor for .torrent files +-Exec=gtorrentviewer %U ++Exec=gtorrentviewer %f + Icon=gtorrentviewer.png + StartupNotify=false + Terminal=false +@@ -10,4 +10,4 @@ + Encoding=UTF-8 + Categories=Application;Network; + MimeType=application/x-bittorrent; +-Version=0.2 ++Version=1.0 -- cgit v1.2.3