summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/swfdec/Makefile7
-rw-r--r--graphics/swfdec/distinfo6
-rw-r--r--graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c16
-rw-r--r--graphics/swfdec/pkg-plist3
4 files changed, 24 insertions, 8 deletions
diff --git a/graphics/swfdec/Makefile b/graphics/swfdec/Makefile
index b9520f1c1..671208636 100644
--- a/graphics/swfdec/Makefile
+++ b/graphics/swfdec/Makefile
@@ -4,13 +4,12 @@
# Whom: ijliao
#
# $FreeBSD$
-# $MCom: ports/graphics/swfdec/Makefile,v 1.12 2008/02/01 08:37:01 marcus Exp $
+# $MCom: ports/graphics/swfdec/Makefile,v 1.13 2008/02/11 21:38:55 marcus Exp $
PORTNAME= swfdec
-PORTVERSION= 0.5.90
-PORTREVISION= 2
+PORTVERSION= 0.6.0
CATEGORIES= graphics
-MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.5/
+MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.6/
MAINTAINER= alexbl@FreeBSD.org
COMMENT= Flash Rendering Library
diff --git a/graphics/swfdec/distinfo b/graphics/swfdec/distinfo
index a40cba7a8..8359a495c 100644
--- a/graphics/swfdec/distinfo
+++ b/graphics/swfdec/distinfo
@@ -1,3 +1,3 @@
-MD5 (swfdec-0.5.90.tar.gz) = c37ec400072916b6d8dc9384d56343e6
-SHA256 (swfdec-0.5.90.tar.gz) = 9fbed579eb8f2d33de8d974e3a987728609235ddb5bf24510ff6b65ac396b9d7
-SIZE (swfdec-0.5.90.tar.gz) = 8395052
+MD5 (swfdec-0.6.0.tar.gz) = c012a5e6dd23558b86d2e08e2e43857b
+SHA256 (swfdec-0.6.0.tar.gz) = bd7c9068ce545ef75f8820b94f6b0954194ca5b106a53463bf9a6ed448fa057f
+SIZE (swfdec-0.6.0.tar.gz) = 8762575
diff --git a/graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c b/graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c
new file mode 100644
index 000000000..2a62e63de
--- /dev/null
+++ b/graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c
@@ -0,0 +1,16 @@
+--- swfdec-gtk/swfdec_gtk_system.c.orig 2008-02-22 15:38:09.000000000 -0500
++++ swfdec-gtk/swfdec_gtk_system.c 2008-02-22 15:38:13.000000000 -0500
+@@ -114,8 +114,12 @@ swfdec_gtk_system_get_language (void)
+ static int
+ swfdec_gtk_system_get_utc_offset (void)
+ {
++ struct tm *t;
++ time_t tt;
+ tzset ();
+- return timezone / 60;
++ tt = time (NULL);
++ t = localtime (&tt);
++ return t->tm_gmtoff / 60;
+ }
+
+ /*** PUBLIC API ***/
diff --git a/graphics/swfdec/pkg-plist b/graphics/swfdec/pkg-plist
index 7e47e7c0d..4bece92d5 100644
--- a/graphics/swfdec/pkg-plist
+++ b/graphics/swfdec/pkg-plist
@@ -3,6 +3,7 @@ include/swfdec-%%VERSION%%/swfdec-gtk/swfdec_gtk_keys.h
include/swfdec-%%VERSION%%/swfdec-gtk/swfdec_gtk_loader.h
include/swfdec-%%VERSION%%/swfdec-gtk/swfdec_gtk_player.h
include/swfdec-%%VERSION%%/swfdec-gtk/swfdec_gtk_socket.h
+include/swfdec-%%VERSION%%/swfdec-gtk/swfdec_gtk_system.h
include/swfdec-%%VERSION%%/swfdec-gtk/swfdec_gtk_widget.h
include/swfdec-%%VERSION%%/swfdec/swfdec.h
include/swfdec-%%VERSION%%/swfdec/swfdec_as_array.h
@@ -62,7 +63,7 @@ share/gtk-doc/html/swfdec/index.sgml
share/gtk-doc/html/swfdec/left.png
share/gtk-doc/html/swfdec/right.png
share/gtk-doc/html/swfdec/style.css
-share/gtk-doc/html/swfdec/swfdec-Enumerations.html
+share/gtk-doc/html/swfdec/swfdec-Enumerations-and-Types.html
share/gtk-doc/html/swfdec/swfdec-Gtk-extension-objects.html
share/gtk-doc/html/swfdec/swfdec-Internals.html
share/gtk-doc/html/swfdec/swfdec-SwfdecAsValue.html