Make "mpeg_lib" 64Bit clean. Patches supplied by Tim Rightnour in

PR pkg/5629.
This commit is contained in:
tron 1998-06-26 23:19:04 +00:00
parent 0cc6a88764
commit 8a978eff80
2 changed files with 15 additions and 7 deletions

View file

@ -1,8 +1,6 @@
--- wrapper.c.orig Tue Oct 10 22:08:39 1995
+++ wrapper.c Sat Jun 27 00:58:27 1998
@@ -52,6 +52,11 @@
#include "dither.h"
#include "globals.h"
--- wrapper.c.orig Tue Oct 10 14:08:39 1995
+++ wrapper.c Sat Jun 20 00:48:55 1998
@@ -54,2 +54,7 @@
+#ifdef __NetBSD__
+#include <stdlib.h>
@ -10,5 +8,8 @@
+#endif
+
#define BUF_LENGTH 80000
@@ -327,3 +332,3 @@
---------------------------------------------------------------------------- */
-void SetMPEGOption (MPEGOptionEnum Option, int Value)
+void SetMPEGOption (MPEGOptionEnum Option, long Value)
{

View file

@ -0,0 +1,7 @@
--- mpeg.h.orig Sat Jun 20 00:49:18 1998
+++ mpeg.h Sat Jun 20 00:49:29 1998
@@ -103,3 +103,3 @@
Boolean RewindMPEG PROTO((FILE *MPEGfile, ImageDesc *Image));
-void SetMPEGOption PROTO((MPEGOptionEnum Option, int value));
+void SetMPEGOption PROTO((MPEGOptionEnum Option, long value));
Boolean GetMPEGFrame PROTO((char *Frame));