31 lines
769 B
Diff
31 lines
769 B
Diff
--- a/sbuild/sbuild-auth-pam.cc
|
|
+++ b/sbuild/sbuild-auth-pam.cc
|
|
@@ -21,6 +21,7 @@
|
|
#include "sbuild-auth-pam.h"
|
|
#include "sbuild-auth-pam-conv.h"
|
|
#include "sbuild-feature.h"
|
|
+#include "sbuild-i18n.h"
|
|
|
|
#include <cassert>
|
|
#include <cerrno>
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -176,7 +176,7 @@ if(GETTEXT_FOUND)
|
|
endif(GETTEXT_FOUND)
|
|
option(nls "Enable national language support (requires gettext)" ${NLS_DEFAULT})
|
|
set(BUILD_NLS ${nls})
|
|
-set(SBUILD_FEATURE_NLS ${pam})
|
|
+set(SBUILD_FEATURE_NLS ${nls})
|
|
|
|
# UUID generation
|
|
check_include_file_cxx(uuid/uuid.h UUID_HEADER)
|
|
--- a/sbuild/sbuild-feature.cc
|
|
+++ b/sbuild/sbuild-feature.cc
|
|
@@ -21,6 +21,7 @@
|
|
#include <iostream>
|
|
|
|
#include "sbuild-feature.h"
|
|
+#include "sbuild-i18n.h"
|
|
|
|
using namespace sbuild;
|