aboutsummaryrefslogtreecommitdiff
path: root/devel/libev
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2009-08-17 15:38:54 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2009-08-17 15:38:54 +0000
commit74003faaec6c799b3af296096f474447c0b668c7 (patch)
treea3ba346277b28639113f47c9b4eca162a9098727 /devel/libev
parenta3c70c35295c820e1891d563aae60f8f3a815dd3 (diff)
downloadports-74003faaec6c799b3af296096f474447c0b668c7.tar.gz
ports-74003faaec6c799b3af296096f474447c0b668c7.zip
Notes
Diffstat (limited to 'devel/libev')
-rw-r--r--devel/libev/Makefile3
-rw-r--r--devel/libev/distinfo6
-rw-r--r--devel/libev/files/patch-Makefile.in14
-rw-r--r--devel/libev/files/patch-ev++.h32
4 files changed, 44 insertions, 11 deletions
diff --git a/devel/libev/Makefile b/devel/libev/Makefile
index b84484294b08..16da6b43c02b 100644
--- a/devel/libev/Makefile
+++ b/devel/libev/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= libev
-PORTVERSION= 3.52
+PORTVERSION= 3.8
+PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://dist.schmorp.de/libev/Attic/
diff --git a/devel/libev/distinfo b/devel/libev/distinfo
index ea5eb5d05f92..28d6f6c48db0 100644
--- a/devel/libev/distinfo
+++ b/devel/libev/distinfo
@@ -1,3 +1,3 @@
-MD5 (libev-3.52.tar.gz) = 5bdabddcd63680b31cff97aa668e5b03
-SHA256 (libev-3.52.tar.gz) = 2c10c26f63764fb3cc4e9a6e24d02f9c51f8256bc692460ce3e33e2846dc3897
-SIZE (libev-3.52.tar.gz) = 441546
+MD5 (libev-3.8.tar.gz) = 4897453c077056769777d43e5495ded1
+SHA256 (libev-3.8.tar.gz) = 25e353af5707bc4261276e02901ad469e1a46c589eaf5f66c5d3275c98b12294
+SIZE (libev-3.8.tar.gz) = 470250
diff --git a/devel/libev/files/patch-Makefile.in b/devel/libev/files/patch-Makefile.in
index 1a21dbf05c23..e553af7b563e 100644
--- a/devel/libev/files/patch-Makefile.in
+++ b/devel/libev/files/patch-Makefile.in
@@ -1,11 +1,11 @@
---- Makefile.in.orig 2007-12-25 10:11:59.000000000 +0300
-+++ Makefile.in 2008-01-21 14:39:26.649768099 +0300
-@@ -149,7 +149,7 @@
+--- Makefile.in.orig 2009-08-09 16:33:08.000000000 +0400
++++ Makefile.in 2009-08-17 18:56:33.497493279 +0400
+@@ -213,7 +213,7 @@
+ ev.3 ev.pod
man_MANS = ev.3
-
-include_HEADERS = ev.h ev++.h event.h
-+include_HEADERS = ev.h ev++.h
-
++include_HEADERS = ev.h ev++.h
lib_LTLIBRARIES = libev.la
-
+ libev_la_SOURCES = ev.c event.c
+ libev_la_LDFLAGS = -version-info $(VERSION_INFO)
diff --git a/devel/libev/files/patch-ev++.h b/devel/libev/files/patch-ev++.h
new file mode 100644
index 000000000000..da46ef2bbb37
--- /dev/null
+++ b/devel/libev/files/patch-ev++.h
@@ -0,0 +1,32 @@
+--- ev++.h.orig 2009-08-17 19:12:04.000000000 +0400
++++ ev++.h 2009-08-17 19:20:40.000000000 +0400
+@@ -76,7 +76,7 @@
+ ASYNC = EV_ASYNC,
+ EMBED = EV_EMBED,
+ # undef ERROR // some systems stupidly #define ERROR
+- ERROR = EV_ERROR,
++ ERROR = EV_ERROR
+ };
+
+ enum
+@@ -464,7 +464,7 @@
+ }
+
+ template<class K, void (K::*method)(watcher &w, int)>
+- static void method_thunk (EV_P_ ev_watcher *w, int revents)
++ static void method_thunk (struct ev_loop *, ev_watcher *w, int revents)
+ {
+ (static_cast<K *>(w->data)->*method)
+ (*static_cast<watcher *>(w), revents);
+@@ -478,9 +478,9 @@
+ }
+
+ template<class K, void (K::*method)()>
+- static void method_noargs_thunk (EV_P_ ev_watcher *w, int revents)
++ static void method_noargs_thunk (struct ev_loop *, ev_watcher *w, int /*revents*/)
+ {
+- static_cast<K *>(w->data)->*method
++ (static_cast<K *>(w->data)->*method)
+ ();
+ }
+