Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 11:00

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 15.04.2008, 17:04 
Offline

Joined: 14.04.2008, 15:06
Posts: 183
Location: Germany
Edit 1: Added patch for _mkdir

Hi,

Patch against subversion r3, trunk. Tested on Linux, 64 bit: All samples still work.

Fixes:
I've already posted in the D bindings thread the problematic C++ name mangling under Linux. Prevents any not C++ linker to use the API.

_mkdir fix: use a more default access mode.

64 Bit fix in utImage.cpp

makefile for Engine: Now automatically generates terrain object files and uses them for libHorde3D.so. The makefile in Extensions/Terrain/Source gets removed now.


Edit: Patch attached as zipfile. Old patch in [code] tags refused to work...
Update: Newer patch. Fixes issues mentioned in the terrain sample crashing post introduced by older patch.
Important: This patch is applied using -p1 instead of -p0


Attachments:
File comment: Apply in trunk with: "patch -p1 < patch" after unzipping.
patch.zip [1.48 KiB]
Downloaded 739 times


Last edited by Codepoet on 20.04.2008, 01:44, edited 3 times in total.
Top
 Profile  
Reply with quote  
PostPosted: 19.04.2008, 10:14 
Offline

Joined: 19.04.2008, 10:10
Posts: 5
hi pleas could you tell me how to patch it and what exactly does it patch ?


Top
 Profile  
Reply with quote  
PostPosted: 19.04.2008, 11:36 
Offline

Joined: 14.04.2008, 15:06
Posts: 183
Location: Germany
Tommassino wrote:
hi pleas could you tell me how to patch it and what exactly does it patch ?

First checkout the subversion repository.
Code:
svn co https://horde3d.svn.sourceforge.net/svnroot/horde3d

This will create a now folder horde3d. Go into that directory and then change to "trunk".
Run the patch after downloading and unzipping:
Edit: Old patch was:
Code:
patch -p0 < patch

New patch:
Code:
patch -p1 < patch


You can also apply the patch by hand if you don't have the patch utility installed. The format is very readable for a human: Scan the file for lines beginning with Index. That's the start of a patch to one specific file which is named there. Any line beginning with a "-" is removed and lines starting with a "+" are added by the patch.


I think I already wrote what it does. Do you have a more specific question?


Last edited by Codepoet on 20.04.2008, 01:44, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: 19.04.2008, 13:11 
Offline

Joined: 19.04.2008, 10:10
Posts: 5
hi
thank you for such fast respons. You told me everything i needed to know


Top
 Profile  
Reply with quote  
PostPosted: 23.04.2008, 09:35 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Thank you Codepoet for this patch. I integrated the 64bit compatibility and the extern "C" linkage under linux in the svn trunk version. I will check the patches for the makefiles later.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group