public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-sports/xmoto/files: xmoto-0.5.2-64bit.patch
@ 2009-09-11 22:04 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2009-09-11 22:04 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    09/09/11 22:04:53

  Added:                xmoto-0.5.2-64bit.patch
  Log:
  Add patch for building on 64bit from Franz Fellner (bug #284464)
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.1                  games-sports/xmoto/files/xmoto-0.5.2-64bit.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/files/xmoto-0.5.2-64bit.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/files/xmoto-0.5.2-64bit.patch?rev=1.1&content-type=text/plain

Index: xmoto-0.5.2-64bit.patch
===================================================================
--- src/DBuffer.h.org	2009-09-10 11:58:28.000000000 +0200
+++ src/DBuffer.h	2009-09-10 12:07:30.000000000 +0200
@@ -69,6 +69,8 @@
       void operator >>(unsigned char &c);
       void operator <<(unsigned int n);
       void operator >>(unsigned int &n);
+      void operator <<(unsigned long n);
+      void operator >>(unsigned long &n);
       void operator <<(float n);
       void operator >>(float &n);
       void operator <<(std::string s);

--- src/DBuffer.cpp.org	2009-09-10 11:58:38.000000000 +0200
+++ src/DBuffer.cpp	2009-09-10 12:08:18.000000000 +0200
@@ -210,6 +210,18 @@
     n = (unsigned int) sn;
   }
   
+  void DBuffer::operator <<(unsigned long n) {
+      int sn;
+      sn = (int) (n);
+      *this << sn;
+  }
+  
+  void DBuffer::operator >>(unsigned long &n) {
+      int sn;
+      *this >> sn;
+      n = (unsigned long) sn;
+  }
+  
   void DBuffer::operator <<(float n) {
     writeBuf_LE((char *)&n, sizeof(float));
   }






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

* [gentoo-commits] gentoo-x86 commit in games-sports/xmoto/files: xmoto-0.5.2-64bit.patch
@ 2010-11-07 22:37 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2010-11-07 22:37 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    10/11/07 22:37:36

  Removed:              xmoto-0.5.2-64bit.patch
  Log:
  old
  (Portage version: 2.1.8.3/cvs/Linux i686)



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

end of thread, other threads:[~2010-11-07 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-07 22:37 [gentoo-commits] gentoo-x86 commit in games-sports/xmoto/files: xmoto-0.5.2-64bit.patch Michael Sterrett (mr_bones_)
  -- strict thread matches above, loose matches on Subject: below --
2009-09-11 22:04 Michael Sterrett (mr_bones_)

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