summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-01 10:27:56 +0000
committerdaichi <daichi@FreeBSD.org>2003-07-01 10:27:56 +0000
commit32b210f126e353770c4129a55139f7e83380776e (patch)
tree0fb0d58d9bc0a2e61136cdef74537b4c5447bb29 /multimedia
parent12e552bddcaf4b1df7bc32dae0fa2e31de907271 (diff)
downloadFreeBSD-ports-32b210f126e353770c4129a55139f7e83380776e.zip
FreeBSD-ports-32b210f126e353770c4129a55139f7e83380776e.tar.gz
update multimedia/gopchop: 0.8 --> 0.9.0
PR: 53106 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gopchop/Makefile2
-rw-r--r--multimedia/gopchop/distinfo2
-rw-r--r--multimedia/gopchop/files/patch-include::GOPchop.h26
-rw-r--r--multimedia/gopchop/files/patch-src::Parser.h12
-rw-r--r--multimedia/gopchop/files/patch-src::mpegcat.c26
-rw-r--r--multimedia/gopchop/pkg-plist2
6 files changed, 43 insertions, 27 deletions
diff --git a/multimedia/gopchop/Makefile b/multimedia/gopchop/Makefile
index cbe3e92..2226092 100644
--- a/multimedia/gopchop/Makefile
+++ b/multimedia/gopchop/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gopchop
-PORTVERSION= 0.8
+PORTVERSION= 0.9.0
PORTREVISION= 0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
diff --git a/multimedia/gopchop/distinfo b/multimedia/gopchop/distinfo
index ac73bc3..963200a 100644
--- a/multimedia/gopchop/distinfo
+++ b/multimedia/gopchop/distinfo
@@ -1 +1 @@
-MD5 (GOPchop-0.8.tar.gz) = c3c2a6d784196111c49a3855052936ad
+MD5 (GOPchop-0.9.0.tar.gz) = 506fa5b3679cceaad00f75b6b40ac1fa
diff --git a/multimedia/gopchop/files/patch-include::GOPchop.h b/multimedia/gopchop/files/patch-include::GOPchop.h
new file mode 100644
index 0000000..a54d5a6
--- /dev/null
+++ b/multimedia/gopchop/files/patch-include::GOPchop.h
@@ -0,0 +1,26 @@
+--- include/GOPchop.h.orig Sun Apr 27 13:13:19 2003
++++ include/GOPchop.h Sun Jun 8 16:59:13 2003
+@@ -31,7 +31,13 @@
+ #endif
+
+ /* get the cool numbers */
+-#include <stdint.h>
++#ifdef HAVE_STDINT_H
++# include <stdint.h>
++#endif
++
++#ifdef HAVE_INTTYPES_H
++# include <inttypes.h>
++#endif
+
+ /* import locale functions */
+ #include "gettext.h"
+@@ -50,7 +56,7 @@
+ #endif
+
+ /* figure out off_t formatting */
+-#if _FILE_OFFSET_BITS==64
++#if _FILE_OFFSET_BITS==64 || defined(__FreeBSD__)
+ # define OFF_T_FORMAT "llu"
+ #else
+ # warning "Not compiling for large file (>2G) support!"
diff --git a/multimedia/gopchop/files/patch-src::Parser.h b/multimedia/gopchop/files/patch-src::Parser.h
deleted file mode 100644
index e2aff15..0000000
--- a/multimedia/gopchop/files/patch-src::Parser.h
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/Parser.h.orig Mon Apr 7 07:24:42 2003
-+++ src/Parser.h Tue May 6 21:36:18 2003
-@@ -42,7 +42,9 @@
- // strlen
- #include <string.h>
-
-+#ifdef HAVE_STDINT_H
- #include <stdint.h>
-+#endif
-
- #include "List.h"
-
diff --git a/multimedia/gopchop/files/patch-src::mpegcat.c b/multimedia/gopchop/files/patch-src::mpegcat.c
index 54432d9..d04927b 100644
--- a/multimedia/gopchop/files/patch-src::mpegcat.c
+++ b/multimedia/gopchop/files/patch-src::mpegcat.c
@@ -1,22 +1,22 @@
---- src/mpegcat.c.orig Mon Apr 14 12:21:04 2003
-+++ src/mpegcat.c Tue May 6 21:46:58 2003
-@@ -390,11 +390,19 @@
- break;
+--- src/mpegcat.c.orig Sun Apr 27 12:08:37 2003
++++ src/mpegcat.c Sun Jun 8 16:50:36 2003
+@@ -392,11 +392,19 @@
+ break;
- case 'n':
+ case 'n':
+#ifdef __FreeBSD__
-+ num_bytes = strtoll(optarg, NULL, 10);
++ num_bytes = strtoll(optarg, NULL, 10);
+#else
- num_bytes = atoll(optarg);
+ num_bytes = atoll(optarg);
+#endif
- break;
+ break;
- case 'b':
+ case 'b':
+#ifdef __FreeBSD__
-+ begin_at = strtoll(optarg, NULL, 10);
++ begin_at = num_bytes = strtoll(optarg, NULL, 10);
+#else
- begin_at = atoll(optarg);
+ begin_at = atoll(optarg);
+#endif
- break;
+ break;
- case 'w':
+ case 'w':
diff --git a/multimedia/gopchop/pkg-plist b/multimedia/gopchop/pkg-plist
index e128851..835cdd5 100644
--- a/multimedia/gopchop/pkg-plist
+++ b/multimedia/gopchop/pkg-plist
@@ -3,5 +3,7 @@ bin/gtkspu
bin/mpegcat
share/GOPchop/pixmaps/about.xpm
share/GOPchop/pixmaps/error.xpm
+share/locale/en/LC_MESSAGES/GOPchop.mo
+share/locale/fr/LC_MESSAGES/GOPchop.mo
@dirrm share/GOPchop/pixmaps
@dirrm share/GOPchop
OpenPOWER on IntegriCloud