From: <ny...@us...> - 2006-12-29 06:51:31
|
Revision: 227 http://svn.sourceforge.net/pmplib/?rev=227&view=rev Author: nyaochi Date: 2006-12-28 22:51:31 -0800 (Thu, 28 Dec 2006) Log Message: ----------- Build pmp_iriverplus3 on POSIX. Modified Paths: -------------- trunk/pmplib/configure.in trunk/pmplib/lib/pmp/pmp_posix.c Modified: trunk/pmplib/configure.in =================================================================== --- trunk/pmplib/configure.in 2006-12-29 06:32:12 UTC (rev 226) +++ trunk/pmplib/configure.in 2006-12-29 06:51:31 UTC (rev 227) @@ -228,7 +228,7 @@ dnl ------------------------------------------------------------------ dnl Output the configure results. dnl ------------------------------------------------------------------ -AC_CONFIG_FILES(Makefile m4/Makefile lib/ucs2/Makefile lib/filepath/Makefile lib/gmi/Makefile lib/pmp/Makefile lib/pmp_irivnavi/Makefile lib/pmp_portalplayer1/Makefile lib/pmp_iriverplus2/Makefile lib/playlist/Makefile frontend/easypmp/cui/Makefile) +AC_CONFIG_FILES(Makefile m4/Makefile lib/ucs2/Makefile lib/filepath/Makefile lib/gmi/Makefile lib/pmp/Makefile lib/pmp_irivnavi/Makefile lib/pmp_portalplayer1/Makefile lib/pmp_iriverplus2/Makefile lib/pmp_iriverplus3/Makefile lib/playlist/Makefile frontend/easypmp/cui/Makefile) if test -n "$JS_CFLAGS" ; then AC_DEFINE([HAVE_JSAPI_H], 1, [Define if you have the jsapi.h header]) Modified: trunk/pmplib/lib/pmp/pmp_posix.c =================================================================== --- trunk/pmplib/lib/pmp/pmp_posix.c 2006-12-29 06:32:12 UTC (rev 226) +++ trunk/pmplib/lib/pmp/pmp_posix.c 2006-12-29 06:51:31 UTC (rev 227) @@ -83,6 +83,15 @@ fprintf(stderr, "FAILED: iriverplus2\n"); } + inst = lt_dlopenext("iriverplus3"); + if (inst) { + pmphelp->num_plugins++; + pmphelp->plugins = (lt_dlhandle*)realloc(pmphelp->plugins, sizeof(lt_dlhandle) * pmphelp->num_plugins); + pmphelp->plugins[pmphelp->num_plugins-1] = inst; + } else { + fprintf(stderr, "FAILED: iriverplus3\n"); + } + inst = lt_dlopenext("irivnavi"); if (inst) { pmphelp->num_plugins++; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |