[csw-devel] SF.net SVN: gar:[15047] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Jul 12 16:07:37 CEST 2011


Revision: 15047
          http://gar.svn.sourceforge.net/gar/?rev=15047&view=rev
Author:   dmichelsen
Date:     2011-07-12 14:07:37 +0000 (Tue, 12 Jul 2011)

Log Message:
-----------
libexplain: Initial commit, does not compile yet

Added Paths:
-----------
    csw/mgar/pkg/libexplain/
    csw/mgar/pkg/libexplain/Makefile
    csw/mgar/pkg/libexplain/branches/
    csw/mgar/pkg/libexplain/tags/
    csw/mgar/pkg/libexplain/trunk/
    csw/mgar/pkg/libexplain/trunk/Makefile
    csw/mgar/pkg/libexplain/trunk/checksums
    csw/mgar/pkg/libexplain/trunk/files/
    csw/mgar/pkg/libexplain/trunk/files/0001-Shield-ptrace-defines.patch
    csw/mgar/pkg/libexplain/trunk/files/0002-Include-stdarg.h-for-va_list.patch
    csw/mgar/pkg/libexplain/trunk/files/0003-Do-not-return-anything-in-void-functions.patch
    csw/mgar/pkg/libexplain/trunk/files/0004-Use-fallback-for-AI_NUMERICSERV.patch
    csw/mgar/pkg/libexplain/trunk/files/0005-Solaris-does-not-have-O_NOFOLLOW.patch
    csw/mgar/pkg/libexplain/trunk/files/0006-Fix-typo-of-stat-struct-member.patch
    csw/mgar/pkg/libexplain/trunk/files/0007-Need-headers-for-major-minor.patch
    csw/mgar/pkg/libexplain/trunk/files/0008-inttypes.h-is-needed-for-int-_t.patch
    csw/mgar/pkg/libexplain/trunk/files/0009-Use-necessary-mnttab.h.patch
    csw/mgar/pkg/libexplain/trunk/files/0010-Include-sys-types.h-for-size_t.patch

Copied: csw/mgar/pkg/libexplain/Makefile (from rev 15035, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/libexplain/Makefile	                        (rev 0)
+++ csw/mgar/pkg/libexplain/Makefile	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/libexplain/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/libexplain/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libexplain/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/Makefile	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,30 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = libexplain
+VERSION = 0.44.D001
+GARTYPE = v2
+CATEGORIES = lib
+
+DESCRIPTION = Explains unix system call errors
+define BLURB
+endef
+
+PATCHFILES += 0001-Shield-ptrace-defines.patch
+PATCHFILES += 0002-Include-stdarg.h-for-va_list.patch
+PATCHFILES += 0003-Do-not-return-anything-in-void-functions.patch
+PATCHFILES += 0004-Use-fallback-for-AI_NUMERICSERV.patch
+PATCHFILES += 0005-Solaris-does-not-have-O_NOFOLLOW.patch
+PATCHFILES += 0006-Fix-typo-of-stat-struct-member.patch
+PATCHFILES += 0007-Need-headers-for-major-minor.patch
+PATCHFILES += 0008-inttypes.h-is-needed-for-int-_t.patch
+PATCHFILES += 0009-Use-necessary-mnttab.h.patch
+PATCHFILES += 0010-Include-sys-types.h-for-size_t.patch
+
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES  = $(DISTNAME).tar.gz
+
+BUILD64 = 1
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/libexplain/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/libexplain/trunk/checksums
===================================================================
--- csw/mgar/pkg/libexplain/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/checksums	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1 @@
+c85827069698600c0052397c9d6165eb  libexplain-0.44.D001.tar.gz

Added: csw/mgar/pkg/libexplain/trunk/files/0001-Shield-ptrace-defines.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0001-Shield-ptrace-defines.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0001-Shield-ptrace-defines.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,92 @@
+From 81663042c3a5a11c500891f6cc733aca2737e0e0 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:36:50 +0200
+Subject: [PATCH 01/10] Shield ptrace defines
+
+---
+ libexplain/buffer/errno/ptrace.c |   14 ++++++++++++--
+ libexplain/ptrace.h              |    2 ++
+ 2 files changed, 14 insertions(+), 2 deletions(-)
+
+diff --git a/libexplain/buffer/errno/ptrace.c b/libexplain/buffer/errno/ptrace.c
+index daaed40..574e168 100644
+--- a/libexplain/buffer/errno/ptrace.c
++++ b/libexplain/buffer/errno/ptrace.c
+@@ -454,18 +454,27 @@ explain_buffer_errno_ptrace_explanation(explain_string_buffer_t *sb, int errnum,
+             explain_buffer_efault(sb, "data");
+             break;
+         }
++#if defined(PT_CONTINUE) || defined(PT_SYSCALL) || defined(PR_STEP) || defined(PT_SYSEMU) || defined(PT_SYSEMU_SINGLESTEP) || defined(PT_SYSEMU_SINGLESTEP)
+         switch (request)
+         {
++#ifdef PT_CONTINUE
+         case PT_CONTINUE:
++#endif
++#ifdef PT_SYSCALL
+         case PT_SYSCALL:
++#endif
++#ifdef PT_STEP
+         case PT_STEP:
++#endif
+ #ifdef PT_SYSEMU
+         case PT_SYSEMU:
+ #endif
+ #ifdef PT_SYSEMU_SINGLESTEP
+         case PT_SYSEMU_SINGLESTEP:
+ #endif
++#ifdef PT_SYSEMU_SINGLESTEP
+         case PT_DETACH:
++#endif
+             explain_buffer_gettext
+             (
+                 sb,
+@@ -482,6 +491,7 @@ explain_buffer_errno_ptrace_explanation(explain_string_buffer_t *sb, int errnum,
+         default:
+             break;
+         }
++#endif
+         explain_buffer_gettext
+         (
+             sb,
+@@ -493,7 +503,6 @@ explain_buffer_errno_ptrace_explanation(explain_string_buffer_t *sb, int errnum,
+             i18n("there was a word-alignment violation")
+         );
+         break;
+-
+     case EPERM:
+         if (!explain_process_exists(pid))
+         {
+@@ -546,7 +555,7 @@ explain_buffer_errno_ptrace_explanation(explain_string_buffer_t *sb, int errnum,
+     }
+ }
+ 
+-
++#ifdef HAVE_SYS_PTRACE_H
+ void
+ explain_buffer_errno_ptrace(explain_string_buffer_t *sb, int errnum, int
+     request, pid_t pid, void *addr, void *data)
+@@ -560,6 +569,7 @@ explain_buffer_errno_ptrace(explain_string_buffer_t *sb, int errnum, int
+         "ptrace", request, pid, addr, data);
+     explain_explanation_assemble(&exp, sb);
+ }
++#endif
+ 
+ 
+ /* vim: set ts=8 sw=4 et */
+diff --git a/libexplain/ptrace.h b/libexplain/ptrace.h
+index cd17e40..88b1dc9 100644
+--- a/libexplain/ptrace.h
++++ b/libexplain/ptrace.h
+@@ -30,7 +30,9 @@
+ #include <libexplain/warn_unused_result.h>
+ #include <libexplain/large_file_support.h>
+ 
++#ifdef HAVE_SYS_PTRACE_H
+ #include <sys/ptrace.h>
++#endif
+ 
+ #ifdef __cplusplus
+ extern "C" {
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0002-Include-stdarg.h-for-va_list.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0002-Include-stdarg.h-for-va_list.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0002-Include-stdarg.h-for-va_list.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,37 @@
+From adf28f82a857d088282db1f86bf5efd6e3827ef6 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:37:41 +0200
+Subject: [PATCH 02/10] Include stdarg.h for va_list
+
+---
+ libexplain/vfprintf.h |    1 +
+ libexplain/vprintf.h  |    1 +
+ 2 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/libexplain/vfprintf.h b/libexplain/vfprintf.h
+index d16fc49..9367b8c 100644
+--- a/libexplain/vfprintf.h
++++ b/libexplain/vfprintf.h
+@@ -32,6 +32,7 @@
+ #include <libexplain/gcc_attributes.h>
+ 
+ #include <stdio.h>
++#include <stdarg.h>
+ 
+ #ifdef __cplusplus
+ extern "C" {
+diff --git a/libexplain/vprintf.h b/libexplain/vprintf.h
+index 493d920..1196b40 100644
+--- a/libexplain/vprintf.h
++++ b/libexplain/vprintf.h
+@@ -32,6 +32,7 @@
+ #include <libexplain/gcc_attributes.h>
+ 
+ #include <stdio.h>
++#include <stdarg.h>
+ 
+ #ifdef __cplusplus
+ extern "C" {
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0003-Do-not-return-anything-in-void-functions.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0003-Do-not-return-anything-in-void-functions.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0003-Do-not-return-anything-in-void-functions.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,34 @@
+From 8567de31506529df979aec30f881c949457eb9bf Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:38:36 +0200
+Subject: [PATCH 03/10] Do not return anything in void functions
+
+---
+ libexplain/buffer/eio.c |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libexplain/buffer/eio.c b/libexplain/buffer/eio.c
+index 7dba043..4978a1f 100644
+--- a/libexplain/buffer/eio.c
++++ b/libexplain/buffer/eio.c
+@@ -207,7 +207,7 @@ explain_buffer_eio_fildes(explain_string_buffer_t *sb, int fildes)
+         explain_buffer_eio(sb);
+         return;
+     }
+-    return explain_buffer_eio_stat(sb, fildes, &st);
++    explain_buffer_eio_stat(sb, fildes, &st);
+ }
+ 
+ 
+@@ -221,7 +221,7 @@ explain_buffer_eio_path(explain_string_buffer_t *sb, const char *path)
+         explain_buffer_eio(sb);
+         return;
+     }
+-    return explain_buffer_eio_stat(sb, -1, &st);
++    explain_buffer_eio_stat(sb, -1, &st);
+ }
+ 
+ 
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0004-Use-fallback-for-AI_NUMERICSERV.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0004-Use-fallback-for-AI_NUMERICSERV.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0004-Use-fallback-for-AI_NUMERICSERV.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,27 @@
+From ac97d893f81343129be31469d9142a6272bb4f8f Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:39:20 +0200
+Subject: [PATCH 04/10] Use fallback for AI_NUMERICSERV
+
+---
+ libexplain/buffer/errno/getaddrinfo.h |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/libexplain/buffer/errno/getaddrinfo.h b/libexplain/buffer/errno/getaddrinfo.h
+index 140f3dd..b64c3a8 100644
+--- a/libexplain/buffer/errno/getaddrinfo.h
++++ b/libexplain/buffer/errno/getaddrinfo.h
+@@ -21,6 +21,10 @@
+ 
+ #include <libexplain/string_buffer.h>
+ 
++#ifndef AI_NUMERICSERV
++# define AI_NUMERICSERV 0
++#endif
++
+ struct addrinfo; /* forward */
+ 
+ /**
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0005-Solaris-does-not-have-O_NOFOLLOW.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0005-Solaris-does-not-have-O_NOFOLLOW.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0005-Solaris-does-not-have-O_NOFOLLOW.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,43 @@
+From 1188c9ce6e410f9086fa85315f6da9e14b91b2a2 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:40:14 +0200
+Subject: [PATCH 05/10] Solaris does not have O_NOFOLLOW
+
+---
+ libexplain/buffer/errno/open.c |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/libexplain/buffer/errno/open.c b/libexplain/buffer/errno/open.c
+index 1b086f4..1ef9c61 100644
+--- a/libexplain/buffer/errno/open.c
++++ b/libexplain/buffer/errno/open.c
+@@ -199,8 +199,10 @@ explain_buffer_errno_open_explanation(explain_string_buffer_t *sb,
+         final_component.must_be_a_st_mode = 1;
+         final_component.st_mode = S_IFDIR;
+     }
++#if defined(O_NOFOLLOW)
+     if (flags & O_NOFOLLOW)
+         final_component.follow_symlink = 0;
++#endif
+ 
+     switch (errnum)
+     {
+@@ -347,6 +349,7 @@ explain_buffer_errno_open_explanation(explain_string_buffer_t *sb,
+ 
+     case ELOOP:
+     case EMLINK: /* BSD */
++#if defined(O_NOFOLLOW)
+         if (flags & O_NOFOLLOW)
+         {
+             struct stat     st;
+@@ -370,6 +373,7 @@ explain_buffer_errno_open_explanation(explain_string_buffer_t *sb,
+                 break;
+             }
+         }
++#endif
+         explain_buffer_eloop(sb, pathname, "pathname", &final_component);
+         break;
+ 
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0006-Fix-typo-of-stat-struct-member.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0006-Fix-typo-of-stat-struct-member.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0006-Fix-typo-of-stat-struct-member.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,25 @@
+From f0174aefb4aca52215bbea8f27a92c69ad499ca7 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:41:07 +0200
+Subject: [PATCH 06/10] Fix typo of stat struct member
+
+---
+ libexplain/buffer/file_type.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/libexplain/buffer/file_type.c b/libexplain/buffer/file_type.c
+index 2400e12..365c082 100644
+--- a/libexplain/buffer/file_type.c
++++ b/libexplain/buffer/file_type.c
+@@ -422,7 +422,7 @@ explain_buffer_file_type_st(explain_string_buffer_t *sb, const struct stat *st)
+         switch (st->st_rdev)
+         {
+         default:
+-            explain_buffer_file_type(sb, st->mode);
++            explain_buffer_file_type(sb, st->st_mode);
+             break;
+ 
+         case S_INSEM:
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0007-Need-headers-for-major-minor.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0007-Need-headers-for-major-minor.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0007-Need-headers-for-major-minor.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,27 @@
+From a5bbac4a10d8f2a2958e1f4baf0c43e318f28bce Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:42:35 +0200
+Subject: [PATCH 07/10] Need headers for major()/minor()
+
+---
+ libexplain/buffer/file_type.h |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/libexplain/buffer/file_type.h b/libexplain/buffer/file_type.h
+index 1e5569c..9bead66 100644
+--- a/libexplain/buffer/file_type.h
++++ b/libexplain/buffer/file_type.h
+@@ -20,6 +20,10 @@
+ #ifndef LIBEXPLAIN_BUFFER_FILE_TYPE_H
+ #define LIBEXPLAIN_BUFFER_FILE_TYPE_H
+ 
++/* For major()/minor() */
++#include <sys/types.h>
++#include <sys/mkdev.h>
++
+ struct explain_string_buffer_t; /* forward */
+ 
+ /**
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0008-inttypes.h-is-needed-for-int-_t.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0008-inttypes.h-is-needed-for-int-_t.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0008-inttypes.h-is-needed-for-int-_t.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,65 @@
+From 01afd1d431d9e8e63e0e7523cc2bba554db45bb6 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:43:34 +0200
+Subject: [PATCH 08/10] inttypes.h is needed for int*_t
+
+---
+ libexplain/buffer/int16_t.h |    2 ++
+ libexplain/buffer/int32_t.h |    2 ++
+ libexplain/buffer/int64_t.h |    7 +++++++
+ 3 files changed, 11 insertions(+), 0 deletions(-)
+
+diff --git a/libexplain/buffer/int16_t.h b/libexplain/buffer/int16_t.h
+index 4a69a58..de07d9c 100644
+--- a/libexplain/buffer/int16_t.h
++++ b/libexplain/buffer/int16_t.h
+@@ -21,6 +21,8 @@
+ 
+ #include <libexplain/ac/stdint.h>
+ 
++#include <inttypes.h>
++
+ #include <libexplain/string_buffer.h>
+ 
+ /**
+diff --git a/libexplain/buffer/int32_t.h b/libexplain/buffer/int32_t.h
+index 0bd6c9b..338c55d 100644
+--- a/libexplain/buffer/int32_t.h
++++ b/libexplain/buffer/int32_t.h
+@@ -21,6 +21,8 @@
+ 
+ #include <libexplain/ac/stdint.h>
+ 
++#include <inttypes.h>
++
+ #include <libexplain/string_buffer.h>
+ 
+ /**
+diff --git a/libexplain/buffer/int64_t.h b/libexplain/buffer/int64_t.h
+index 6d56b3b..c6195e8 100644
+--- a/libexplain/buffer/int64_t.h
++++ b/libexplain/buffer/int64_t.h
+@@ -21,8 +21,13 @@
+ 
+ #include <libexplain/ac/stdint.h>
+ 
++#include <inttypes.h>
++
+ #include <libexplain/string_buffer.h>
+ 
++/* Not detected during configure yet */
++#ifdef HAVE_INT64_
++
+ /**
+   * The explain_buffer_int64_t function may be used
+   * to print a representation of a int64_t value.
+@@ -73,4 +78,6 @@ void explain_buffer_uint64_t(explain_string_buffer_t *sb, uint64_t data);
+ void explain_buffer_uint64_array(explain_string_buffer_t *sb,
+     const uint64_t *data, size_t data_size);
+ 
++#endif
++
+ #endif /* LIBEXPLAIN_BUFFER_INT64_T_H */
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0009-Use-necessary-mnttab.h.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0009-Use-necessary-mnttab.h.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0009-Use-necessary-mnttab.h.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,26 @@
+From 7d1479dcaa9835c0b8d111d7e89fc40077f48f9e Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:44:45 +0200
+Subject: [PATCH 09/10] Use necessary mnttab.h
+
+---
+ libexplain/buffer/mount_point.h |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/libexplain/buffer/mount_point.h b/libexplain/buffer/mount_point.h
+index b504dc6..5b487bb 100644
+--- a/libexplain/buffer/mount_point.h
++++ b/libexplain/buffer/mount_point.h
+@@ -22,6 +22,9 @@
+ 
+ #include <libexplain/ac/sys/stat.h>
+ 
++#include <stdio.h>
++#include <sys/mnttab.h>
++
+ #include <libexplain/string_buffer.h>
+ 
+ /**
+-- 
+1.7.6
+

Added: csw/mgar/pkg/libexplain/trunk/files/0010-Include-sys-types.h-for-size_t.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0010-Include-sys-types.h-for-size_t.patch	                        (rev 0)
+++ csw/mgar/pkg/libexplain/trunk/files/0010-Include-sys-types.h-for-size_t.patch	2011-07-12 14:07:37 UTC (rev 15047)
@@ -0,0 +1,26 @@
+From d4a2703dab5788370bf7cd2c5fc27423e4df5002 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 12 Jul 2011 15:45:24 +0200
+Subject: [PATCH 10/10] Include sys/types.h for size_t
+
+---
+ libexplain/buffer/v4l2_sliced_vbi_service_set.h |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/libexplain/buffer/v4l2_sliced_vbi_service_set.h b/libexplain/buffer/v4l2_sliced_vbi_service_set.h
+index 4257726..84c0cb3 100644
+--- a/libexplain/buffer/v4l2_sliced_vbi_service_set.h
++++ b/libexplain/buffer/v4l2_sliced_vbi_service_set.h
+@@ -23,6 +23,9 @@
+ 
+ #include <libexplain/string_buffer.h>
+ 
++/* For size_t */
++#include <sys/types.h>
++
+ /**
+   * The explain_buffer_v4l2_sliced_vbi_service_set function may be used
+   * to print a representation of a v4l2_sliced_vbi service_set value.
+-- 
+1.7.6
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list