diff options
author | asami <asami@FreeBSD.org> | 1996-07-10 13:32:54 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-07-10 13:32:54 +0800 |
commit | 346ddc50de4e2720bf14fbbcc4caf8600c513d1f (patch) | |
tree | 546cfc06daf7887dd50f4926f2b722805096ed24 /multimedia/mpeg2codec/files | |
parent | 41b017c3a937e6a5a71cb1d9c5bab8b771fe0069 (diff) | |
download | freebsd-ports-gnome-346ddc50de4e2720bf14fbbcc4caf8600c513d1f.tar.gz freebsd-ports-gnome-346ddc50de4e2720bf14fbbcc4caf8600c513d1f.tar.zst freebsd-ports-gnome-346ddc50de4e2720bf14fbbcc4caf8600c513d1f.zip |
mpeg-2 encoder/decoder.
Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
Diffstat (limited to 'multimedia/mpeg2codec/files')
-rw-r--r-- | multimedia/mpeg2codec/files/patch-aa | 41 | ||||
-rw-r--r-- | multimedia/mpeg2codec/files/patch-ab | 19 |
2 files changed, 60 insertions, 0 deletions
diff --git a/multimedia/mpeg2codec/files/patch-aa b/multimedia/mpeg2codec/files/patch-aa new file mode 100644 index 000000000000..44805e70d67d --- /dev/null +++ b/multimedia/mpeg2codec/files/patch-aa @@ -0,0 +1,41 @@ +--- Makefile 1996/06/18 18:44:04 1.1 ++++ Makefile 1996/06/18 19:46:05 +@@ -30,23 +30,23 @@ + # uncomment the following two lines if you want to include X11 support + # (mpeg2decode) + +-#USE_DISP = -DDISPLAY +-#LIBS = -lX11 ++USE_DISP = -DDISPLAY ++LIBS = -lX11 + + # uncomment the following two lines if you want to use shared memory + # (faster display if server and client run on the same machine) + # (mpeg2decode) + +-#USE_SHMEM = -DSH_MEM +-#LIBS = -lXext -lX11 ++USE_SHMEM = -DSH_MEM ++LIBS = -lXext -lX11 + + # if your X11 include files / libraries are in a non standard location: + # set INCLUDEDIR to -I followed by the appropriate include file path and + # set LIBRARYDIR to -L followed by the appropriate library path + # (mpeg2decode) + +-#INCLUDEDIR = -I/usr/openwin/include +-#LIBRARYDIR = -L/usr/openwin/lib ++INCLUDEDIR = -I${X11BASE}/include ++LIBRARYDIR = -L${X11BASE}/lib + + # select one of the following CC CFLAGS settings + +@@ -54,7 +54,7 @@ + # GNU gcc + # + CC = gcc +-CFLAGS = -O2 ++CFLAGS = -O2 -m486 + + # + # SPARCworks acc diff --git a/multimedia/mpeg2codec/files/patch-ab b/multimedia/mpeg2codec/files/patch-ab new file mode 100644 index 000000000000..326acaa4bc00 --- /dev/null +++ b/multimedia/mpeg2codec/files/patch-ab @@ -0,0 +1,19 @@ +--- src/mpeg2enc/mpeg2enc.c 1996/06/20 19:58:58 1.1 ++++ src/mpeg2enc/mpeg2enc.c 1996/06/20 19:36:25 +@@ -29,6 +29,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <floatingpoint.h> + + #define GLOBAL /* used by global.h */ + #include "config.h" +@@ -50,6 +51,8 @@ + printf("Usage: mpeg2encode in.par out.m2v\n"); + exit(0); + } ++ ++ fpsetmask(0); + + /* read parameter file */ + readparmfile(argv[1]); |