File fMSX40-roms.patch of Package fMSX

--- fMSX/MSX.c.orig	2008-01-30 01:32:53.000000000 +0300
+++ fMSX/MSX.c	2011-03-17 10:47:50.797722039 +0300
@@ -2761,8 +2761,17 @@
   /* Can't give address without size! */
   if(Buf&&!Size) return(0);
 
+#define ROMDIR "/usr/share/fMSX/"
+
   /* Open file */
-  if(!(F=fopen(Name,"rb"))) return(0);
+  if(!(F=fopen(Name,"rb")))
+  {
+    char fname[strlen(Name)+strlen(ROMDIR)+1];
+    strcpy(fname, ROMDIR);
+    strcat(fname, Name);
+
+    if(!(F=fopen(fname,"rb"))) return(0);
+  }
 
   /* Determine data size, if wasn't given */
   if(!Size)