delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/17/07:00:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=cHeYfEldzHt2GUR0XGut1iZkReBY/l2s50oGwDmsMj4=;
b=Wd24gFx+6J+NEV2gMDM/uN3j/zHkriGCwQ2JBXFEVDM9eyIgXa0rnz/M+waSm3rkc4
7OXAYLKqTaXlEWAXQ90uK5FOWzX5//ynULjNlBntRxLNJkgmnB9/kXMTx28XI4w9fUge
Y1xRWct0bB+z5IHKE7I8nBbpJnyDv2C9CsYgXib3s1IaC4vJbjEpyZ/O+tvl8NUNeuNN
VFMjeTWozw9UkOvOwykCI9XBNt3fqCDapMHJeyRMc0YFG8AYqt50pLZ+6UZax+8DPC3O
NCTDMbkLxpHilUhjPvUaAyjWzIlCDJN5lBaFVaNQvRreVKsYJmoT9lKBB429CHukdgrn
lPQA==
MIME-Version: 1.0
X-Received: by 10.42.104.143 with SMTP id r15mr6750144ico.33.1431860410562;
Sun, 17 May 2015 04:00:10 -0700 (PDT)
In-Reply-To: <201505042003.t44K3odg011007@delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
Date: Sun, 17 May 2015 14:00:10 +0300
Message-ID: <CAA2C=vBA2vo2wF910KtCELA62daUN7S2JcfTAwnkeDet87iAig@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Applied the following to dxe3res.c as of r1.4:

make dxe3res to build and run on unix:
- include sys/dxe.h from the local source tree only,
- do the LD_LIBRARY_PATH lookup only for DOS builds.

Index: src/dxe/dxe3res.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/dxe/dxe3res.c,v
retrieving revision 1.3
diff -u -p -r1.3 dxe3res.c
--- src/dxe/dxe3res.c	16 Jun 2013 01:15:12 -0000	1.3
+++ src/dxe/dxe3res.c	17 May 2015 10:37:50 -0000
@@ -12,7 +12,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/dxe.h>
+#include "../../include/sys/dxe.h"

 #define VERSION "1.0"

@@ -288,7 +288,7 @@ static char *gettables(const char *filen
 {
   FILE *f;
   char *table;
-
+#ifdef __DJGPP__
   char *scan;
   char tempfn[FILENAME_MAX]; /* Temporary filename */

@@ -324,7 +324,7 @@ static char *gettables(const char *filen
     return NULL;
   }
 found:
-
+#endif /* __DJGPP__ */
   if ((f = fopen(filename, "rb")) != NULL)
   {
     if (readf(dxehdr, sizeof(dxe3_header), f, 0) && (isdxe(dxehdr) == 3))

--
O.S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019