Mail Archives: djgpp/2014/08/24/13:33:03
> Date: Sun, 24 Aug 2014 18:27:14 +0300
> From: Eli Zaretskii <eliz AT gnu DOT org>
>
> Please try the patch below.
Now with the patch.
--- msdos/sedlibmk.i~0 2014-04-27 22:41:16.000000000 +0300
+++ msdos/sedlibmk.inp 2014-08-24 18:15:13.093750000 +0300
@@ -315,6 +315,7 @@
/^BYTESWAP_H *=/s/@[^@\n]*@/byteswap.h/
/^DIRENT_H *=/s/@[^@\n]*@//
/^ERRNO_H *=/s/@[^@\n]*@//
+/^EXECINFO_H *=/s/@[^@\n]*@/execinfo.h/
/^STDBOOL_H *=/s/@[^@\n]*@//
/^STDALIGN_H *=/s/@[^@\n]*@/stdalign.h/
/^STDARG_H *=/s/@[^@\n]*@//
@@ -333,7 +334,7 @@
/am__append_[1-9][0-9]* *=.*gettext\.h/s/@[^@\n]*@/\#/
/am__append_2 *=.*verify\.h/s/@[^@\n]*@//
/^@gl_GNULIB_ENABLED_tempname_TRUE@/s/@[^@\n]*@//
-/^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o memrchr.o sig2str.o time_r.o getloadavg.o pthread_sigmask.o mkostemp.o fpending.o fdatasync.o/
+/^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o memrchr.o sig2str.o time_r.o getloadavg.o pthread_sigmask.o mkostemp.o fpending.o fdatasync.o execinfo.o/
/^am__append_[1-9][0-9]* *=/,/^[^ ]/{
s/ *inttypes\.h//
s| *sys/select\.h||
--- src/conf_post.h~ 2014-05-31 05:53:04.000000000 +0300
+++ src/conf_post.h 2014-08-24 18:22:17.000000000 +0300
@@ -126,13 +126,6 @@
so we could reuse it in readlinkat; see msdos.c. */
#define opendir sys_opendir
-/* The "portable" definition of _GL_INLINE on config.h does not work
- with DJGPP GCC 3.4.4: it causes unresolved externals in sysdep.c,
- although lib/execinfo.h is included and the inline functions there
- are visible. */
-#if __GNUC__ < 4
-# define _GL_EXECINFO_INLINE inline
-#endif
/* End of gnulib-related stuff. */
#define emacs_raise(sig) msdos_fatal_signal (sig)
- Raw text -