tags 556513 + patch tags 556513 + pending thanks Hi Ted,
I've prepared an NMU for tzc (versioned as 2.6.15-5.2) and uploaded it to DELAYED/2. Please find the nmu diff attached. Cheers, Julien
diff -u tzc-2.6.15/Makefile tzc-2.6.15/Makefile
--- tzc-2.6.15/Makefile
+++ tzc-2.6.15/Makefile
@@ -1,7 +1,7 @@
# Configure as appropriate.
#KERB_LIBS = -lkrb4 -ldes425 -lcom_err
-ZEPHYR_LIBS = -lzephyr
+ZEPHYR_LIBS = -lzephyr -lcom_err
DESTDIR =
diff -u tzc-2.6.15/tzc.c tzc-2.6.15/tzc.c
--- tzc-2.6.15/tzc.c
+++ tzc-2.6.15/tzc.c
@@ -493,7 +493,7 @@
if(!(pid = fork())) {
char fn[1024];
sprintf(fn,"%s/.zephyr.subs.tzc",getenv("HOME"));
- execlp(ZCTL_BINARY,"zctl","load",fn,0);
+ execlp(ZCTL_BINARY,"zctl","load",fn,(char *)0);
perror("zctl exec");
fprintf(stderr,"Unable to load subscriptions.\n");
bail(0);
diff -u tzc-2.6.15/debian/changelog tzc-2.6.15/debian/changelog
--- tzc-2.6.15/debian/changelog
+++ tzc-2.6.15/debian/changelog
@@ -1,3 +1,13 @@
+tzc (2.6.15-5.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add -lcom_err to the linker flags to fix link failure with gold
+ (closes: #556513)
+ * Fix -Wformat warning in call to execlp (tzc.c:496:7: warning: missing
+ sentinel in function call).
+
+ -- Julien Cristau <[email protected]> Sat, 31 Dec 2011 12:29:21 +0100
+
tzc (2.6.15-5.1) unstable; urgency=low
* Non-maintainer upload.
signature.asc
Description: Digital signature

