[csw-devel] SF.net SVN: gar:[15488] csw/mgar/pkg/libexplain/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Sep 1 16:57:06 CEST 2011
Revision: 15488
http://gar.svn.sourceforge.net/gar/?rev=15488&view=rev
Author: dmichelsen
Date: 2011-09-01 14:57:05 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
libexplain: Update to 0.46.D001
Modified Paths:
--------------
csw/mgar/pkg/libexplain/trunk/Makefile
csw/mgar/pkg/libexplain/trunk/checksums
Removed Paths:
-------------
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
csw/mgar/pkg/libexplain/trunk/files/0011-Make-sure-to-use-GCC-before-testing-GCC-specific-var.patch
csw/mgar/pkg/libexplain/trunk/files/0012-Shield-functions-not-available-on-Solaris-9-autoconf.patch
csw/mgar/pkg/libexplain/trunk/files/0013-Add-inttypes.h-to-binary-header.patch
Modified: csw/mgar/pkg/libexplain/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libexplain/trunk/Makefile 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/Makefile 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,11 +1,10 @@
# $Id$
# TODO (release-critical prefixed with !, non release-critical with *)
#
-# * use linkage against libgnugetopt.so only on bin/explain and not the shared library
# * inspect failed tests from the testsuite
NAME = libexplain
-VERSION = 0.45.D002
+VERSION = 0.46.D001
GARTYPE = v2
CATEGORIES = lib
@@ -16,31 +15,14 @@
MASTER_SITES = $(SF_MIRROR)
DISTFILES = $(DISTNAME).tar.gz
-#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
-PATCHFILES += 0011-Make-sure-to-use-GCC-before-testing-GCC-specific-var.patch
-PATCHFILES += 0012-Shield-functions-not-available-on-Solaris-9-autoconf.patch
-PATCHFILES += 0013-Add-inttypes.h-to-binary-header.patch
-
LICENSE = LICENSE
-BUILD_DEP_PKGS += CSWlibgnugetopt-dev
-
PACKAGES += CSWexplain
SPKG_DESC_CSWexplain = Explains unix system call errors
PKGFILES_CSWexplain += $(bindir)/.*
PKGFILES_CSWexplain += $(mandir)/man1/.*
RUNTIME_DEP_PKGS_CSWexplain += CSWlibexplain30
RUNTIME_DEP_PKGS_CSWexplain += CSWlibintl8
-RUNTIME_DEP_PKGS_CSWexplain += CSWlibgnugetopt0
RUNTIME_DEP_PKGS_CSWexplain += CSWlibiconv2
PACKAGES += CSWlibexplain30
@@ -55,18 +37,6 @@
# PKGFILES is catchall
RUNTIME_DEP_PKGS_CSWlibexplain-dev += CSWlibexplain30
-EXTRA_LINKER_FLAGS = -lgnugetopt
-
BUILD64 = 1
-# Several tests failing, skip for now
-SKIPTEST ?= 1
-
-TEST_OVERRIDE_VARS = SH
-TEST_OVERRIDE_VAR_SH = /bin/bash
-
include gar/category.mk
-
-# Needed for GNU fmt as discussed here:
-# http://sourceforge.net/mailarchive/message.php?msg_id=27942063
-PATH := /opt/csw/gnu:$(PATH)
Modified: csw/mgar/pkg/libexplain/trunk/checksums
===================================================================
--- csw/mgar/pkg/libexplain/trunk/checksums 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/checksums 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1 +1 @@
-21616e801abe365218ea245579c8ff56 libexplain-0.45.D002.tar.gz
+f8f7d4ce12c34ad211c9763d08cdcfeb libexplain-0.46.D001.tar.gz
Deleted: csw/mgar/pkg/libexplain/trunk/files/0001-Shield-ptrace-defines.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0001-Shield-ptrace-defines.patch 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0001-Shield-ptrace-defines.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,92 +0,0 @@
-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
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0002-Include-stdarg.h-for-va_list.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,63 +0,0 @@
-From 06979b1ad037ca3bbb2af89f2861347e783c8da1 Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Tue, 12 Jul 2011 16:38:22 +0200
-Subject: [PATCH 2/2] Include stdarg.h for va_list
-
----
- libexplain/vfprintf.h | 1 +
- libexplain/vprintf.h | 1 +
- libexplain/vsnprintf.h | 1 +
- libexplain/vsprintf.h | 1 +
- 4 files changed, 4 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" {
-diff --git a/libexplain/vsnprintf.h b/libexplain/vsnprintf.h
-index 845a370..9616ec8 100644
---- a/libexplain/vsnprintf.h
-+++ b/libexplain/vsnprintf.h
-@@ -32,6 +32,7 @@
- #include <libexplain/gcc_attributes.h>
-
- #include <stdio.h>
-+#include <stdarg.h>
-
- #ifdef __cplusplus
- extern "C" {
-diff --git a/libexplain/vsprintf.h b/libexplain/vsprintf.h
-index cd3acde..6a94a0e 100644
---- a/libexplain/vsprintf.h
-+++ b/libexplain/vsprintf.h
-@@ -32,6 +32,7 @@
- #include <libexplain/gcc_attributes.h>
-
- #include <stdio.h>
-+#include <stdarg.h>
-
- #ifdef __cplusplus
- extern "C" {
---
-1.7.6
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0003-Do-not-return-anything-in-void-functions.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,34 +0,0 @@
-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
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0004-Use-fallback-for-AI_NUMERICSERV.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,27 +0,0 @@
-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
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0005-Solaris-does-not-have-O_NOFOLLOW.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,43 +0,0 @@
-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
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0006-Fix-typo-of-stat-struct-member.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,25 +0,0 @@
-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
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0007-Need-headers-for-major-minor.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,27 +0,0 @@
-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
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0008-inttypes.h-is-needed-for-int-_t.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,65 +0,0 @@
-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
-
Deleted: csw/mgar/pkg/libexplain/trunk/files/0009-Use-necessary-mnttab.h.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0009-Use-necessary-mnttab.h.patch 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0009-Use-necessary-mnttab.h.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,26 +0,0 @@
-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
-
Deleted: 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 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0010-Include-sys-types.h-for-size_t.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,26 +0,0 @@
-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
-
Deleted: csw/mgar/pkg/libexplain/trunk/files/0011-Make-sure-to-use-GCC-before-testing-GCC-specific-var.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0011-Make-sure-to-use-GCC-before-testing-GCC-specific-var.patch 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0011-Make-sure-to-use-GCC-before-testing-GCC-specific-var.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,39 +0,0 @@
-From 9c6c093a91998043cad2e34b793e54b469438fa2 Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Fri, 12 Aug 2011 17:19:37 +0200
-Subject: [PATCH] Make sure to use GCC before testing GCC specific variables
-
----
- libexplain/putc_on_error.c | 2 +-
- libexplain/putchar_on_error.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libexplain/putc_on_error.c b/libexplain/putc_on_error.c
-index 0661965..72d75b9 100644
---- a/libexplain/putc_on_error.c
-+++ b/libexplain/putc_on_error.c
-@@ -24,7 +24,7 @@
- #include <libexplain/output.h>
-
-
--#if __GNUC__ < 3
-+#if defined(__GNUC__) && __GNUC__ < 3
- static
- #endif
-
-diff --git a/libexplain/putchar_on_error.c b/libexplain/putchar_on_error.c
-index ba46424..1f34319 100644
---- a/libexplain/putchar_on_error.c
-+++ b/libexplain/putchar_on_error.c
-@@ -24,7 +24,7 @@
- #include <libexplain/output.h>
-
-
--#if __GNUC__ < 3
-+#if defined(__GNUC__) && __GNUC__ < 3
- static
- #endif
-
---
-1.7.6
-
Deleted: csw/mgar/pkg/libexplain/trunk/files/0012-Shield-functions-not-available-on-Solaris-9-autoconf.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0012-Shield-functions-not-available-on-Solaris-9-autoconf.patch 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0012-Shield-functions-not-available-on-Solaris-9-autoconf.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,132 +0,0 @@
-From 8ed03d015459dbffa371f3a11e348e680ce99d74 Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Fri, 12 Aug 2011 18:27:01 +0200
-Subject: [PATCH] Shield functions not available on Solaris 9, autoconf
- detection still missing
-
----
- libexplain/buffer/errno/strtof.c | 2 ++
- libexplain/buffer/errno/strtold.c | 2 ++
- libexplain/mkdtemp_on_error.c | 5 +++++
- libexplain/setenv_on_error.c | 5 +++++
- libexplain/strtof_on_error.c | 5 +++++
- libexplain/strtold_on_error.c | 5 +++++
- libexplain/unsetenv_on_error.c | 5 +++++
- 7 files changed, 29 insertions(+), 0 deletions(-)
-
-diff --git a/libexplain/buffer/errno/strtof.c b/libexplain/buffer/errno/strtof.c
-index 004a1cc..bab13ad 100644
---- a/libexplain/buffer/errno/strtof.c
-+++ b/libexplain/buffer/errno/strtof.c
-@@ -73,7 +73,9 @@ explain_buffer_errno_strtof_explanation(explain_string_buffer_t *sb, int errnum,
- */
- ep = 0;
- err = errno;
-+#ifdef HAVE_STRTOF
- n = strtof(nptr, &ep);
-+#endif
- errno = err;
- if (ep == nptr)
- {
-diff --git a/libexplain/buffer/errno/strtold.c b/libexplain/buffer/errno/strtold.c
-index e252f4d..36deb41 100644
---- a/libexplain/buffer/errno/strtold.c
-+++ b/libexplain/buffer/errno/strtold.c
-@@ -73,7 +73,9 @@ explain_buffer_errno_strtold_explanation(explain_string_buffer_t *sb,
- */
- ep = 0;
- err = errno;
-+#ifdef HAVE_STRTOLD
- n = strtold(nptr, &ep);
-+#endif
- errno = err;
- if (ep == nptr)
- {
-diff --git a/libexplain/mkdtemp_on_error.c b/libexplain/mkdtemp_on_error.c
-index 1ce05ac..81dc2ff 100644
---- a/libexplain/mkdtemp_on_error.c
-+++ b/libexplain/mkdtemp_on_error.c
-@@ -29,7 +29,12 @@ explain_mkdtemp_on_error(char *pathname)
- {
- char *result;
-
-+#ifdef HAVE_MKDTEMP
- result = mkdtemp(pathname);
-+#else
-+ errno = ENOSYS;
-+ result = -1;
-+#endif
- if (!result)
- {
- int hold_errno;
-diff --git a/libexplain/setenv_on_error.c b/libexplain/setenv_on_error.c
-index c1d3fb9..a367364 100644
---- a/libexplain/setenv_on_error.c
-+++ b/libexplain/setenv_on_error.c
-@@ -29,7 +29,12 @@ explain_setenv_on_error(const char *name, const char *value, int overwrite)
- {
- int result;
-
-+#ifdef HAVE_SETENV
- result = setenv(name, value, overwrite);
-+#else
-+ errno = ENOSYS;
-+ result = -1;
-+#endif
- if (result < 0)
- {
- int hold_errno;
-diff --git a/libexplain/strtof_on_error.c b/libexplain/strtof_on_error.c
-index e2c35f9..e7d2eaf 100644
---- a/libexplain/strtof_on_error.c
-+++ b/libexplain/strtof_on_error.c
-@@ -34,7 +34,12 @@ explain_strtof_on_error(const char *nptr, char **endptr)
- hold_errno = errno;
- dummy = 0;
- errno = 0;
-+#ifdef HAVE_STRTOF
- result = strtof(nptr, endptr ? endptr : &dummy);
-+#else
-+ errno = ENOSYS;
-+ result = -1;
-+#endif
- if (errno == 0 && (endptr ? *endptr : dummy) == nptr)
- {
- /*
-diff --git a/libexplain/strtold_on_error.c b/libexplain/strtold_on_error.c
-index 3a5ce0f..7debe2a 100644
---- a/libexplain/strtold_on_error.c
-+++ b/libexplain/strtold_on_error.c
-@@ -34,7 +34,12 @@ explain_strtold_on_error(const char *nptr, char **endptr)
- hold_errno = errno;
- dummy = 0;
- errno = 0;
-+#ifdef HAVE_STRTOLD
- result = strtold(nptr, endptr ? endptr : &dummy);
-+#else
-+ errno = ENOSYS;
-+ result = -1;
-+#endif
- if (errno == 0 && (endptr ? *endptr : dummy) == nptr)
- {
- /*
-diff --git a/libexplain/unsetenv_on_error.c b/libexplain/unsetenv_on_error.c
-index d0258ed..77adbbc 100644
---- a/libexplain/unsetenv_on_error.c
-+++ b/libexplain/unsetenv_on_error.c
-@@ -29,7 +29,12 @@ explain_unsetenv_on_error(const char *name)
- {
- int result;
-
-+#ifdef HAVE_UNSETENV
- result = unsetenv(name);
-+#else
-+ errno = ENOSYS;
-+ result = -1;
-+#endif
- if (result < 0)
- {
- int hold_errno;
---
-1.7.5.4
-
Deleted: csw/mgar/pkg/libexplain/trunk/files/0013-Add-inttypes.h-to-binary-header.patch
===================================================================
--- csw/mgar/pkg/libexplain/trunk/files/0013-Add-inttypes.h-to-binary-header.patch 2011-09-01 13:12:35 UTC (rev 15487)
+++ csw/mgar/pkg/libexplain/trunk/files/0013-Add-inttypes.h-to-binary-header.patch 2011-09-01 14:57:05 UTC (rev 15488)
@@ -1,25 +0,0 @@
-From 971268294bccedb69147a08587a47e50d32e48a6 Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Fri, 12 Aug 2011 22:31:17 +0200
-Subject: [PATCH] Add inttypes.h to binary header
-
----
- ioctl-scan/report.h | 2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
-
-diff --git a/ioctl-scan/report.h b/ioctl-scan/report.h
-index fe2f2e4..a26c257 100644
---- a/ioctl-scan/report.h
-+++ b/ioctl-scan/report.h
-@@ -22,6 +22,8 @@
-
- #include <libexplain/ac/stdint.h>
-
-+#include <inttypes.h>
-+
- /**
- * The report_int function may be used to print a line of results for
- * an ioctl request.
---
-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