Upgrade libart to 2.3.19, fixes rrdtool compilation #2906
[openwrt/svn-archive/archive.git] / libs / libart / patches / 100-cross_compile_fix.patch
index aae1acc..dd1f359 100644 (file)
@@ -1,15 +1,15 @@
-diff -urN libart.old/Makefile.in libart.dev/Makefile.in
---- libart.old/Makefile.in     2005-01-21 10:52:11.000000000 +0100
-+++ libart.dev/Makefile.in     2005-07-17 19:31:05.000000000 +0200
-@@ -440,9 +440,9 @@
-       @rm -f testuta$(EXEEXT)
-       $(LINK) $(testuta_LDFLAGS) $(testuta_OBJECTS) $(testuta_LDADD) $(LIBS)
--gen_art_config$(EXEEXT): $(gen_art_config_OBJECTS) $(gen_art_config_DEPENDENCIES)
+diff -urN libart_lgpl-2.3.19/Makefile.in libart_lgpl-2.3.19.new/Makefile.in
+--- libart_lgpl-2.3.19/Makefile.in     2007-02-28 14:00:24.000000000 +0100
++++ libart_lgpl-2.3.19.new/Makefile.in 2007-12-29 02:01:55.000000000 +0100
+@@ -474,9 +474,9 @@
+         echo " rm -f $$p $$f"; \
+         rm -f $$p $$f ; \
+       done
+-gen_art_config$(EXEEXT): $(gen_art_config_OBJECTS) $(gen_art_config_DEPENDENCIES) 
 +gen_art_config$(EXEEXT):
        @rm -f gen_art_config$(EXEEXT)
--      $(LINK) $(gen_art_config_LDFLAGS) $(gen_art_config_OBJECTS) $(gen_art_config_LDADD) $(LIBS)
+-      $(LINK) $(gen_art_config_OBJECTS) $(gen_art_config_LDADD) $(LIBS)
 +      $(HOSTCC) -I. -DLIBART_COMPILATION -DHAVE_CONFIG_H -o $@ gen_art_config.c
install-binSCRIPTS: $(bin_SCRIPTS)
-       @$(NORMAL_INSTALL)
+ testart$(EXEEXT): $(testart_OBJECTS) $(testart_DEPENDENCIES) 
      @rm -f testart$(EXEEXT)
+       $(testart_LINK) $(testart_OBJECTS) $(testart_LDADD) $(LIBS)