diff options
author | joerg <joerg@pkgsrc.org> | 2007-02-15 14:27:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-02-15 14:27:48 +0000 |
commit | 8e6d74c12078e5781b2f8dbcb588ce53a5fa3a0e (patch) | |
tree | d2e55417c356f7ef083a02e0114870458f732295 /editors/xemacs/files | |
parent | 3b6a56cb2453980697d1a373485f4f995765b377 (diff) | |
download | pkgsrc-8e6d74c12078e5781b2f8dbcb588ce53a5fa3a0e.tar.gz |
Add DragonFly and modular Xorg support.
Diffstat (limited to 'editors/xemacs/files')
-rw-r--r-- | editors/xemacs/files/dragonfly.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/editors/xemacs/files/dragonfly.h b/editors/xemacs/files/dragonfly.h new file mode 100644 index 00000000000..742fce1e649 --- /dev/null +++ b/editors/xemacs/files/dragonfly.h @@ -0,0 +1,52 @@ +/* Synched up with: FSF 19.31. */ + +/* s/ file for DragonFly system. */ + +/* Get most of the stuff from bsd4.3 */ +#include "bsd4-3.h" + +/* For mem-limits.h. */ +#define BSD4_2 + +/* These aren't needed, since we have getloadavg. */ +#undef KERNEL_FILE +#undef LDAV_SYMBOL + +#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) + +#define INTERRUPTIBLE_OPEN + +#define LIBS_DEBUG +#define LIBS_SYSTEM "-lutil" + +#ifndef NOT_C_CODE +#ifdef BSD /* fixing BSD define */ +#undef BSD +#endif +#include <sys/param.h> +/* Kludge to work around setlocale(LC_ALL,...) not working after 01/1997 */ +#endif /* C code */ + +#define LIBS_TERMCAP "-ltermcap" + +#ifndef NOT_C_CODE +#include <stddef.h> +#endif +#define LD_SWITCH_SYSTEM +#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o +#define UNEXEC "unexelf.o" +#define LIB_STANDARD -L/usr/lib/gcc34 -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o +#define LINKER "$(CC) -nostdlib" +#undef LIB_GCC +#define LIB_GCC + +/* #define NO_TERMIO */ /* detected in configure */ +#define DECLARE_GETPWUID_WITH_UID_T + +/* freebsd uses OXTABS instead of the expected TAB3. */ +#define TABDLY OXTABS +#define TAB3 OXTABS + +/* Needed to avoid hanging when child process writes an error message + and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>. */ +#define vfork fork |