[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-libunistring] Re: GNU libunistring 0.9 released
From: |
Ralf Wildenhues |
Subject: |
[bug-libunistring] Re: GNU libunistring 0.9 released |
Date: |
Wed, 29 Apr 2009 21:51:54 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
[ re-adding bug-gnulib ]
* Bruno Haible wrote on Wed, Apr 29, 2009 at 03:44:43AM CEST:
> > Then, with a VPATH build from git, the libunistring.sym file is updated
> > in the build tree but searched in the source tree, here's part of the
> > make output:
> > ...
> > join: ../../libunistring/lib/libunistring.sym: No such file or directory
>
> Fixed. Thanks for having reported this.
I overlooked one more failure instance in a VPATH from git setup,
beside the other pending gnulib patch:
../../libunistring/lib/uninorm/composition.c:27:31: error: composition-table.h:
Datei oder Verzeichnis nicht gefunden
../../libunistring/lib/uninorm/composition.c: In function ‘uc_composition’:
../../libunistring/lib/uninorm/composition.c:78: warning: assignment makes
pointer from integer without a cast
This happens during the config.h rule and is caused by:
gcc -DHAVE_CONFIG_H -DNO_XMALLOC -I. -I../../libunistring/lib -I.. -I.
-I../../libunistring/lib -I.. -I../../libunistring -DIN_LIBUNISTRING
-DDEPENDS_ON_LIBICONV=1 -g -O2 -c -o uninorm/composition.o
../../libunistring/lib/uninorm/composition.c
I fixed this in my gnulib tree with the patch below. OK to push?
Thanks,
Ralf
2009-04-29 Ralf Wildenhues <address@hidden>
Fix VPATH build from git checkout, for libunistring.
* lib/uninorm/composition.c (composition_rule): Include
"uninorm/composition-table.h" not "composition-table.h".
diff --git a/lib/uninorm/composition.c b/lib/uninorm/composition.c
index 4caf9a0..e1068da 100644
--- a/lib/uninorm/composition.c
+++ b/lib/uninorm/composition.c
@@ -24,7 +24,7 @@
struct composition_rule { char codes[4]; unsigned short combined; };
-#include "composition-table.h"
+#include "uninorm/composition-table.h"
ucs4_t
uc_composition (ucs4_t uc1, ucs4_t uc2)