<commit_before>Description: Remove restrictive check for GNU/Linux archs since the sources
 compile fine on some non-linux architectures (kfreebsd, for instance).
Author: <NAME> <<EMAIL>>
Forwarded: no
---
 configure        |    2 +-
 configure.ac     |    2 +-
 util/mtp-probe.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- libmtp.orig/configure
+++ libmtp/configure
@@ -12749,7 +12749,7 @@ esac
 $as_echo_n "checking if the host operating system is Linux... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#ifndef __linux__
+#if !(defined __linux__ || defined __FreeBSD_kernel__ || defined __GNU__)
 		#error "FAIL"
 		#endif
 
--- libmtp.orig/configure.ac
+++ libmtp/configure.ac
@@ -81,7 +81,7 @@ esac
 AC_SUBST(OSFLAGS)
 
 AC_MSG_CHECKING([if the host operating system is Linux])<commit_msg>1001-kfreebsd_hurd_ftbfs.patch has been forwarded.<commit_after>Description: Remove restrictive check for GNU/Linux archs since the sources
 compile fine on some non-linux architectures (kfreebsd, for instance).
Author: <NAME> <<EMAIL>>
Forwarded:
 https://sourceforge.net/tracker/?func=detail&aid=3515310&group_id=158745&atid=809061
---
 configure        |    2 +-
 configure.ac     |    2 +-
 util/mtp-probe.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- libmtp.orig/configure
+++ libmtp/configure
@@ -12749,7 +12749,7 @@ esac
 $as_echo_n "checking if the host operating system is Linux... " >&6; }
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#ifndef __linux__
+#if !(defined __linux__ || defined __FreeBSD_kernel__ || defined __GNU__)
 		#error "FAIL"
 		#endif
 
--- libmtp.orig/configure.ac
+++ libmtp/configure.ac
@@ -81,7 +81,7 @@ esac
 AC_SUBST(OSFLAGS)
 
 AC_MSG_CHECKING([if the host operating system is Linux])
{'fraction_non_alphanumeric': 0.14388092613009923, 'fraction_numerical': 0.0402425578831312, 'mean_word_length': 3.689922480620155, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7382352', 'n_tokens_mistral': 701, 'n_tokens_neox': 632, 'n_words': 168}