From: David Spencer Date: Sat, 30 May 2015 06:38:08 +0100 Subject: libraries/libkate: Patched to fix building with -current. Fixes "undefined reference to yylex" build error. Signed-off-by: David Spencer --- libkate-0.4.1.old/Makefile.in +++ libkate-0.4.1/Makefile.in @@ -260,7 +260,6 @@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ LIBOBJS = @LIBOBJS@ --- libkate-0.4.1.old/configure.ac +++ libkate-0.4.1/configure.ac @@ -7,7 +7,7 @@ AC_CANONICAL_TARGET -AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) AC_CONFIG_HEADERS([include/config.h]) ifdef([AM_SILENT_RULES],[AM_SILENT_RULES]) --- libkate-0.4.1.old/doc/Makefile.in +++ libkate-0.4.1/doc/Makefile.in @@ -125,7 +125,6 @@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ LIBOBJS = @LIBOBJS@ --- libkate-0.4.1.old/tests/Makefile.in +++ libkate-0.4.1/tests/Makefile.in @@ -156,7 +156,6 @@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ LIBOBJS = @LIBOBJS@ --- libkate-0.4.1.old/tools/KateDJ/Makefile.in +++ libkate-0.4.1/tools/KateDJ/Makefile.in @@ -99,7 +99,6 @@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ LIBOBJS = @LIBOBJS@ --- libkate-0.4.1.old/tools/Makefile.am +++ libkate-0.4.1/tools/Makefile.am @@ -20,7 +20,7 @@ endif katedec_SOURCES=katedec.c kkate.c ksrt.c klrc.c kutil.c kfuzz.c kstream.c kread.c kstrings.c katalyzer_SOURCES=katalyzer.c kutil.c kstream.c kread.c kstrings.c kstats.c -kateenc_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ @LEXLIB@ +kateenc_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ katedec_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ katalyzer_LDADD=../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ kateenc_CFLAGS=@CWARNFLAGS_LIGHT@ @CFLAGS_FORTIFY_SOURCE@ @CFLAGS_DEBUG@ @OGG_CFLAGS@ @PNG_CFLAGS@ --- libkate-0.4.1.old/tools/Makefile.in +++ libkate-0.4.1/tools/Makefile.in @@ -223,7 +223,6 @@ LD = @LD@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ -LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LIBKATE_SHARED_VERSION = @LIBKATE_SHARED_VERSION@ LIBOBJS = @LIBOBJS@ @@ -351,7 +350,7 @@ @HAVE_OGG_TRUE@ $(am__append_1) @HAVE_OGG_TRUE@katedec_SOURCES = katedec.c kkate.c ksrt.c klrc.c kutil.c kfuzz.c kstream.c kread.c kstrings.c @HAVE_OGG_TRUE@katalyzer_SOURCES = katalyzer.c kutil.c kstream.c kread.c kstrings.c kstats.c -@HAVE_OGG_TRUE@kateenc_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ @LEXLIB@ +@HAVE_OGG_TRUE@kateenc_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @PNG_LIBS@ @HAVE_OGG_TRUE@katedec_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @HAVE_OGG_TRUE@katalyzer_LDADD = ../lib/liboggkate.la ../lib/libkate.la @OGG_LIBS@ @HAVE_OGG_TRUE@kateenc_CFLAGS = @CWARNFLAGS_LIGHT@ @CFLAGS_FORTIFY_SOURCE@ @CFLAGS_DEBUG@ @OGG_CFLAGS@ @PNG_CFLAGS@