View | Details | Raw Unified | Return to bug 123373
Collapse All | Expand All

(-)Makefile (-3 / +5 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	swfdec
9
PORTNAME=	swfdec
10
PORTVERSION=	0.6.0
10
PORTVERSION=	0.6.6
11
PORTREVISION=	1
12
CATEGORIES=	graphics
11
CATEGORIES=	graphics
13
MASTER_SITES=	http://swfdec.freedesktop.org/download/swfdec/0.6/
12
MASTER_SITES=	http://swfdec.freedesktop.org/download/swfdec/0.6/
14
13
Lines 31-36 OPTIONS= GSTREAMER "Support for decoding Link Here
31
30
32
PLIST_SUB=	VERSION=${PORTVERSION:R}
31
PLIST_SUB=	VERSION=${PORTVERSION:R}
33
32
33
.include <bsd.port.pre.mk>
34
34
.if defined(WITH_GSTREAMER)
35
.if defined(WITH_GSTREAMER)
35
USE_GSTREAMER=	yes
36
USE_GSTREAMER=	yes
36
.else
37
.else
Lines 41-44 CONFIGURE_ARGS+= --disable-gstreamer --e Link Here
41
42
42
post-patch:
43
post-patch:
43
	@${REINPLACE_CMD} -e 's|SWFDEC_LIBVERSION="0:0:0"|SWFDEC_LIBVERSION="1:0:0"|' ${WRKSRC}/configure.ac
44
	@${REINPLACE_CMD} -e 's|SWFDEC_LIBVERSION="0:0:0"|SWFDEC_LIBVERSION="1:0:0"|' ${WRKSRC}/configure.ac
44
.include <bsd.port.mk>
45
46
.include <bsd.port.post.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (swfdec-0.6.0.tar.gz) = c012a5e6dd23558b86d2e08e2e43857b
1
MD5 (swfdec-0.6.6.tar.gz) = 3e91d48e0b8b839e12ff8f9ced4b5040
2
SHA256 (swfdec-0.6.0.tar.gz) = bd7c9068ce545ef75f8820b94f6b0954194ca5b106a53463bf9a6ed448fa057f
2
SHA256 (swfdec-0.6.6.tar.gz) = 46d95b19f6a855ee95671928f1d23cd3991a151131a13fa89d2c388ad20e4a82
3
SIZE (swfdec-0.6.0.tar.gz) = 8762575
3
SIZE (swfdec-0.6.6.tar.gz) = 8773316
(-)files/patch-swfdec-gtk_swfdec_gtk_system.c (-16 lines)
Removed Link Here
1
--- swfdec-gtk/swfdec_gtk_system.c.orig	2008-02-22 15:38:09.000000000 -0500
2
+++ swfdec-gtk/swfdec_gtk_system.c	2008-02-22 15:38:13.000000000 -0500
3
@@ -114,8 +114,12 @@ swfdec_gtk_system_get_language (void)
4
 static int
5
 swfdec_gtk_system_get_utc_offset (void)
6
 {
7
+  struct tm *t;
8
+  time_t tt;
9
   tzset ();
10
-  return timezone / 60;
11
+  tt = time (NULL);
12
+  t = localtime (&tt);
13
+  return t->tm_gmtoff / 60;
14
 }
15
 
16
 /*** PUBLIC API ***/

Return to bug 123373