diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2017-01-11 08:51:54 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2017-01-11 08:51:54 +0000 |
commit | bc7c479c433976db44ef2df2654a213663bf2074 (patch) | |
tree | 6e62ede02c56fe012a79608bea15b99ace6a8ab4 | |
parent | 205b605c8060bf7570dbcec65e1566c6d02e2122 (diff) | |
download | ports-bc7c479c433976db44ef2df2654a213663bf2074.tar.gz ports-bc7c479c433976db44ef2df2654a213663bf2074.zip |
Notes
-rw-r--r-- | irc/bitlbee-facebook/Makefile | 8 | ||||
-rw-r--r-- | irc/bitlbee-facebook/distinfo | 5 | ||||
-rw-r--r-- | irc/bitlbee-facebook/files/patch-facebook_facebook.c | 27 |
3 files changed, 35 insertions, 5 deletions
diff --git a/irc/bitlbee-facebook/Makefile b/irc/bitlbee-facebook/Makefile index e624f545cdef..7b0329d3cf44 100644 --- a/irc/bitlbee-facebook/Makefile +++ b/irc/bitlbee-facebook/Makefile @@ -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 diff --git a/irc/bitlbee-facebook/distinfo b/irc/bitlbee-facebook/distinfo index 2419002a825d..ab1cfb936fae 100644 --- a/irc/bitlbee-facebook/distinfo +++ b/irc/bitlbee-facebook/distinfo @@ -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 diff --git a/irc/bitlbee-facebook/files/patch-facebook_facebook.c b/irc/bitlbee-facebook/files/patch-facebook_facebook.c new file mode 100644 index 000000000000..b4a572e9c64b --- /dev/null +++ b/irc/bitlbee-facebook/files/patch-facebook_facebook.c @@ -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 <dx@dxzone.com.ar> (maintainer), James Geboski <jgeboski@gmail.com> (original author)", ++ PACKAGE_URL ++ }; ++ ++ return &info; ++} ++#endif /* BITLBEE_ABI_VERSION_CODE */ |