mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
update multimedia/gopchop: 0.8 --> 0.9.0
PR: 53106 Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
parent
a45f1fdf31
commit
c524310cfe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83975
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gopchop
|
||||
PORTVERSION= 0.8
|
||||
PORTVERSION= 0.9.0
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
|
@ -1 +1 @@
|
||||
MD5 (GOPchop-0.8.tar.gz) = c3c2a6d784196111c49a3855052936ad
|
||||
MD5 (GOPchop-0.9.0.tar.gz) = 506fa5b3679cceaad00f75b6b40ac1fa
|
||||
|
26
multimedia/gopchop/files/patch-include::GOPchop.h
Normal file
26
multimedia/gopchop/files/patch-include::GOPchop.h
Normal file
@ -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!"
|
@ -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"
|
||||
|
@ -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':
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user