aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mpeg2codec/files
diff options
context:
space:
mode:
authorerich <erich@FreeBSD.org>1996-12-09 23:37:29 +0800
committererich <erich@FreeBSD.org>1996-12-09 23:37:29 +0800
commit685f96a90b52e522d569f2aa1f8fba7126db2efd (patch)
tree86c42c96d6f005dfbbb907e67b6db355ad11a9ea /graphics/mpeg2codec/files
parent928047539082c5b51f725a5d4e42e42ab2f06ca9 (diff)
downloadfreebsd-ports-gnome-685f96a90b52e522d569f2aa1f8fba7126db2efd.tar.gz
freebsd-ports-gnome-685f96a90b52e522d569f2aa1f8fba7126db2efd.tar.zst
freebsd-ports-gnome-685f96a90b52e522d569f2aa1f8fba7126db2efd.zip
upgrade to v 1.2
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>, with minor mods by me
Diffstat (limited to 'graphics/mpeg2codec/files')
-rw-r--r--graphics/mpeg2codec/files/patch-aa18
-rw-r--r--graphics/mpeg2codec/files/patch-ab10
2 files changed, 16 insertions, 12 deletions
diff --git a/graphics/mpeg2codec/files/patch-aa b/graphics/mpeg2codec/files/patch-aa
index 44805e70d67d..cc0c7428c543 100644
--- a/graphics/mpeg2codec/files/patch-aa
+++ b/graphics/mpeg2codec/files/patch-aa
@@ -1,13 +1,12 @@
---- Makefile 1996/06/18 18:44:04 1.1
-+++ Makefile 1996/06/18 19:46:05
-@@ -30,23 +30,23 @@
+--- Makefile 1996/11/25 19:40:19 1.1
++++ Makefile 1996/11/25 21:33:39
+@@ -30,31 +30,31 @@
# uncomment the following two lines if you want to include X11 support
# (mpeg2decode)
-#USE_DISP = -DDISPLAY
--#LIBS = -lX11
+USE_DISP = -DDISPLAY
-+LIBS = -lX11
+ #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)
@@ -30,12 +29,13 @@
# select one of the following CC CFLAGS settings
-@@ -54,7 +54,7 @@
+ #
# GNU gcc
#
- CC = gcc
+-CC = gcc
-CFLAGS = -O2
++CC = cc
+CFLAGS = -O2 -m486
- #
- # SPARCworks acc
+ all: mpeg2decode mpeg2encode
+
diff --git a/graphics/mpeg2codec/files/patch-ab b/graphics/mpeg2codec/files/patch-ab
index 326acaa4bc00..b0f6df0ce9fb 100644
--- a/graphics/mpeg2codec/files/patch-ab
+++ b/graphics/mpeg2codec/files/patch-ab
@@ -1,5 +1,5 @@
---- src/mpeg2enc/mpeg2enc.c 1996/06/20 19:58:58 1.1
-+++ src/mpeg2enc/mpeg2enc.c 1996/06/20 19:36:25
+--- ./src/mpeg2enc/mpeg2enc.c 1996/11/25 21:18:23 1.1
++++ ./src/mpeg2enc/mpeg2enc.c 1996/11/25 21:22:40
@@ -29,6 +29,7 @@
#include <stdio.h>
@@ -8,11 +8,15 @@
#define GLOBAL /* used by global.h */
#include "config.h"
-@@ -50,6 +51,8 @@
+@@ -50,6 +51,12 @@
printf("Usage: mpeg2encode in.par out.m2v\n");
exit(0);
}
+
++ /*
++ * this prevents a floating point exception in calcSNR (stats.c) when
++ * working on black and white images (charnier@lirmm.fr)
++ */
+ fpsetmask(0);
/* read parameter file */