diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-23 16:01:17 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-23 16:01:17 +0200 |
commit | 47cbc18807449ff6a9f0e71bfe137f3d070d69f7 (patch) | |
tree | 0251ab334d42a8a58fd13d0ae9b6f7212079b1d0 /main/conky/0001-Change-ipv6-check-to-warning-instead-of-fatal-error.patch | |
parent | 62efd50897c1854c7424c392b691911df2a61d8b (diff) | |
download | aports-47cbc18807449ff6a9f0e71bfe137f3d070d69f7.tar.bz2 aports-47cbc18807449ff6a9f0e71bfe137f3d070d69f7.tar.xz |
main/conky: build fix for non-existing ipv6
build server might not have ipv6 but that does not prevent us from
building it and run it on a machine with ipv6.
Diffstat (limited to 'main/conky/0001-Change-ipv6-check-to-warning-instead-of-fatal-error.patch')
-rw-r--r-- | main/conky/0001-Change-ipv6-check-to-warning-instead-of-fatal-error.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/conky/0001-Change-ipv6-check-to-warning-instead-of-fatal-error.patch b/main/conky/0001-Change-ipv6-check-to-warning-instead-of-fatal-error.patch new file mode 100644 index 0000000000..66dfbfe815 --- /dev/null +++ b/main/conky/0001-Change-ipv6-check-to-warning-instead-of-fatal-error.patch @@ -0,0 +1,27 @@ +From 1a0998ff81aae523544b6f0a2afd71ea8667a5db Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Thu, 23 Jul 2015 15:58:07 +0200 +Subject: [PATCH] Change ipv6 check to warning instead of fatal error + +The compile server might not have ipv6 but that does not prevent us from +building conky and run it on a machine which has ipv6. +--- + cmake/ConkyPlatformChecks.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake +index a2ebafc..26d0bea 100644 +--- a/cmake/ConkyPlatformChecks.cmake ++++ b/cmake/ConkyPlatformChecks.cmake +@@ -105,7 +105,7 @@ endif(BUILD_IRC) + if(BUILD_IPV6) + find_file(IF_INET6 if_inet6 PATHS /proc/net) + if(NOT IF_INET6) +- message(FATAL_ERROR "/proc/net/if_inet6 unavailable") ++ message(WARNING "/proc/net/if_inet6 unavailable") + endif(NOT IF_INET6) + endif(BUILD_IPV6) + +-- +2.4.6 + |