[AD] [ alleg-Bugs-3300870 ] [4.4.1.1] Unix module loader doesn't work |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: noreply@xxxxxxxxxx
- Subject: [AD] [ alleg-Bugs-3300870 ] [4.4.1.1] Unix module loader doesn't work
- From: "SourceForge.net" <noreply@xxxxxxxxxx>
- Date: Fri, 13 May 2011 18:11:54 +1000
Bugs item #3300870, was opened at 2011-05-12 17:10
Message generated for change (Comment added) made by tjaden
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3300870&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Bernhard Rosenkraenzer (bero)
Assigned to: Nobody/Anonymous (nobody)
Summary: [4.4.1.1] Unix module loader doesn't work
Initial Comment:
The 4.4.1.1 Unix module loader fails to load modules from the "standard" module directory.
The problem is that the top level CMakeFiles.txt sets ALLEGRO_MODULES_PATH to the full path including the ${ALLEGRO_VERSION} subdirectory, but src/unix/umodules.c adds the version number to the path again, causing it to look in /usr/lib/allegro/4.4.1/4.4.1/ instead of /usr/lib/allegro/4.4.1
Attaching patch.
----------------------------------------------------------------------
>Comment By: Peter Wang (tjaden)
Date: 2011-05-13 18:11
Message:
Thanks.
PS. the patch should have deleted the extra arguments to snprintf
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3300870&group_id=5665