updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tvtime_patched / tvtime-1.0.2-libsupc++.patch
blobcc76d2decc62836777e65dc01addacf30441f2b4
1 Link to libsupc++ instead of bringing in libstdc++ just because tomsocomp
2 is written in C++. It does not use STL so it needs not the whole standard
3 library.
4 Index: tvtime-1.0.2/src/Makefile.am
5 ===================================================================
6 --- tvtime-1.0.2.orig/src/Makefile.am
7 +++ tvtime-1.0.2/src/Makefile.am
8 @@ -77,7 +77,7 @@ tvtime_CFLAGS = $(TTF_CFLAGS) $(PNG_CFLA
9 $(PLUGIN_CFLAGS) $(X11_CFLAGS) $(XML2_FLAG) \
10 $(FONT_CFLAGS) $(AM_CFLAGS)
11 tvtime_LDFLAGS = $(TTF_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) \
12 - $(X11_LIBS) $(XML2_LIBS) -lm -lstdc++
13 + $(X11_LIBS) $(XML2_LIBS) -lm -lsupc++
15 tvtime_command_SOURCES = utils.h utils.c tvtimeconf.h tvtimeconf.c \
16 tvtime-command.c