ports/53106: Update port: multimedia/gopchop to 0.9.0

KATO Tsuguru tkato at prontomail.com
Mon Jun 9 14:20:28 UTC 2003


>Number:         53106
>Category:       ports
>Synopsis:       Update port: multimedia/gopchop to 0.9.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 07:20:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.0

New file:
patch-include::GOPchop.h

Remove file:
files/patch-src::Parser.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/multimedia/gopchop/Makefile multimedia/gopchop/Makefile
--- /usr/ports/multimedia/gopchop/Makefile	Mon May 12 17:14:44 2003
+++ multimedia/gopchop/Makefile	Sun Jun  8 16:58:50 2003
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	gopchop
-PORTVERSION=	0.8
+PORTVERSION=	0.9.0
 PORTREVISION=	0
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
diff -urN /usr/ports/multimedia/gopchop/distinfo multimedia/gopchop/distinfo
--- /usr/ports/multimedia/gopchop/distinfo	Wed Apr 16 01:35:23 2003
+++ multimedia/gopchop/distinfo	Sun Jun  8 16:37:51 2003
@@ -1 +1 @@
-MD5 (GOPchop-0.8.tar.gz) = c3c2a6d784196111c49a3855052936ad
+MD5 (GOPchop-0.9.0.tar.gz) = 506fa5b3679cceaad00f75b6b40ac1fa
diff -urN /usr/ports/multimedia/gopchop/files/patch-include::GOPchop.h multimedia/gopchop/files/patch-include::GOPchop.h
--- /usr/ports/multimedia/gopchop/files/patch-include::GOPchop.h	Thu Jan  1 09:00:00 1970
+++ multimedia/gopchop/files/patch-include::GOPchop.h	Sun Jun  8 16:59:21 2003
@@ -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 -urN /usr/ports/multimedia/gopchop/files/patch-src::Parser.h multimedia/gopchop/files/patch-src::Parser.h
--- /usr/ports/multimedia/gopchop/files/patch-src::Parser.h	Mon May 12 16:53:38 2003
+++ multimedia/gopchop/files/patch-src::Parser.h	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/multimedia/gopchop/files/patch-src::mpegcat.c multimedia/gopchop/files/patch-src::mpegcat.c
--- /usr/ports/multimedia/gopchop/files/patch-src::mpegcat.c	Mon May 12 16:53:38 2003
+++ multimedia/gopchop/files/patch-src::mpegcat.c	Sun Jun  8 16:50:44 2003
@@ -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 -urN /usr/ports/multimedia/gopchop/pkg-plist multimedia/gopchop/pkg-plist
--- /usr/ports/multimedia/gopchop/pkg-plist	Wed Apr 16 01:35:23 2003
+++ multimedia/gopchop/pkg-plist	Sun Jun  8 16:58:01 2003
@@ -3,5 +3,7 @@
 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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list