This was only used by Xen which was removed, too.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
+++ /dev/null
---- dev86-0.16.17/bcc/bcc.c.fix 2005-01-03 23:41:55.000000000 +0100
-+++ dev86-0.16.17/bcc/bcc.c 2006-12-27 16:32:57.000000000 +0100
-@@ -226,12 +226,12 @@
-
- } else {
- /* Relative paths to normal PREFIX directory */
-- default_include = build_libpath("-I", "/lib/bcc/include", "");
-- default_libdir = build_libpath("-L", "/lib/bcc", libdir_suffix);
-- optim_rules = build_libpath("-d", "/lib/bcc", libdir_suffix);
-+ default_include = build_libpath("-I", "/lib64/bcc/include", "");
-+ default_libdir = build_libpath("-L", "/lib64/bcc", libdir_suffix);
-+ optim_rules = build_libpath("-d", "/lib64/bcc", libdir_suffix);
-
-- build_prefix("/lib/bcc", libdir_suffix, "");
-- build_prefix("/lib/bcc", "", "");
-+ build_prefix("/lib64/bcc", libdir_suffix, "");
-+ build_prefix("/lib64/bcc", "", "");
- }
-
- build_prefix("/bin", "", "");
+++ /dev/null
-###############################################################################
-# IPFire.org - An Open Source Firewall Solution #
-# Copyright (C) - IPFire Development Team <info@ipfire.org> #
-###############################################################################
-
-name = dev86
-version = 0.16.18
-release = 5
-sup_arches = i686 x86_64
-
-maintainer = Ben Schweikert <ben.schweikert@ipfire.org>
-groups = Development/Languages
-url = http://www.debath.co.uk/dev86/
-license = GPL+
-summary = Cross development C compiler.
-
-description
- This is a cross development C compiler, assembler and linker
- environment for the production of 8086 executables
- (Optionally MSDOS COM)
-end
-
-source_dl = http://www.debath.co.uk/dev86/
-sources = Dev86src-%{version}.tar.gz
-
-build
- requires
- ncurses-devel
- end
-
- prepare_cmds
- if [ "$(uname -m)" = "x86_64" ]; then
- patch -Np1 -i %{DIR_SOURCE}/dev86-64bit.patch
- fi
- end
-
- build
- make bcc86 unproto copt as86 ld86 CFLAGS="%{CFLAGS}"
- make -C cpp CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
- make -C ar CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
- make -C ld CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS}
-
- # ncc doesn't support gcc optflags and no parallel build
- make
- end
-
- make_install_targets = \
- DIST=%{BUILDROOT} \
- MANDIR=/usr/share/man \
- LIBDIR=%{libdir}/bcc \
- INCLDIR=/usr/include/bcc \
- LOCLAPREFIX=/usr \
- install install-man
-
- install_cmds
- # Remove useless files.
- rm -rf %{BUILDROOT}/usr/share/{applications,pixmaps}
- end
-end
-
-packages
- package %{name}
-
- package %{name}-devel
- template DEVEL
- end
-
- package %{name}-debuginfo
- template DEBUGINFO
- end
-end
+++ /dev/null
---- dev86-0.16.18/elksemu/elks.c.orig 2005-11-04 01:35:37.000000000 +0100
-+++ dev86-0.16.18/elksemu/elks.c 2005-11-04 01:45:28.000000000 +0100
-@@ -129,8 +129,17 @@
- static inline int vm86_mine(struct vm86_struct* v86)
- {
- int __res;
-+#ifndef __PIC__
- __asm__ __volatile__("int $0x80\n"
- :"=a" (__res):"a" ((int)OLD_SYS_vm86), "b" ((int)v86));
-+#else
-+ __asm__ __volatile__(
-+ "movl %%ebx,%%ecx\n\t"
-+ "movl %2,%%ebx\n\t"
-+ "int $0x80\n\t"
-+ "movl %%ecx,%%ebx\n\t"
-+ :"=a" (__res):"a" ((int)OLD_SYS_vm86), "r" ((int)v86) : "ecx");
-+#endif
- return __res;
- }
- #endif
+++ /dev/null
---- dev86-0.16.17/bcc/bcc.c
-+++ dev86-0.16.17/bcc/bcc.c
-@@ -19,6 +19,7 @@
- #ifdef __STDC__
- #include <stdlib.h>
- #ifndef MSDOS
-+#include <limits.h>
- #include <unistd.h>
- #endif
- #else
-@@ -596,12 +597,17 @@
- }
- }
-
--void
--command_reset()
--{
- #ifndef MAXPATHLEN
-+#ifdef PATH_MAX
-+#define MAXPATHLEN PATH_MAX
-+#else
- #define MAXPATHLEN 1024
- #endif
-+#endif
-+
-+void
-+command_reset()
-+{
- char buf[MAXPATHLEN];
- char ** prefix;
- char * saved_cmd;
-@@ -1308,11 +1314,7 @@
-
- for(d=s=ptr; d && *s; s=d)
- {
--#ifdef MAXPATHLEN
- char buf[MAXPATHLEN];
--#else
-- char buf[1024];
--#endif
-
- free(temp);
- d=strchr(s, ':');
+++ /dev/null
---- linux86-0.16.17/copt/copt.c.orig 2003-10-08 04:46:35.000000000 +0900
-+++ linux86-0.16.17/copt/copt.c 2010-10-12 12:30:25.000000000 +0900
-@@ -174,7 +174,7 @@ static char *readline(FILE *fp)
- /* Delete leading white spaces */
- for (cp = buf; *cp && isspace(*cp); cp++) ;
- if (cp != buf && *cp)
-- strcpy(buf, cp);
-+ memmove(buf, cp, strlen(cp) + 1);
-
- return(buf);
- }
+++ /dev/null
-diff -up dev86-0.16.17/ld/x86_aout.h.long dev86-0.16.17/ld/x86_aout.h
---- dev86-0.16.17/ld/x86_aout.h.long 2003-01-28 23:17:14.000000000 +0100
-+++ dev86-0.16.17/ld/x86_aout.h 2009-02-19 11:37:10.000000000 +0100
-@@ -11,10 +11,11 @@
- /* If the host isn't an x86 all bets are off, use chars. */
- #if defined(i386) || defined(__BCC__) || defined(MSDOS)
- typedef long Long;
--#define __OUT_OK 1
- #else
--typedef char Long[4];
-+#include <stdint.h>
-+typedef int32_t Long;
- #endif
-+#define __OUT_OK 1
-
- struct exec { /* a.out header */
- unsigned char a_magic[2]; /* magic number */
+++ /dev/null
---- dev86-0.16.17/makefile.in.nostrip 2007-01-30 14:28:38.000000000 +0100
-+++ dev86-0.16.17/makefile.in 2007-01-30 14:40:56.000000000 +0100
-@@ -78,7 +78,7 @@
-
- # Install files with the userid of the currently running process.
- INDAT=-m 644
--INEXE=-m 755 -s
-+INEXE=-m 755
- INSCR=-m 755
-
- #ifdef __CYGWIN__