[63607] trunk/dports/net/wap11gui

jeremyhu at macports.org jeremyhu at macports.org
Tue Feb 9 22:50:36 PST 2010


Revision: 63607
          http://trac.macports.org/changeset/63607
Author:   jeremyhu at macports.org
Date:     2010-02-09 22:50:34 -0800 (Tue, 09 Feb 2010)
Log Message:
-----------
wap11gui: Remove redundant dependency on xorg-libs, fix netsnmp API usage to build correctly

Modified Paths:
--------------
    trunk/dports/net/wap11gui/Portfile
    trunk/dports/net/wap11gui/files/patch-wap11gui-wap11config.cpp

Modified: trunk/dports/net/wap11gui/Portfile
===================================================================
--- trunk/dports/net/wap11gui/Portfile	2010-02-10 06:15:28 UTC (rev 63606)
+++ trunk/dports/net/wap11gui/Portfile	2010-02-10 06:50:34 UTC (rev 63607)
@@ -21,7 +21,6 @@
 				lib:libpng:libpng \
 				path:include/qt3/qt_x11.h:qt3 \
 				lib:libssl.0.9:openssl \
-				port:xorg-libs \
 				lib:libz.1:zlib
 
 patchfiles		patch-configure \

Modified: trunk/dports/net/wap11gui/files/patch-wap11gui-wap11config.cpp
===================================================================
--- trunk/dports/net/wap11gui/files/patch-wap11gui-wap11config.cpp	2010-02-10 06:15:28 UTC (rev 63606)
+++ trunk/dports/net/wap11gui/files/patch-wap11gui-wap11config.cpp	2010-02-10 06:50:34 UTC (rev 63607)
@@ -1,5 +1,17 @@
 --- wap11gui/wap11config.cpp.orig	Fri Feb  6 20:10:58 2004
 +++ wap11gui/wap11config.cpp	Fri Feb  6 20:16:43 2004
+@@ -36,9 +36,9 @@ WAP11Config::WAP11Config()
+ {
+   init_snmp("WAP11-SNMP");
+   add_mibdir(MIBSDIR);
+-  init_mib_internals();
++  netsnmp_init_mib_internals();
+   snmp_sess_init(&session);
+-  if(read_module("ATMEL-MIB")==0)
++  if(netsnmp_read_module("ATMEL-MIB")==0)
+   {
+     THROW_WAP11_EXCEPTION( WAP11SNMPAuthError );
+   }
 @@ -549,10 +549,10 @@
  {
    char s[16];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100209/ca105bdf/attachment.html>


More information about the macports-changes mailing list