#! /bin/sh /usr/share/dpatch/dpatch-run ## 03_link_against_libm.dpatch by Ilya Barygin ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Add missing library to fix FTBFS with --no-add-needed. @DPATCH@ diff -urNad contextfree-2.2~/Makefile contextfree-2.2/Makefile --- contextfree-2.2~/Makefile 2009-02-09 22:43:02.000000000 +0100 +++ contextfree-2.2/Makefile 2009-02-09 22:43:03.000000000 +0100 @@ -51,7 +51,7 @@ # Under Cygwin replace strip $@ with strip $@.exe cfdg: $(OBJS) - $(LINK.o) $^ /usr/lib/libagg.a -L/usr/local/lib -lstdc++ -lpng -fexceptions -o $@ + $(LINK.o) $^ /usr/lib/libagg.a -L/usr/local/lib -lstdc++ -lpng -lm -fexceptions -o $@ strip $@