0001-support-uclinux-as-a-linux.patch 800 B

12345678910111213141516
  1. Recognise uclinux as a linux
  2. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
  3. diff -durN sg3_utils-1.42.orig/configure.ac sg3_utils-1.42/configure.ac
  4. --- sg3_utils-1.42.orig/configure.ac 2015-10-21 01:10:59.000000000 +0200
  5. +++ sg3_utils-1.42/configure.ac 2016-08-14 19:30:37.841766149 +0200
  6. @@ -71,7 +71,7 @@
  7. # Define platform-specific symbol.
  8. AM_CONDITIONAL(OS_FREEBSD, [echo $host_os | grep 'freebsd' > /dev/null])
  9. -AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep '^linux' > /dev/null])
  10. +AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep -E '^(uc)?linux' > /dev/null])
  11. AM_CONDITIONAL(OS_OSF, [echo $host_os | grep '^osf' > /dev/null])
  12. AM_CONDITIONAL(OS_SOLARIS, [echo $host_os | grep '^solaris' > /dev/null])
  13. AM_CONDITIONAL(OS_WIN32_MINGW, [echo $host_os | grep '^mingw' > /dev/null])