summaryrefslogtreecommitdiff
path: root/graphics/mpeg2play/files/patch-aa
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-08-12 06:56:30 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-08-12 06:56:30 +0000
commita071303f4b9c6c4ffbceb54da0a3106c20aa4181 (patch)
treee995c8d22a8c94c3179d50e4b7db5f0be7896c98 /graphics/mpeg2play/files/patch-aa
parentUpdate to use the 5 "official" patches from the author. (diff)
Update MASTER_SITES. Now requires Motif.
Notes
Notes: svn path=/head/; revision=7543
Diffstat (limited to '')
-rw-r--r--graphics/mpeg2play/files/patch-aa29
1 files changed, 9 insertions, 20 deletions
diff --git a/graphics/mpeg2play/files/patch-aa b/graphics/mpeg2play/files/patch-aa
index e554f46db990..8b1efae8a44e 100644
--- a/graphics/mpeg2play/files/patch-aa
+++ b/graphics/mpeg2play/files/patch-aa
@@ -1,22 +1,11 @@
---- Makefile 1996/06/18 18:52:34 1.1
-+++ Makefile 1996/06/18 20:40:21
-@@ -44,8 +44,8 @@
- # set INCLUDEDIR to -I followed by the appropriate include file path and
- # set LIBRARYDIR to -L followed by the appropriate library path and
+--- mpeg2play.c 1997/08/11 18:58:37 1.1
++++ mpeg2play.c 1997/08/11 19:07:22
+@@ -335,7 +335,7 @@
+ XmStringGetLtoR(((XmFileSelectionBoxCallbackStruct *)call_data)->value,
+ XmSTRING_DEFAULT_CHARSET, &filename);
--#INCLUDEDIR = -I/usr/include
--#LIBRARYDIR = -L/usr/lib
-+INCLUDEDIR = -I${X11BASE}/include
-+LIBRARYDIR = -L${X11BASE}/lib
+- position = tell(base.infile);
++ position = lseek(base.infile, 0L, SEEK_CUR);
+ fprintf(stderr, "pos: %d\n", position);
+ fprintf(stderr, "output: %s\n", filename);
- # select one of the following CC CFLAGS settings
-
-@@ -53,7 +53,7 @@
- # GNU gcc
- #
- CC = gcc
--CFLAGS = -O2 $(USE_DISP) $(USE_SHMEM) $(USE_TIME) $(INCLUDEDIR)
-+CFLAGS = -O2 -m486 $(USE_DISP) $(USE_SHMEM) $(USE_TIME) $(INCLUDEDIR)
-
- #
- # SPARCworks acc