[csw-devel] SF.net SVN: gar:[16827] csw/mgar/pkg/libevent2/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Jan 19 16:58:27 CET 2012
Revision: 16827
http://gar.svn.sourceforge.net/gar/?rev=16827&view=rev
Author: dmichelsen
Date: 2012-01-19 15:58:26 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
libevent2/trunk: Update to 2.0.16, split package
Modified Paths:
--------------
csw/mgar/pkg/libevent2/trunk/Makefile
csw/mgar/pkg/libevent2/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/libevent2/trunk/files/0001-Do-not-return-value-in-void-function.patch
Modified: csw/mgar/pkg/libevent2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libevent2/trunk/Makefile 2012-01-19 15:42:32 UTC (rev 16826)
+++ csw/mgar/pkg/libevent2/trunk/Makefile 2012-01-19 15:58:26 UTC (rev 16827)
@@ -1,5 +1,5 @@
NAME = libevent
-VERSION = 2.0.12
+VERSION = 2.0.16
CATEGORIES = lib
DESCRIPTION = Event notification library
@@ -10,23 +10,47 @@
regular timeouts.
endef
-MASTER_SITES = http://www.monkey.org/~provos/
+MASTER_SITES = http://github.com/downloads/libevent/libevent/
DISTNAME = $(NAME)-$(VERSION)-stable
DISTFILES += $(DISTNAME).tar.gz
+# This is the same fix as reported in
+# http://sourceforge.net/tracker/?func=detail&aid=3452589&group_id=50884&atid=461322
+PATCHFILES += 0001-Do-not-return-value-in-void-function.patch
+
VENDOR_URL = http://www.monkey.org/~provos/libevent/
LICENSE = LICENSE
BUILD_DEP_PKGS += CSWossldevel
PACKAGES += CSWlibevent2-0-5
-SPKG_DESC_CSWlibevent2-0-5 = Event notification library 2.0, libevent*-2.0.so.5
-PKGFILES_CSWlibevent2-0-5 = $(PKGFILES_RT)
-RUNTIME_DEP_PKGS_CSWlibevent2-0-5 += CSWosslrt
+SPKG_DESC_CSWlibevent2-0-5 = Event notification library 2.0, libevent-2.0.so.5
+PKGFILES_CSWlibevent2-0-5 = $(call pkgfiles_lib,libevent-2.0.so.5)
+PACKAGES += CSWlibevent-core2-0-5
+SPKG_DESC_CSWlibevent-core2-0-5 = Event notification library 2.0, libevent_core-2.0.so.5
+PKGFILES_CSWlibevent-core2-0-5 = $(call pkgfiles_lib,libevent_core-2.0.so.5)
+
+PACKAGES += CSWlibevent-extra2-0-5
+SPKG_DESC_CSWlibevent-extra2-0-5 = Event notification library 2.0, libevent_extra-2.0.so.5
+PKGFILES_CSWlibevent-extra2-0-5 = $(call pkgfiles_lib,libevent_extra-2.0.so.5)
+
+PACKAGES += CSWlibevent-openssl2-0-5
+SPKG_DESC_CSWlibevent-openssl2-0-5 = Event notification library 2.0, libevent_openssl-2.0.so.5
+PKGFILES_CSWlibevent-openssl2-0-5 = $(call pkgfiles_lib,libevent_openssl-2.0.so.5)
+RUNTIME_DEP_PKGS_CSWlibevent-openssl2-0-5 += CSWosslrt
+
+PACKAGES += CSWlibevent-pthreads2-0-5
+SPKG_DESC_CSWlibevent-pthreads2-0-5 = Event notification library 2.0, libevent_pthreads-2.0.so.5
+PKGFILES_CSWlibevent-pthreads2-0-5 = $(call pkgfiles_lib,libevent_pthreads-2.0.so.5)
+
PACKAGES += CSWlibevent-dev
SPKG_DESC_CSWlibevent-dev = Development files for libevent*-2.0.so.5
RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent2-0-5
+RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-core2-0-5
+RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-extra2-0-5
+RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-openssl2-0-5
+RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-pthreads2-0-5
RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWpython
OBSOLETED_BY_CSWlibevent-dev += CSWlibevent-devel
Modified: csw/mgar/pkg/libevent2/trunk/checksums
===================================================================
--- csw/mgar/pkg/libevent2/trunk/checksums 2012-01-19 15:42:32 UTC (rev 16826)
+++ csw/mgar/pkg/libevent2/trunk/checksums 2012-01-19 15:58:26 UTC (rev 16827)
@@ -1 +1 @@
-42986228baf95e325778ed328a93e070 libevent-2.0.12-stable.tar.gz
+899efcffccdb3d5111419df76e7dc8df libevent-2.0.16-stable.tar.gz
Added: csw/mgar/pkg/libevent2/trunk/files/0001-Do-not-return-value-in-void-function.patch
===================================================================
--- csw/mgar/pkg/libevent2/trunk/files/0001-Do-not-return-value-in-void-function.patch (rev 0)
+++ csw/mgar/pkg/libevent2/trunk/files/0001-Do-not-return-value-in-void-function.patch 2012-01-19 15:58:26 UTC (rev 16827)
@@ -0,0 +1,26 @@
+From 5cb574becae82337673dbd093176ed87b0de4be1 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 19 Jan 2012 16:18:24 +0100
+Subject: [PATCH] Do not return value in void function
+
+---
+ test/regress_dns.c | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/test/regress_dns.c b/test/regress_dns.c
+index b2ca47c..24eb6b7 100644
+--- a/test/regress_dns.c
++++ b/test/regress_dns.c
+@@ -1665,7 +1665,8 @@ static void
+ cnt_free(void *ptr)
+ {
+ allocated_chunks -= 1;
+- return free(ptr);
++ free(ptr);
++ return;
+ }
+
+ struct testleak_env_t {
+--
+1.7.8.3
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list