File tla-1.3.5-obs-warnings.patch of Package tla
diff -rU3 tla-1.3.5.orig/src/hackerlab/machine/Makefile.in tla-1.3.5/src/hackerlab/machine/Makefile.in
--- tla-1.3.5.orig/src/hackerlab/machine/Makefile.in 2006-07-20 08:34:36.000000000 +0200
+++ tla-1.3.5/src/hackerlab/machine/Makefile.in 2010-12-13 13:52:50.000000000 +0100
@@ -14,7 +14,7 @@
test ! -e gen-alignment${cfg__exec_suffix} || rm gen-alignment${cfg__exec_suffix}
test ! -e gen-alignment.c || rm gen-alignment.c
cp $(srcdir)/gen-alignment.to-c gen-alignment.c
- $(CC) -o gen-alignment gen-alignment.c
+ $(CC) $(CFLAGS) -o gen-alignment gen-alignment.c
./gen-alignment > alignment.h
clean: clean-generators
diff -rU3 tla-1.3.5.orig/src/hackerlab/oblists/oblist.c tla-1.3.5/src/hackerlab/oblists/oblist.c
--- tla-1.3.5.orig/src/hackerlab/oblists/oblist.c 2006-07-20 08:34:36.000000000 +0200
+++ tla-1.3.5/src/hackerlab/oblists/oblist.c 2010-12-13 11:29:11.000000000 +0100
@@ -660,6 +660,8 @@
{
struct ol_closure * olc;
+ olc = (struct ol_closure *)closure;
+
if (!olc || !olc->type || !olc->type->uninit)
return;
diff -rU3 tla-1.3.5.orig/src/hackerlab/os/Makefile.in tla-1.3.5/src/hackerlab/os/Makefile.in
--- tla-1.3.5.orig/src/hackerlab/os/Makefile.in 2006-07-20 08:34:36.000000000 +0200
+++ tla-1.3.5/src/hackerlab/os/Makefile.in 2010-12-13 13:55:49.000000000 +0100
@@ -10,7 +10,7 @@
exit-status.h: exit-status.gen
cp $(srcdir)/exit-status.gen ,es.c
- $(CC) -o ,es -g ,es.c
+ $(CC) $(CFLAGS) -o ,es -g ,es.c
./,es > exit-status.h
rm ,es${cfg__exec_suffix} ,es.c
diff -rU3 tla-1.3.5.orig/src/tla/libarch/cmd-apply-delta.c tla-1.3.5/src/tla/libarch/cmd-apply-delta.c
--- tla-1.3.5.orig/src/tla/libarch/cmd-apply-delta.c 2006-07-20 08:34:40.000000000 +0200
+++ tla-1.3.5/src/tla/libarch/cmd-apply-delta.c 2010-12-13 13:35:36.000000000 +0100
@@ -31,6 +31,7 @@
#include "tla/libarch/cmd-get.h"
#include "tla/libarch/cmd-delta.h"
#include "tla/libarch/cmd-apply-delta.h"
+#include "tla/libarch/cmdutils.h"
/* __STDC__ prototypes for static functions */
diff -rU3 tla-1.3.5.orig/src/tla/libarch/cmdutils.c tla-1.3.5/src/tla/libarch/cmdutils.c
--- tla-1.3.5.orig/src/tla/libarch/cmdutils.c 2006-07-20 08:34:40.000000000 +0200
+++ tla-1.3.5/src/tla/libarch/cmdutils.c 2010-12-13 13:38:24.000000000 +0100
@@ -16,6 +16,7 @@
#include "hackerlab/char/str.h"
#include "tla/libarch/cmdutils.h"
#include "tla/libarch/libraries.h"
+#include "tla/libarch/local-cache.h"
#include "tla/libarch/project-tree.h"
#include "tla/libarch/patch-logs.h"
#include "tla/libarch/pfs.h"
diff -rU3 tla-1.3.5.orig/src/tla/libarch/invent.c tla-1.3.5/src/tla/libarch/invent.c
--- tla-1.3.5.orig/src/tla/libarch/invent.c 2006-07-20 08:34:40.000000000 +0200
+++ tla-1.3.5/src/tla/libarch/invent.c 2010-12-13 13:40:50.000000000 +0100
@@ -16,6 +16,7 @@
#include "hackerlab/arrays/ar.h"
#include "hackerlab/fs/file-names.h"
#include "hackerlab/vu/safe.h"
+#include "tla/libarch/cmdutils.h"
#include "tla/libarch/inode-sig.h"
#include "tla/libarch/inv-ids.h"
#include "tla/libarch/invent.h"
diff -rU3 tla-1.3.5.orig/src/tla/libarch/pfs-ftp.c tla-1.3.5/src/tla/libarch/pfs-ftp.c
--- tla-1.3.5.orig/src/tla/libarch/pfs-ftp.c 2006-07-20 08:34:40.000000000 +0200
+++ tla-1.3.5/src/tla/libarch/pfs-ftp.c 2010-12-13 11:29:11.000000000 +0100
@@ -10,6 +10,7 @@
#include <string.h>
+#include <ctype.h>
#include <stdio.h>
#include <errno.h>
#include "config-options.h"
diff -rU3 tla-1.3.5.orig/src/tla/libfsutils/tmp-files.c tla-1.3.5/src/tla/libfsutils/tmp-files.c
--- tla-1.3.5.orig/src/tla/libfsutils/tmp-files.c 2006-07-20 08:34:40.000000000 +0200
+++ tla-1.3.5/src/tla/libfsutils/tmp-files.c 2010-12-13 13:43:41.000000000 +0100
@@ -16,7 +16,9 @@
#include "hackerlab/char/str-many.h"
#include "hackerlab/vu/safe.h"
#include "hackerlab/fs/file-names.h"
+#include "hackerlab/fs/tmp-files.h"
#include "hackerlab/vu/safe.h"
+#include "tla/libarch/cmdutils.h"
#include "tla/libfsutils/tmp-files.h"