pkgsrc/x11/elementary/patches/patch-ab

36 lines
897 B
Text
Raw Normal View History

$NetBSD: patch-ab,v 1.3 2020/05/01 00:24:32 joerg Exp $
Fix Solaris support.
--- configure.orig 2013-12-04 19:27:17.000000000 +0000
+++ configure
@@ -13963,6 +13963,10 @@ case "$host_os" in
MODULE_ARCH="$host_os-$host_cpu"
MODULE_EDJE="$host_os-$host_cpu"
;;
+ solaris*)
+ MODULE_ARCH="solaris-$host_cpu-1.7.10"
+ MODULE_EDJE="solaris-$host_cpu-${EDJE_VERSION}"
+ ;;
*)
MODULE_ARCH="$host_os-$host_cpu-1.7.10"
MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
@@ -19211,7 +19215,7 @@ extern char **environ;
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
$as_echo "#define HAVE_ENVIRON 1" >>confdefs.h
@@ -19235,7 +19239,7 @@ clearenv();
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
$as_echo "#define HAVE_CLEARENV 1" >>confdefs.h