Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2013 16:36:12 +0100
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/176372: [PATCH] net-im/libpurple: Fixed linking libirc.so with libsasl2
Message-ID:  <20130223163612.32fe59a9@FreeBSD.org>
Resent-Message-ID: <201302231540.r1NFe3ON032824@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176372
>Category:       ports
>Synopsis:       [PATCH] net-im/libpurple: Fixed linking libirc.so with libsasl2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 23 15:40:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Bernhard Froehlich
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD chii.bluelife.at 9.1-STABLE FreeBSD 9.1-STABLE #15: Sat
Feb  9 02:29:29 CET
>Description:
- Fixed linking libirc.so with libsasl2
- Bumped PORTREVISION

IRC protocol is completely broken in 2.10.7 since the libirc.so plugin
cannot be loaded because of missing libsasl2 symbols.

Patch was obtained from Slackware and cleaned up a bit so mentioning
that in the commit log would be great.

Added file(s):
- files/patch-libpurple-protocols-irc-Makefile.am
- files/patch-libpurple-protocols-irc-Makefile.in

Port maintainer (marcus@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- libpurple-2.10.7_1.patch begins here ---
diff -ruN --exclude=CVS ../libpurple.orig/Makefile ./Makefile
--- ../libpurple.orig/Makefile	2013-02-18 01:24:31.000000000 +0100
+++ ./Makefile	2013-02-23 16:20:05.368400459 +0100
@@ -8,7 +8,7 @@
 
 PORTNAME?=	libpurple
 PORTVERSION=	2.10.7
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	net-im
 MASTER_SITES=	SF/pidgin/Pidgin/${PORTVERSION}
 DISTNAME=	pidgin-${PORTVERSION}
diff -ruN --exclude=CVS ../libpurple.orig/files/patch-libpurple-protocols-irc-Makefile.am ./files/patch-libpurple-protocols-irc-Makefile.am
--- ../libpurple.orig/files/patch-libpurple-protocols-irc-Makefile.am	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-libpurple-protocols-irc-Makefile.am	2013-02-23 16:20:05.378395445 +0100
@@ -0,0 +1,11 @@
+--- libpurple/protocols/irc/Makefile.am.orig	2013-02-11 03:16:52.000000000 -0600
++++ libpurple/protocols/irc/Makefile.am	2013-02-15 15:18:32.950591016 -0600
+@@ -27,7 +27,7 @@
+ st =
+ pkg_LTLIBRARIES   = libirc.la
+ libirc_la_SOURCES = $(IRCSOURCES)
+-libirc_la_LIBADD  = $(GLIB_LIBS)
++libirc_la_LIBADD  = $(GLIB_LIBS) $(SASL_LIBS)
+ 
+ endif
+ 
diff -ruN --exclude=CVS ../libpurple.orig/files/patch-libpurple-protocols-irc-Makefile.in ./files/patch-libpurple-protocols-irc-Makefile.in
--- ../libpurple.orig/files/patch-libpurple-protocols-irc-Makefile.in	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-libpurple-protocols-irc-Makefile.in	2013-02-23 16:20:05.386388989 +0100
@@ -0,0 +1,21 @@
+--- libpurple/protocols/irc/Makefile.in.orig	2013-02-11 03:17:20.000000000 -0600
++++ libpurple/protocols/irc/Makefile.in	2013-02-15 15:18:43.256590687 -0600
+@@ -92,7 +92,8 @@
+ am__installdirs = "$(DESTDIR)$(pkgdir)"
+ LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkg_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+-@STATIC_IRC_FALSE@libirc_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
++@STATIC_IRC_FALSE@libirc_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++@STATIC_IRC_FALSE@	$(am__DEPENDENCIES_1)
+ am__libirc_la_SOURCES_DIST = cmds.c dcc_send.c irc.c irc.h msgs.c \
+ 	parse.c
+ am__objects_1 = libirc_la-cmds.lo libirc_la-dcc_send.lo \
+@@ -415,7 +416,7 @@
+ @STATIC_IRC_TRUE@libirc_la_SOURCES = $(IRCSOURCES)
+ @STATIC_IRC_TRUE@libirc_la_CFLAGS = $(AM_CFLAGS)
+ @STATIC_IRC_FALSE@pkg_LTLIBRARIES = libirc.la
+-@STATIC_IRC_FALSE@libirc_la_LIBADD = $(GLIB_LIBS)
++@STATIC_IRC_FALSE@libirc_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS)
+ AM_CPPFLAGS = \
+ 	-I$(top_srcdir)/libpurple \
+ 	-I$(top_builddir)/libpurple \
--- libpurple-2.10.7_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130223163612.32fe59a9>