summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/owfs/Makefile5
-rw-r--r--package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h15
-rw-r--r--package/owfs/patches/patch-module_ownet_c_src_include_compat_netdb_h15
3 files changed, 33 insertions, 2 deletions
diff --git a/package/owfs/Makefile b/package/owfs/Makefile
index bef57ca79..71df2bbf6 100644
--- a/package/owfs/Makefile
+++ b/package/owfs/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= owfs
-PKG_VERSION:= 2.9p1
+PKG_VERSION:= 3.1p0
PKG_RELEASE:= 1
-PKG_HASH:= 9d22dbff72d235476688c02669f7171b23e21dffadf40bbdd3b8263908218424
+PKG_HASH:= 62fca1b3e908cd4515c9eb499bf2b05020bbbea4a5b73611ddc6f205adec7a54
PKG_DESCR:= software to access 1-wire devices
PKG_SECTION:= sys/hw
PKG_BUILDDEP:= fuse
@@ -23,6 +23,7 @@ TARGET_CFLAGS+= -ldl -lrt -liconv
CONFIGURE_ARGS+= --enable-owfs \
--enable-usb \
--disable-swig \
+ --disable-owshell \
--disable-owhttpd \
--disable-owftpd \
--disable-owcapi \
diff --git a/package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h b/package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h
new file mode 100644
index 000000000..8f0c698fb
--- /dev/null
+++ b/package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h
@@ -0,0 +1,15 @@
+--- owfs-3.1p0.orig/module/owlib/src/include/compat_netdb.h 2015-01-11 02:31:32.000000000 +0100
++++ owfs-3.1p0/module/owlib/src/include/compat_netdb.h 2015-05-31 13:56:47.000000000 +0200
+@@ -63,12 +63,6 @@
+ #include <stdint.h>
+ #endif
+
+-#ifdef __USE_MISC
+-/* This is necessary to make this include file properly replace the
+- Sun version. */
+-# include <rpc/netdb.h>
+-#endif
+-
+ #ifdef HAVE_BITS_NETDB_H
+ #include <bits/netdb.h>
+ #endif
diff --git a/package/owfs/patches/patch-module_ownet_c_src_include_compat_netdb_h b/package/owfs/patches/patch-module_ownet_c_src_include_compat_netdb_h
new file mode 100644
index 000000000..cebfcc1dc
--- /dev/null
+++ b/package/owfs/patches/patch-module_ownet_c_src_include_compat_netdb_h
@@ -0,0 +1,15 @@
+--- owfs-3.1p0.orig/module/ownet/c/src/include/compat_netdb.h 2015-01-11 02:31:32.000000000 +0100
++++ owfs-3.1p0/module/ownet/c/src/include/compat_netdb.h 2015-05-31 13:55:25.000000000 +0200
+@@ -63,12 +63,6 @@
+ #include <stdint.h>
+ #endif
+
+-#ifdef __USE_MISC
+-/* This is necessary to make this include file properly replace the
+- Sun version. */
+-# include <rpc/netdb.h>
+-#endif
+-
+ #ifdef HAVE_BITS_NETDB_H
+ #include <bits/netdb.h>
+ #endif