[package] update gmp to 4.3.1 (#5130)
[openwrt/svn-archive/archive.git] / libs / openldap / patches / 500-cross-compile.patch
1 diff -ruN openldap-2.2.26-orig/libraries/liblunicode/Makefile.in openldap-2.2.26-1/libraries/liblunicode/Makefile.in
2 --- openldap-2.2.26-orig/libraries/liblunicode/Makefile.in 2005-01-20 18:01:03.000000000 +0100
3 +++ openldap-2.2.26-1/libraries/liblunicode/Makefile.in 2005-05-08 15:47:08.000000000 +0200
4 @@ -29,8 +29,8 @@
5 LDAP_INCDIR= ../../include
6 LDAP_LIBDIR= ../../libraries
7
8 -ucgendat: $(XLIBS) ucgendat.o
9 - $(LTLINK) -o $@ ucgendat.o $(LIBS)
10 +ucgendat:
11 + $(HOSTCC) -I$(LDAP_INCDIR) -o $@ ./ucdata/ucgendat.c
12 ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
13
14 DATFILES = case.dat cmbcl.dat comp.dat ctype.dat decomp.dat num.dat kdecomp.dat
15 diff -ur openldap.old/libraries/liblunicode/ucdata/ucgendat.c openldap.dev/libraries/liblunicode/ucdata/ucgendat.c
16 --- openldap.old/libraries/liblunicode/ucdata/ucgendat.c 2005-01-20 18:01:03.000000000 +0100
17 +++ openldap.dev/libraries/liblunicode/ucdata/ucgendat.c 2007-04-01 20:35:57.000000000 +0200
18 @@ -1611,7 +1611,7 @@
19 FILE *in;
20 char *prog, *opath;
21
22 - prog = lutil_progname( "ucgendat", argc, argv );
23 + prog = argv[0];
24
25 opath = 0;
26 in = stdin;