diff options
author | wollman <wollman@FreeBSD.org> | 2002-06-03 22:21:37 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-06-03 22:21:37 +0000 |
commit | 5c229ff92731aa7260fe31431ae2ab01b7a92adc (patch) | |
tree | 16b45aa3f10f4c33e0bd7de5d1d692964b9de835 /graphics | |
parent | cd9dcf4e170aac8f6b62352650f5944b9ba7dec4 (diff) | |
download | FreeBSD-ports-5c229ff92731aa7260fe31431ae2ab01b7a92adc.zip FreeBSD-ports-5c229ff92731aa7260fe31431ae2ab01b7a92adc.tar.gz |
Build a new scanner to avoid compilation errors in crufty old AT&T
scanner skeleton.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mpeg/Makefile | 3 | ||||
-rw-r--r-- | graphics/mpeg/files/patch-lexer.l | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/mpeg/Makefile b/graphics/mpeg/Makefile index 6d7bc97..72d2a11 100644 --- a/graphics/mpeg/Makefile +++ b/graphics/mpeg/Makefile @@ -19,7 +19,8 @@ WRKSRC= ${WRKDIR}/mpegdir MAN1= mpeg.1 pre-build: - @${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile + @-${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile + cd ${WRKSRC} && lex -lt lexer.l >lexer.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mpeg ${PREFIX}/bin diff --git a/graphics/mpeg/files/patch-lexer.l b/graphics/mpeg/files/patch-lexer.l new file mode 100644 index 0000000..e7aa705 --- /dev/null +++ b/graphics/mpeg/files/patch-lexer.l @@ -0,0 +1,15 @@ +--- lexer.l.orig Mon Jun 3 18:16:25 2002 ++++ lexer.l Mon Jun 3 18:16:32 2002 +@@ -1,3 +1,4 @@ ++%{ + /************************************************************* + Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved. + PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research +@@ -15,7 +16,6 @@ + Video Research Group (PVRG) code, and not by any author(s) (or + Stanford University) name. + *************************************************************/ +-%{ + + /*LABEL lexer.c */ + |