void-packages/srcpkgs/libcec/patches/no-fqdn.patch

12 lines
517 B
Diff

--- src/libcec/cmake/SetBuildInfo.cmake.orig 2015-07-22 12:50:52.632027301 +0200
+++ src/libcec/cmake/SetBuildInfo.cmake 2015-07-22 12:51:05.703027767 +0200
@@ -45,7 +45,7 @@ else()
# add host on which this was built to compile info
find_program(HAVE_HOSTNAME_BIN hostname /bin /usr/bin /usr/local/bin)
if(HAVE_HOSTNAME_BIN)
- exec_program(hostname ARGS -f OUTPUT_VARIABLE BUILD_HOST)
+ exec_program(hostname ARGS OUTPUT_VARIABLE BUILD_HOST)
set(LIB_INFO "${LIB_INFO}@${BUILD_HOST}")
endif()