aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-01 10:27:56 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-01 10:27:56 +0000
commitc524310cfec7d459e861e53b6fb89af6dca1db1e (patch)
treed3c78002c37fb12d10706fe8ce75cd4a48484e7c /multimedia
parenta45f1fdf31cb54e1510e48bf4a1e86f203daa57e (diff)
downloadports-c524310cfec7d459e861e53b6fb89af6dca1db1e.tar.gz
ports-c524310cfec7d459e861e53b6fb89af6dca1db1e.zip
Notes
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 cbe3e9261fd6..222609279e02 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 ac73bc30bbaa..963200a1a23f 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 000000000000..a54d5a6d2061
--- /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 e2aff15470df..000000000000
--- 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 54432d9c7176..d04927be0f4e 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 e128851c2d9e..835cdd5756e1 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