summaryrefslogtreecommitdiff
path: root/sysutils/conky/files/patch-configure
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-08 07:11:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-08 07:11:05 +0000
commit81248f69d293a9dbe7ed3b5c36e687a9bb73d66e (patch)
tree142d5efdd1d3dc2dfa767212f2db9080ad6c7bb1 /sysutils/conky/files/patch-configure
parent- Update some gentoo mirrors (diff)
- Update to 1.9.0
PR: 168161 Submitted by: lbartoletti <coder@tuxfamily.org> Lars Engels <lars.engels@0x20.net> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=311909
Diffstat (limited to 'sysutils/conky/files/patch-configure')
-rw-r--r--sysutils/conky/files/patch-configure73
1 files changed, 28 insertions, 45 deletions
diff --git a/sysutils/conky/files/patch-configure b/sysutils/conky/files/patch-configure
index 15d693ec9228..b1d0b0e45d71 100644
--- a/sysutils/conky/files/patch-configure
+++ b/sysutils/conky/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig
-+++ configure
-@@ -1002,6 +1002,7 @@
+--- configure.orig 2012-05-04 00:47:40.000000000 +0300
++++ configure 2012-12-06 04:26:37.000000000 +0200
+@@ -895,6 +895,7 @@
enable_xft
enable_nvidia
enable_alsa
@@ -8,7 +8,7 @@
enable_debug
enable_testing
enable_profiling
-@@ -1729,6 +1730,7 @@
+@@ -1620,6 +1621,7 @@
--enable-nvidia enable if you want nvidia support [default=no]
--disable-alsa disable if you do not want ALSA support
[default=yes]
@@ -16,25 +16,20 @@
--enable-debug compile with debug symbols [default=no]
--enable-testing use strict compiler flags for testing [default=no]
--enable-profiling specify compiler flags for use with gprof and gcov
-@@ -11647,7 +11649,7 @@
-
-
- if test x$want_apcupsd = xyes; then
-- if test x"$uname" != xLinux; then
-+ if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: apcupsd not supported on $uname... disabling" >&5
- $as_echo "$as_me: apcupsd not supported on $uname... disabling" >&6;}
- want_apcupsd="not supported on $uname"
-@@ -11675,7 +11675,7 @@
-
-
- if test x$want_iostats = xyes; then
-- if test x"$uname" != xLinux; then
-+ if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: iostats not supported on $uname... disabling" >&5
- $as_echo "$as_me: iostats not supported on $uname... disabling" >&6;}
- want_iostats="not supported on $uname"
-@@ -16071,20 +16073,65 @@
+@@ -11930,7 +11932,11 @@
+ Linux*)
+ WANT_SYSINFO=yes
+ ;;
+- FreeBSD*|GNU/kFreeBSD*)
++ FreeBSD*)
++ WANT_KVM=yes
++ WANT_DEVSTAT=yes
++ ;;
++ GNU/kFreeBSD*)
+ WANT_KVM=yes
+ WANT_DEVSTAT=yes
+ WANT_OPTRESET=yes
+@@ -16998,18 +17004,63 @@
done
@@ -42,29 +37,26 @@
-for ac_header in sys/inotify.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
--if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
-- cat >>confdefs.h <<_ACEOF
--#define HAVE_SYS_INOTIFY_H 1
--_ACEOF
-
++
+# Check whether --enable-inotify was given.
+if test "${enable_inotify+set}" = set; then :
+ enableval=$enable_inotify; want_inotify="$enableval"
+else
+ want_inotify=no
- fi
-
--done
++fi
++
+if test x$want_inotify = xyes; then
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
-+if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
+ if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
+- cat >>confdefs.h <<_ACEOF
+-#define HAVE_SYS_INOTIFY_H 1
+-_ACEOF
+
+else
+ want_inotify=no
+fi
-
-+fi
+ fi
+if test x$want_inotify = xyes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -linotify" >&5
+$as_echo_n "checking for inotify_init in -linotify... " >&6; }
@@ -75,7 +67,8 @@
+LIBS="-linotify $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
-+
+
+-done
+#include <sys/inotify.h>
+
+char inotify_init ();
@@ -105,16 +98,6 @@
+fi
+
+fi
-+
-
-
- $as_echo "#define DEFAULTNETDEV \"eth0\"" >>confdefs.h
-@@ -16102,7 +16153,7 @@
- $as_echo "#define DEFAULT_TEXT_BUFFER_SIZE 256" >>confdefs.h
-
-
--$as_echo "#define MAX_NET_INTERFACES 16" >>confdefs.h
-+$as_echo "#define MAX_NET_INTERFACES 64" >>confdefs.h