freebsd-ports/multimedia/gopchop/files/patch-src::mpegcat.c
Daichi GOTO c524310cfe update multimedia/gopchop: 0.8 --> 0.9.0
PR:		53106
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-07-01 10:27:56 +00:00

22 lines
540 B
C

--- 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':
+#ifdef __FreeBSD__
+ num_bytes = strtoll(optarg, NULL, 10);
+#else
num_bytes = atoll(optarg);
+#endif
break;
case 'b':
+#ifdef __FreeBSD__
+ begin_at = num_bytes = strtoll(optarg, NULL, 10);
+#else
begin_at = atoll(optarg);
+#endif
break;
case 'w':