diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1996-07-10 05:32:54 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1996-07-10 05:32:54 +0000 |
commit | 292e34c318757b751820e6ec9f315272f943588c (patch) | |
tree | 1c1be6236b31273261fc4067cc9a2c0152b26a39 /multimedia/mpeg2codec/files | |
parent | 722118d97f0970cd908158e3cd3f5f4ada340215 (diff) | |
download | ports-292e34c318757b751820e6ec9f315272f943588c.tar.gz ports-292e34c318757b751820e6ec9f315272f943588c.zip |
Notes
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]); |