[gnutls] Another try to make it build.
Tomáš Mráz
tmraz at fedoraproject.org
Thu Nov 1 11:54:56 UTC 2012
commit 27b3ec0ee0184275046982a887e1243638187360
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date: Thu Nov 1 12:54:43 2012 +0100
Another try to make it build.
gnutls-2.12.20-build.patch | 29 +++++++++++++++++++++++++----
1 files changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/gnutls-2.12.20-build.patch b/gnutls-2.12.20-build.patch
index 3234b78..86a5dc3 100644
--- a/gnutls-2.12.20-build.patch
+++ b/gnutls-2.12.20-build.patch
@@ -1,6 +1,6 @@
diff -up gnutls-2.12.20/gl/stdio.in.h.build gnutls-2.12.20/gl/stdio.in.h
--- gnutls-2.12.20/gl/stdio.in.h.build 2012-03-01 16:47:48.000000000 +0100
-+++ gnutls-2.12.20/gl/stdio.in.h 2012-06-18 16:50:51.307755234 +0200
++++ gnutls-2.12.20/gl/stdio.in.h 2012-11-01 12:51:06.030089218 +0100
@@ -698,7 +698,7 @@ _GL_WARN_ON_USE (getline, "getline is un
# endif
#endif
@@ -10,9 +10,30 @@ diff -up gnutls-2.12.20/gl/stdio.in.h.build gnutls-2.12.20/gl/stdio.in.h
# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# undef gets
+diff -up gnutls-2.12.20/gl/tests/fcntl.in.h.build gnutls-2.12.20/gl/tests/fcntl.in.h
+--- gnutls-2.12.20/gl/tests/fcntl.in.h.build 2012-03-01 16:47:48.000000000 +0100
++++ gnutls-2.12.20/gl/tests/fcntl.in.h 2012-11-01 12:54:17.998228912 +0100
+@@ -32,7 +32,7 @@
+ extern "C" { ... } block, which leads to errors in C++ mode with the
+ overridden <sys/stat.h> from gnulib. These errors are known to be gone
+ with g++ version >= 4.3. */
+-#if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))
++#if !(defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))
+ # include <sys/stat.h>
+ #endif
+ #@INCLUDE_NEXT@ @NEXT_FCNTL_H@
+@@ -49,7 +49,7 @@
+ extern "C" { ... } block, which leads to errors in C++ mode with the
+ overridden <sys/stat.h> from gnulib. These errors are known to be gone
+ with g++ version >= 4.3. */
+-#if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))
++#if !(defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))
+ # include <sys/stat.h>
+ #endif
+ /* The include_next requires a split double-inclusion guard. */
diff -up gnutls-2.12.20/gl/tests/test-fcntl-h.c.build gnutls-2.12.20/gl/tests/test-fcntl-h.c
---- gnutls-2.12.20/gl/tests/test-fcntl-h.c.build 2012-11-01 12:19:29.127538330 +0100
-+++ gnutls-2.12.20/gl/tests/test-fcntl-h.c 2012-11-01 12:19:36.754703316 +0100
+--- gnutls-2.12.20/gl/tests/test-fcntl-h.c.build 2012-03-01 16:47:49.000000000 +0100
++++ gnutls-2.12.20/gl/tests/test-fcntl-h.c 2012-11-01 12:51:06.030089218 +0100
@@ -18,6 +18,8 @@
#include <config.h>
@@ -24,7 +45,7 @@ diff -up gnutls-2.12.20/gl/tests/test-fcntl-h.c.build gnutls-2.12.20/gl/tests/te
/* Check that the various O_* macros are defined. */
diff -up gnutls-2.12.20/lib/gl/stdio.in.h.build gnutls-2.12.20/lib/gl/stdio.in.h
--- gnutls-2.12.20/lib/gl/stdio.in.h.build 2012-03-01 16:53:13.000000000 +0100
-+++ gnutls-2.12.20/lib/gl/stdio.in.h 2012-06-18 16:50:22.846115787 +0200
++++ gnutls-2.12.20/lib/gl/stdio.in.h 2012-11-01 12:51:06.030089218 +0100
@@ -698,7 +698,7 @@ _GL_WARN_ON_USE (getline, "getline is un
# endif
#endif
More information about the scm-commits
mailing list