diff options
author | Janez Zemva | 2017-09-04 21:05:40 +0200 |
---|---|---|
committer | Janez Zemva | 2017-09-04 21:05:40 +0200 |
commit | c6df3a1cc4ff87e644455575153f04c81eb51081 (patch) | |
tree | 895550b9336b8bdfe51050ace57559ab5b07263f | |
parent | 12760a3c06c4e6945ee0cb74834d1cfb2acbbb9e (diff) | |
download | aur-c6df3a1cc4ff87e644455575153f04c81eb51081.tar.gz |
initial commit
-rw-r--r-- | dxegen.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dxegen.patch b/dxegen.patch index 24b1968b3164..8f0366353b3f 100644 --- a/dxegen.patch +++ b/dxegen.patch @@ -6,7 +6,7 @@ { - fprintf(stderr, "Error: neither DXE_LD_LIBRARY_PATH nor DJDIR are set in environment\n"); - exit(1); -+ libdir = "/usr/i686-pc-msdosdjgpp"; ++ libdir = "/usr/i586-pc-msdosdjgpp"; } strcat(command, libdir); strcat(command, "/lib"); @@ -17,7 +17,7 @@ } else - libdir = NULL; -+ libdir = strdup("/usr/i686-pc-msdosdjgpp/lib"); ++ libdir = strdup("/usr/i586-pc-msdosdjgpp/lib"); } @@ -28,7 +28,7 @@ - strcpy(cmdbuf, "dxe3res -o "TEMP_BASE".c "); + const char *djdir = getenv("DJDIR"); + if (!djdir) -+ djdir = "/usr/i686-pc-msdosdjgpp"; ++ djdir = "/usr/i586-pc-msdosdjgpp"; + strcpy(cmdbuf, djdir); + strcat(cmdbuf, "/bin/dxe3res -o "TEMP_BASE".c "); strcat(cmdbuf, opt.dxefile); |