From owner-svn-ports-all@freebsd.org Wed Jan 11 08:51:55 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A88EDCA99CC; Wed, 11 Jan 2017 08:51:55 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62A2118EE; Wed, 11 Jan 2017 08:51:55 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0B8psPT072065; Wed, 11 Jan 2017 08:51:54 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0B8psCF072063; Wed, 11 Jan 2017 08:51:54 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201701110851.v0B8psCF072063@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Wed, 11 Jan 2017 08:51:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431163 - in head/irc/bitlbee-facebook: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 08:51:55 -0000 Author: gahr Date: Wed Jan 11 08:51:54 2017 New Revision: 431163 URL: https://svnweb.freebsd.org/changeset/ports/431163 Log: irc/bitlbee-facebook: bring in upstreams support for init_plugin_info While at it, chase "port test" warnings. Obtained from: https://github.com/bitlbee/bitlbee-facebook/commit/d60efe0 Added: head/irc/bitlbee-facebook/files/ head/irc/bitlbee-facebook/files/patch-facebook_facebook.c (contents, props changed) Modified: head/irc/bitlbee-facebook/Makefile head/irc/bitlbee-facebook/distinfo Modified: head/irc/bitlbee-facebook/Makefile ============================================================================== --- head/irc/bitlbee-facebook/Makefile Wed Jan 11 08:37:08 2017 (r431162) +++ head/irc/bitlbee-facebook/Makefile Wed Jan 11 08:51:54 2017 (r431163) @@ -3,8 +3,9 @@ PORTNAME= bitlbee-facebook PORTVERSION= 1.0.0 -PORTEPOCH= 1 DISTVERSIONPREFIX=v +PORTREVISION= 1 +PORTEPOCH= 1 CATEGORIES= irc MAINTAINER= gahr@FreeBSD.org @@ -16,11 +17,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib BUILD_DEPENDS= bitlbee:irc/bitlbee -USES= autoreconf libtool pkgconfig +USES= autoreconf gettext-runtime libtool pkgconfig +USE_GNOME= glib20 GNU_CONFIGURE= yes USE_GITHUB= yes -GH_ACCOUNT= jgeboski +GH_ACCOUNT= bitlbee MAKE_JOBS_UNSAFE= yes Modified: head/irc/bitlbee-facebook/distinfo ============================================================================== --- head/irc/bitlbee-facebook/distinfo Wed Jan 11 08:37:08 2017 (r431162) +++ head/irc/bitlbee-facebook/distinfo Wed Jan 11 08:51:54 2017 (r431163) @@ -1,2 +1,3 @@ -SHA256 (jgeboski-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 20e0c41393be151735463b206625c91977706db144ff8ff1d4d726e1f33fd124 -SIZE (jgeboski-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 62389 +TIMESTAMP = 1484122554 +SHA256 (bitlbee-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 20e0c41393be151735463b206625c91977706db144ff8ff1d4d726e1f33fd124 +SIZE (bitlbee-bitlbee-facebook-v1.0.0_GH0.tar.gz) = 62389 Added: head/irc/bitlbee-facebook/files/patch-facebook_facebook.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/bitlbee-facebook/files/patch-facebook_facebook.c Wed Jan 11 08:51:54 2017 (r431163) @@ -0,0 +1,27 @@ +--- facebook/facebook.c.orig 2016-01-16 15:20:59 UTC ++++ facebook/facebook.c +@@ -1082,3 +1082,24 @@ init_plugin(void) + root_command_add("fbcreate", 0, fb_cmd_fbcreate, 0); + root_command_add("fbjoin", 0, fb_cmd_fbjoin, 0); + } ++ ++ ++#ifdef BITLBEE_ABI_VERSION_CODE ++G_MODULE_EXPORT struct plugin_info * ++init_plugin_info(void); ++ ++G_MODULE_EXPORT struct plugin_info * ++init_plugin_info(void) ++{ ++ static struct plugin_info info = { ++ BITLBEE_ABI_VERSION_CODE, ++ "facebook", ++ PACKAGE_VERSION, ++ "Facebook protocol plugin", ++ "dequis (maintainer), James Geboski (original author)", ++ PACKAGE_URL ++ }; ++ ++ return &info; ++} ++#endif /* BITLBEE_ABI_VERSION_CODE */