public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/dpkt/files: dpkt-1.6-python-2.6.patch
@ 2009-05-16 21:22 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-05-16 21:22 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/05/16 21:22:19

  Added:                dpkt-1.6-python-2.6.patch
  Log:
  Fix building with Python 2.6 (bug #267638).
  (Portage version: 13623-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/dpkt/files/dpkt-1.6-python-2.6.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dpkt/files/dpkt-1.6-python-2.6.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/dpkt/files/dpkt-1.6-python-2.6.patch?rev=1.1&content-type=text/plain

Index: dpkt-1.6-python-2.6.patch
===================================================================
--- dpkt/bgp.py
+++ dpkt/bgp.py
@@ -140,7 +140,7 @@
     class Open(dpkt.Packet):
         __hdr__ = (
             ('v', 'B', 4),
-            ('as', 'H', 0),
+            ('as_', 'H', 0),
             ('holdtime', 'H', 0),
             ('identifier', 'I', 0),
             ('param_len', 'B', 0)
@@ -401,7 +401,7 @@
 
             class Aggregator(dpkt.Packet):
                 __hdr__ = (
-                    ('as', 'H', 0),
+                    ('as_', 'H', 0),
                     ('ip', 'I', 0)
                 )
 
@@ -428,7 +428,7 @@
 
                 class Community(dpkt.Packet):
                     __hdr__ = (
-                        ('as', 'H', 0),
+                        ('as_', 'H', 0),
                         ('value', 'H', 0)
                     )
 
@@ -675,7 +675,7 @@
             self.failUnless(a.len == 12)
             self.failUnless(len(a.communities.list) == 3)
             c = a.communities.list[0]
-            self.failUnless(c.as == 65215)
+            self.failUnless(c.as_ == 65215)
             self.failUnless(c.value == 1)
             r = b2.update.announced[0]
             self.failUnless(r.len == 22)
@@ -712,7 +712,7 @@
             b4 = BGP(self.bgp4)
             self.failUnless(b4.len == 45)
             self.failUnless(b4.type == OPEN)
-            self.failUnless(b4.open.as == 237)
+            self.failUnless(b4.open.as_ == 237)
             self.failUnless(b4.open.param_len == 16)
             self.failUnless(len(b4.open.parameters) == 3)
             p = b4.open.parameters[0]






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/dpkt/files: dpkt-1.6-python-2.6.patch
@ 2010-07-01  1:34 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-07-01  1:34 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/07/01 01:34:58

  Removed:              dpkt-1.6-python-2.6.patch
  Log:
  Delete older ebuild.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-01  1:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-01  1:34 [gentoo-commits] gentoo-x86 commit in dev-python/dpkt/files: dpkt-1.6-python-2.6.patch Arfrever Frehtes Taifersar Arahesis (arfrever)
  -- strict thread matches above, loose matches on Subject: below --
2009-05-16 21:22 Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox