[87080] trunk/dports/devel/libhsplasma
ryandesign at macports.org
ryandesign at macports.org
Wed Nov 9 17:02:52 PST 2011
Revision: 87080
http://trac.macports.org/changeset/87080
Author: ryandesign at macports.org
Date: 2011-11-09 17:02:51 -0800 (Wed, 09 Nov 2011)
Log Message:
-----------
libhsplasma: update to 20111023
Modified Paths:
--------------
trunk/dports/devel/libhsplasma/Portfile
trunk/dports/devel/libhsplasma/files/patch-endian.diff
Modified: trunk/dports/devel/libhsplasma/Portfile
===================================================================
--- trunk/dports/devel/libhsplasma/Portfile 2011-11-09 22:47:13 UTC (rev 87079)
+++ trunk/dports/devel/libhsplasma/Portfile 2011-11-10 01:02:51 UTC (rev 87080)
@@ -5,7 +5,7 @@
PortGroup cmake 1.0
name libhsplasma
-version 0.0-20111010
+version 0.0-20111023
categories devel
platforms darwin
maintainers ryandesign
@@ -21,7 +21,7 @@
fetch.type git
git.url https://github.com/H-uru/libhsplasma.git
-git.branch 24699c9dc8ef8d680562288e145a0c0709723c89
+git.branch 7b8df5940eeecfcd91ab3922a65303a0cadf3e24
depends_lib port:zlib \
port:jpeg \
Modified: trunk/dports/devel/libhsplasma/files/patch-endian.diff
===================================================================
--- trunk/dports/devel/libhsplasma/files/patch-endian.diff 2011-11-09 22:47:13 UTC (rev 87079)
+++ trunk/dports/devel/libhsplasma/files/patch-endian.diff 2011-11-10 01:02:51 UTC (rev 87080)
@@ -23,9 +23,9 @@
memcpy(buffer + 8, fData4, 8);
}
---- net/auth/pnAuthClient.cpp.orig
-+++ net/auth/pnAuthClient.cpp
-@@ -64,6 +64,7 @@ bool pnAuthClient::Dispatch::dispatch(pnSocket* sock)
+--- net/auth/pnAuthClient.cpp.orig 2011-11-08 10:52:52.000000000 -0600
++++ net/auth/pnAuthClient.cpp 2011-11-08 10:52:52.000000000 -0600
+@@ -64,6 +64,7 @@
uint16_t msgId;
sock->recv(&msgId, sizeof(uint16_t));
@@ -33,7 +33,7 @@
const pnNetMsg* msgDesc = GET_Auth2Cli(msgId);
if (msgDesc == NULL) {
plDebug::Error("Got invalid message ID (%u)", msgId);
-@@ -385,13 +386,13 @@ ENetError pnAuthClient::performConnect()
+@@ -383,13 +384,13 @@
uint8_t connectHeader[51]; // ConnectHeader + AuthConnectHeader
/* Begin ConnectHeader */
*(uint8_t* )(connectHeader ) = kConnTypeCliToAuth;
@@ -52,7 +52,7 @@
memset(connectHeader + 35, 0, 16);
fSock->send(connectHeader, 51);
-@@ -439,6 +440,7 @@ ENetError pnAuthClient::performConnect()
+@@ -437,6 +438,7 @@
} else if (msg == kNetCliSrv2CliError) {
uint32_t errorCode;
fSock->recv(&errorCode, sizeof(uint32_t));
@@ -145,9 +145,9 @@
#ifdef COMMDEBUG
plDebug::Debug(" <- Count: %d", count);
#endif
---- net/file/pnFileClient.cpp.orig
-+++ net/file/pnFileClient.cpp
-@@ -115,6 +115,8 @@ bool pnFileClient::Dispatch::dispatch(pnSocket* sock)
+--- net/file/pnFileClient.cpp.orig 2011-11-08 10:52:52.000000000 -0600
++++ net/file/pnFileClient.cpp 2011-11-08 10:52:52.000000000 -0600
+@@ -115,6 +115,8 @@
sock->recv(&header.fMsgSize, sizeof(header.fMsgSize));
sock->recv(&header.fMsgId, sizeof(header.fMsgId));
@@ -156,7 +156,7 @@
uint8_t* msgbuf = new uint8_t[header.fMsgSize - 8];
uint32_t read_data = 0;
while (read_data < header.fMsgSize - 8)
-@@ -239,13 +241,13 @@ ENetError pnFileClient::performConnect()
+@@ -235,13 +237,13 @@
uint8_t connectHeader[43]; // ConnectHeader + FileConnectHeader
/* Begin ConnectHeader */
*(uint8_t* )(connectHeader ) = kConnTypeCliToFile;
@@ -174,7 +174,7 @@
*(uint32_t*)(connectHeader + 35) = 0;
*(uint32_t*)(connectHeader + 39) = 0;
fSock->send(connectHeader, 43);
-@@ -269,9 +271,9 @@ ENetError pnFileClient::performConnect()
+@@ -265,9 +267,9 @@
void pnFileClient::sendPingRequest(uint32_t pingTimeMs)
{
uint8_t msgbuf[12];
@@ -187,7 +187,7 @@
fSock->send(msgbuf, 12);
}
-@@ -279,9 +281,9 @@ uint32_t pnFileClient::sendBuildIdRequest()
+@@ -275,9 +277,9 @@
{
uint32_t transId = nextTransId();
uint8_t msgbuf[12];
@@ -200,7 +200,7 @@
fSock->send(msgbuf, 12);
return transId;
}
-@@ -293,12 +295,12 @@ uint32_t pnFileClient::sendManifestRequest(const plString& group, uint32_t build
+@@ -289,12 +291,12 @@
uint32_t transId = nextTransId();
uint8_t msgbuf[536];
@@ -218,7 +218,7 @@
fSock->send(msgbuf, 536);
return transId;
}
-@@ -310,12 +312,12 @@ uint32_t pnFileClient::sendFileDownloadRequest(const plString& filename, uint32_
+@@ -306,12 +308,12 @@
uint32_t transId = nextTransId();
uint8_t msgbuf[536];
@@ -236,7 +236,7 @@
fSock->send(msgbuf, 536);
return transId;
}
-@@ -323,20 +325,20 @@ uint32_t pnFileClient::sendFileDownloadRequest(const plString& filename, uint32_
+@@ -319,20 +321,20 @@
void pnFileClient::sendManifestEntryAck(uint32_t transId, uint32_t readerId)
{
uint8_t msgbuf[16];
@@ -265,9 +265,9 @@
fSock->send(msgbuf, 16);
}
---- net/game/pnGameClient.cpp.orig
-+++ net/game/pnGameClient.cpp
-@@ -35,6 +35,7 @@ bool pnGameClient::Dispatch::dispatch(pnSocket* sock)
+--- net/game/pnGameClient.cpp.orig 2011-11-08 10:52:52.000000000 -0600
++++ net/game/pnGameClient.cpp 2011-11-08 10:52:52.000000000 -0600
+@@ -35,6 +35,7 @@
uint16_t msgId;
sock->recv(&msgId, sizeof(uint16_t));
@@ -275,7 +275,7 @@
const pnNetMsg* msgDesc = GET_Game2Cli(msgId);
if (msgDesc == NULL) {
plDebug::Error("Got invalid message ID (%u)", msgId);
-@@ -153,13 +154,13 @@ ENetError pnGameClient::performConnect()
+@@ -149,13 +150,13 @@
uint8_t connectHeader[67]; // ConnectHeader + GameConnectHeader
/* Begin ConnectHeader */
*(uint8_t* )(connectHeader ) = kConnTypeCliToGame;
@@ -294,7 +294,7 @@
fAccountId.write(connectHeader + 35);
fAgeId.write(connectHeader + 51);
fSock->send(connectHeader, 67);
-@@ -208,6 +209,7 @@ ENetError pnGameClient::performConnect()
+@@ -204,6 +205,7 @@
} else if (msg == kNetCliSrv2CliError) {
uint32_t errorCode;
fSock->recv(&errorCode, sizeof(uint32_t));
@@ -302,9 +302,9 @@
delete fSock;
fSock = NULL;
plDebug::Error("Error connecting to Game server: %s",
---- net/gate/pnGateKeeperClient.cpp.orig
-+++ net/gate/pnGateKeeperClient.cpp
-@@ -33,6 +33,7 @@ bool pnGateKeeperClient::Dispatch::dispatch(pnSocket* sock)
+--- net/gate/pnGateKeeperClient.cpp.orig 2011-11-08 10:52:52.000000000 -0600
++++ net/gate/pnGateKeeperClient.cpp 2011-11-08 10:52:52.000000000 -0600
+@@ -33,6 +33,7 @@
{
uint16_t msgId;
sock->recv(&msgId, sizeof(uint16_t));
@@ -312,7 +312,7 @@
const pnNetMsg* msgDesc = GET_GateKeeper2Cli(msgId);
if (msgDesc == NULL) {
plDebug::Error("Got invalid message ID (%u)", msgId);
-@@ -121,13 +122,13 @@ ENetError pnGateKeeperClient::performConnect()
+@@ -117,13 +118,13 @@
uint8_t connectHeader[51]; // ConnectHeader + GateKeeperConnectHeader
/* Begin ConnectHeader */
*(uint8_t* )(connectHeader ) = kConnTypeCliToGateKeeper;
@@ -331,7 +331,7 @@
memset(connectHeader + 35, 0, 16);
fSock->send(connectHeader, 51);
-@@ -175,6 +176,7 @@ ENetError pnGateKeeperClient::performConnect()
+@@ -171,6 +172,7 @@
} else if (msg == kNetCliSrv2CliError) {
uint32_t errorCode;
fSock->recv(&errorCode, sizeof(uint32_t));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111109/8e5507b0/attachment.html>
More information about the macports-changes
mailing list