[100103] trunk/dports/irc/bahamut

ryandesign at macports.org ryandesign at macports.org
Tue Nov 27 22:21:51 PST 2012


Revision: 100103
          https://trac.macports.org/changeset/100103
Author:   ryandesign at macports.org
Date:     2012-11-27 22:21:51 -0800 (Tue, 27 Nov 2012)
Log Message:
-----------
bahamut: fix build with clang (#37151)

Modified Paths:
--------------
    trunk/dports/irc/bahamut/Portfile

Added Paths:
-----------
    trunk/dports/irc/bahamut/files/patch-src-m_who.c.diff

Modified: trunk/dports/irc/bahamut/Portfile
===================================================================
--- trunk/dports/irc/bahamut/Portfile	2012-11-28 06:21:08 UTC (rev 100102)
+++ trunk/dports/irc/bahamut/Portfile	2012-11-28 06:21:51 UTC (rev 100103)
@@ -28,7 +28,7 @@
 # Undefined symbols:
 #  "_first_visible_channel", referenced from:
 #      _m_who in m_who.o
-compiler.blacklist  clang
+patchfiles-append   patch-src-m_who.c.diff
 
 configure.args      --enable-openssl=${prefix}
 

Added: trunk/dports/irc/bahamut/files/patch-src-m_who.c.diff
===================================================================
--- trunk/dports/irc/bahamut/files/patch-src-m_who.c.diff	                        (rev 0)
+++ trunk/dports/irc/bahamut/files/patch-src-m_who.c.diff	2012-11-28 06:21:51 UTC (rev 100103)
@@ -0,0 +1,11 @@
+--- src/m_who.c.orig	2012-11-27 19:53:36.000000000 -0600
++++ src/m_who.c	2012-11-27 19:53:47.000000000 -0600
+@@ -642,7 +642,7 @@
+     return 1;
+ }
+ 
+-inline char *first_visible_channel(aClient *cptr, aClient *sptr)
++static inline char *first_visible_channel(aClient *cptr, aClient *sptr)
+ {
+     Link *lp;
+     int secret = 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121127/4343fb18/attachment.html>


More information about the macports-changes mailing list