pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/cwrappers/files/bin Portability fix, use err....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b12ba024dc2e
branches:  trunk
changeset: 650176:b12ba024dc2e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sun Apr 19 14:30:07 2015 +0000

description:
Portability fix, use err.h from libnbcompat.

diffstat:

 pkgtools/cwrappers/files/bin/alloc.c                |  5 +++--
 pkgtools/cwrappers/files/bin/base-wrapper.c         |  5 +++--
 pkgtools/cwrappers/files/bin/cleanup-cc.c           |  5 +++--
 pkgtools/cwrappers/files/bin/fixup-libtool.c        |  4 ++--
 pkgtools/cwrappers/files/bin/generic-transform-cc.c |  5 +++--
 pkgtools/cwrappers/files/bin/normalise-cc.c         |  5 +++--
 pkgtools/cwrappers/files/bin/normalise-ld.c         |  6 +++---
 pkgtools/cwrappers/files/bin/reorder-cc.c           |  5 +++--
 pkgtools/cwrappers/files/bin/transform-cc.c         |  5 +++--
 9 files changed, 26 insertions(+), 19 deletions(-)

diffs (172 lines):

diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/alloc.c
--- a/pkgtools/cwrappers/files/bin/alloc.c      Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/alloc.c      Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alloc.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: alloc.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -31,7 +31,8 @@
  * SUCH DAMAGE.
  */
 
-#include <err.h>
+#include <nbcompat.h>
+#include <nbcompat/err.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/base-wrapper.c
--- a/pkgtools/cwrappers/files/bin/base-wrapper.c       Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/base-wrapper.c       Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: base-wrapper.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: base-wrapper.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -31,8 +31,9 @@
  * SUCH DAMAGE.
  */
 
+#include <nbcompat.h>
 #include <sys/wait.h>
-#include <err.h>
+#include <nbcompat/err.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/cleanup-cc.c
--- a/pkgtools/cwrappers/files/bin/cleanup-cc.c Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/cleanup-cc.c Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cleanup-cc.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: cleanup-cc.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -30,7 +30,8 @@
  */
 
 
-#include <err.h>
+#include <nbcompat.h>
+#include <nbcompat/err.h>
 #include <stdlib.h>
 #include <string.h>
 #include "common.h"
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/fixup-libtool.c
--- a/pkgtools/cwrappers/files/bin/fixup-libtool.c      Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/fixup-libtool.c      Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fixup-libtool.c,v 1.6 2015/04/19 13:30:35 tnn Exp $ */
+/* $NetBSD: fixup-libtool.c,v 1.7 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -32,7 +32,7 @@
 #include <nbcompat.h>
 #include <nbcompat/stdio.h>
 #include <sys/stat.h>
-#include <err.h>
+#include <nbcompat/err.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/generic-transform-cc.c
--- a/pkgtools/cwrappers/files/bin/generic-transform-cc.c       Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/generic-transform-cc.c       Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: generic-transform-cc.c,v 1.2 2015/03/15 19:16:45 joerg Exp $ */
+/* $NetBSD: generic-transform-cc.c,v 1.3 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -33,7 +33,8 @@
 #include <sys/stat.h>
 #endif
 
-#include <err.h>
+#include <nbcompat.h>
+#include <nbcompat/err.h>
 #include <stdlib.h>
 #include <string.h>
 #include "common.h"
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/normalise-cc.c
--- a/pkgtools/cwrappers/files/bin/normalise-cc.c       Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/normalise-cc.c       Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: normalise-cc.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: normalise-cc.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -30,7 +30,8 @@
  */
 
 
-#include <err.h>
+#include <nbcompat.h>
+#include <nbcompat/err.h>
 #include <stdlib.h>
 #include <string.h>
 #include "common.h"
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/normalise-ld.c
--- a/pkgtools/cwrappers/files/bin/normalise-ld.c       Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/normalise-ld.c       Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: normalise-ld.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: normalise-ld.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -29,8 +29,8 @@
  * SUCH DAMAGE.
  */
 
-
-#include <err.h>
+#include <nbcompat.h>
+#include <nbcompat/err.h>
 #include <stdlib.h>
 #include <string.h>
 #include "common.h"
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/reorder-cc.c
--- a/pkgtools/cwrappers/files/bin/reorder-cc.c Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/reorder-cc.c Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: reorder-cc.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: reorder-cc.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -29,7 +29,8 @@
  * SUCH DAMAGE.
  */
 
-#include <err.h>
+#include <nbcompat.h>
+#include <nbcompat/err.h>
 #include <stdlib.h>
 #include <string.h>
 #include "common.h"
diff -r 73885b0e179e -r b12ba024dc2e pkgtools/cwrappers/files/bin/transform-cc.c
--- a/pkgtools/cwrappers/files/bin/transform-cc.c       Sun Apr 19 14:26:06 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/transform-cc.c       Sun Apr 19 14:30:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: transform-cc.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: transform-cc.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2009 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -29,7 +29,8 @@
  * SUCH DAMAGE.
  */
 
-#include <err.h>
+#include <nbcompat.h>
+#include <nbcompat/err.h>
 #include <string.h>
 #include "common.h"
 



Home | Main Index | Thread Index | Old Index