aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@FreeBSD.org>2008-05-08 18:12:05 +0000
committerHenrik Brix Andersen <brix@FreeBSD.org>2008-05-08 18:12:05 +0000
commitd164b01952011c94112ca3732edbc29dc237bbce (patch)
tree900a92da91488e1607667cb292a2d41435264550 /graphics
parent852be25a95f35a064852f0adcabac0c08dfb52c5 (diff)
downloadports-d164b01952011c94112ca3732edbc29dc237bbce.tar.gz
ports-d164b01952011c94112ca3732edbc29dc237bbce.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/swfdec/Makefile8
-rw-r--r--graphics/swfdec/distinfo6
-rw-r--r--graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c16
3 files changed, 8 insertions, 22 deletions
diff --git a/graphics/swfdec/Makefile b/graphics/swfdec/Makefile
index cce4ee5d2919..f6a63aab80ae 100644
--- a/graphics/swfdec/Makefile
+++ b/graphics/swfdec/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= swfdec
-PORTVERSION= 0.6.0
-PORTREVISION= 1
+PORTVERSION= 0.6.6
CATEGORIES= graphics
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.6/
@@ -31,6 +30,8 @@ OPTIONS= GSTREAMER "Support for decoding some codecs with GStreamer" off
PLIST_SUB= VERSION=${PORTVERSION:R}
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GSTREAMER)
USE_GSTREAMER= yes
.else
@@ -41,4 +42,5 @@ CONFIGURE_ARGS+= --disable-gstreamer --enable-ffmpeg --enable-mad
post-patch:
@${REINPLACE_CMD} -e 's|SWFDEC_LIBVERSION="0:0:0"|SWFDEC_LIBVERSION="1:0:0"|' ${WRKSRC}/configure.ac
-.include <bsd.port.mk>
+
+.include <bsd.port.post.mk>
diff --git a/graphics/swfdec/distinfo b/graphics/swfdec/distinfo
index 8359a495cd09..8d74c8c388ca 100644
--- a/graphics/swfdec/distinfo
+++ b/graphics/swfdec/distinfo
@@ -1,3 +1,3 @@
-MD5 (swfdec-0.6.0.tar.gz) = c012a5e6dd23558b86d2e08e2e43857b
-SHA256 (swfdec-0.6.0.tar.gz) = bd7c9068ce545ef75f8820b94f6b0954194ca5b106a53463bf9a6ed448fa057f
-SIZE (swfdec-0.6.0.tar.gz) = 8762575
+MD5 (swfdec-0.6.6.tar.gz) = 3e91d48e0b8b839e12ff8f9ced4b5040
+SHA256 (swfdec-0.6.6.tar.gz) = 46d95b19f6a855ee95671928f1d23cd3991a151131a13fa89d2c388ad20e4a82
+SIZE (swfdec-0.6.6.tar.gz) = 8773316
diff --git a/graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c b/graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c
deleted file mode 100644
index 2a62e63dee30..000000000000
--- a/graphics/swfdec/files/patch-swfdec-gtk_swfdec_gtk_system.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- 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 ***/