diff options
| -rw-r--r-- | meta-networking/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/meta-networking/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch b/meta-networking/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch index 1dd9b93a5a..1294fe41b5 100644 --- a/meta-networking/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch +++ b/meta-networking/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch | |||
| @@ -2,15 +2,16 @@ link rep_snprintf from lib/replace/snprintf.o for ltdbtool | |||
| 2 | 2 | ||
| 3 | Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> | 3 | Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> |
| 4 | 4 | ||
| 5 | diff -Nurp ctdb-2.5.1.orig/Makefile.in ctdb-2.5.1/Makefile.in | 5 | Index: ctdb-2.5.6/Makefile.in |
| 6 | --- ctdb-2.5.1.orig/Makefile.in 2015-05-07 16:43:39.276000236 +0900 | 6 | =================================================================== |
| 7 | +++ ctdb-2.5.1/Makefile.in 2015-05-07 16:44:09.627000237 +0900 | 7 | --- ctdb-2.5.6.orig/Makefile.in |
| 8 | @@ -170,7 +170,7 @@ bin/ctdb: $(CTDB_CLIENT_OBJ) tools/ctdb. | 8 | +++ ctdb-2.5.6/Makefile.in |
| 9 | @@ -176,7 +176,7 @@ bin/ctdb: $(CTDB_CLIENT_OBJ) tools/ctdb. | ||
| 9 | @echo Linking $@ | 10 | @echo Linking $@ |
| 10 | $(WRAPPER) $(CC) $(CFLAGS) -o $@ tools/ctdb.o tools/ctdb_vacuum.o $(CTDB_CLIENT_OBJ) $(LIB_FLAGS) | 11 | $(WRAPPER) $(CC) $(CFLAGS) -o $@ tools/ctdb.o tools/ctdb_vacuum.o $(CTDB_CLIENT_OBJ) $(LIB_FLAGS) |
| 11 | 12 | ||
| 12 | -bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) | 13 | -bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) |
| 13 | +bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) lib/replace/snprintf.o | 14 | +bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) lib/replace/snprintf.o |
| 14 | @echo Linking $@ | 15 | @echo Linking $@ |
| 15 | $(WRAPPER) $(CC) $(CFLAGS) -o $@ $+ $(TDB_LIBS) $(LIB_FLAGS) | 16 | $(WRAPPER) $(CC) $(CFLAGS) -o $@ $+ $(LIB_FLAGS) |
| 16 | 17 | ||
