Bug 167865

Summary: [PATCH] net-im/jabberd: does not compile when WITHOUT_DEBUG is defined
Product: Ports & Packages Reporter: Guido Falsi <madpilot>
Component: Individual Port(s)Assignee: Martin Matuska <mm>
Status: Closed FIXED    
Severity: Affects Only Me CC: mm
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Guido Falsi freebsd_committer freebsd_triage 2012-05-14 10:30:02 UTC
When WITHOUT_DEBUG is activated the port fails to compile:

/bin/sh ../libtool --quiet --tag=CC    --mode=link cc  -O2 -pipe -march=core2 -fno-strict-aliasing -funsigned-char -export-dynamic  -L/usr/lib -L/usr/local/lib  -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -o c2s c2s-authreg.o c2s-bind.o  c2s-c2s.o c2s-main.o c2s-sm.o  c2s-pbx.o c2s-pbx_commands.o ../sx/libsx.la ../mio/libmio.la  ../util/libutil.la ../subst/libsubst.la -lssl -lcrypto -lgsasl -ludns -lidn -lexpat -lcrypt  -lz
c2s-main.o: In function `main':
main.c:(.text+0x41d): undefined reference to `set_debug_log_from_config'
main.c:(.text+0x14ce): undefined reference to `set_debug_log_from_config'
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/net-im/jabberd.
*** Error code 1

Stop in /usr/ports/net-im/jabberd.

How-To-Repeat: 
Disable teh DEBUG option in net-im/jabberd and try to compile the port.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-14 10:30:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-05-14 13:11:55 UTC
mm          2012-05-14 12:11:44 UTC

  FreeBSD ports repository

  Added files:
    net-im/jabberd/files patch-41884d9919 
  Log:
  Fix build for WITHOUT_DEBUG
  Patch from upstream: https://github.com/Jabberd2/jabberd2/commit/41884d9919
  
  PR:             ports/167865
  Reported by:    Guido Falsi <madpilot@FreeBSD.org>
  
  Revision  Changes    Path
  1.1       +53 -0     ports/net-im/jabberd/files/patch-41884d9919 (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2012-05-20 22:50:23 UTC
State Changed
From-To: open->closed

Resolved. Thanks!