* Switch to options framework to make the port more flexible * Remove no longer required patches that have been adapted by upstream * Add license information Also while I'm here: * Order variables a bit according to the PHB with the support of portclippy. Notable changes since 2.0.0: Additions: * (N64) Support for remaining 6101, 6103, and 6106 bootcodes * (Coleco) Recognition of Coleco ROMs * (Virtual Boy) Recognition of Virtual Boy ROMs * (NDS) Recognition of DS ROMs * (Atari) Recognition of Atari VCS 2600 ROMs * Added support for NetBSD * Introduction of many new command-line switches Updates/Fixes: * Updated support for OpenBSD (64-bit) * Many fixes/improvements for backup devices, ROM types and command-line switches http://ucon64.sourceforge.net/ucon64/changes.html PR: 238275 Submitted by: Allison Nicole Reid <root@cooltrainer.org> (maintainer)
21 lines
788 B
C
21 lines
788 B
C
--- ucon64_misc.c.orig 2019-05-30 17:27:48 UTC
|
|
+++ ucon64_misc.c
|
|
@@ -576,7 +576,7 @@ ucon64_load_discmage (void)
|
|
{
|
|
uint32_t version;
|
|
#ifdef DLOPEN
|
|
- const char *p = get_property (ucon64.configfile, "discmage_path", PROPERTY_MODE_FILENAME);
|
|
+ const char *p = "%%PREFIX%%/lib/libdiscmage.so";
|
|
if (p)
|
|
strcpy (ucon64.discmage_path, p);
|
|
else
|
|
@@ -1235,7 +1235,7 @@ ucon64_set_property_array (const char *org_configfile)
|
|
#elif defined __APPLE__ // Mac OS X actually
|
|
PROPERTY_MODE_DIR ("ucon64") "discmage.dylib",
|
|
#elif defined __unix__ || defined __BEOS__
|
|
- PROPERTY_MODE_DIR ("ucon64") "discmage.so",
|
|
+ "%%PREFIX%%/lib/libdiscmage.so",
|
|
#else
|
|
"",
|
|
#endif
|