From a0d567d95a8c713c862a76940888a47444025d16 Mon Sep 17 00:00:00 2001 From: Daniel Ahlberg Date: Thu, 27 Nov 2003 16:20:55 +0000 Subject: Closing #32951 --- dev-libs/libmcal/files/libmcal-0.7-fpic.patch | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dev-libs/libmcal/files/libmcal-0.7-fpic.patch (limited to 'dev-libs/libmcal/files') diff --git a/dev-libs/libmcal/files/libmcal-0.7-fpic.patch b/dev-libs/libmcal/files/libmcal-0.7-fpic.patch new file mode 100644 index 000000000000..cedb6ebf0072 --- /dev/null +++ b/dev-libs/libmcal/files/libmcal-0.7-fpic.patch @@ -0,0 +1,30 @@ +--- Makefile.in 2003-11-27 15:46:46.887752568 +0000 ++++ Makefile.in 2003-11-27 16:14:17.325847840 +0000 +@@ -7,7 +7,7 @@ + + INCLUDE=@DRIVER_INCDIR@ ${OTHERINCDIR} -I. + +-CFLAGS=-O0 -Wall -g ${INCLUDE} ${OTHER_CFLAGS} ++CFLAGS=-O0 -Wall -g ${OTHER_CFLAGS} + + LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS) + ALLOBJS=${LIBOBJS} tester.o +@@ -17,6 +17,9 @@ + LIBCAL=libmcal.a + LIBCAL_SO=libmcal.so + ++%.o: %.c ++ gcc $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $< ++ + all: libmcal.a libmcal.so + + install: libmcal.a libmcal.so +@@ -38,7 +41,7 @@ + + libmcal.so: $(LIBOBJS) + rm -f $(LIBCAL_SO) +- gcc $(CFLAGS) -shared -o $(LIBCAL_SO) $(LIBOBJS) ++ gcc $(CFLAGS) $(INCLUDE) -shared -o $(LIBCAL_SO) $(LIBOBJS) + + lex.ical_yy.c: icalscanner.lex + $(FLEX) $< -- cgit v1.2.3-65-gdbad