From: Michael Tremer Date: Fri, 22 Apr 2016 21:21:43 +0000 (+0100) Subject: dev86: Remove package X-Git-Url: http://git.ipfire.org/?p=people%2Famarx%2Fipfire-3.x.git;a=commitdiff_plain;h=164e2aca68e5f725ae567adf1a051226be4c2f62 dev86: Remove package This was only used by Xen which was removed, too. Signed-off-by: Michael Tremer --- diff --git a/dev86/dev86-64bit.patch b/dev86/dev86-64bit.patch deleted file mode 100644 index 01fa549b9..000000000 --- a/dev86/dev86-64bit.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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", "", ""); diff --git a/dev86/dev86.nm b/dev86/dev86.nm deleted file mode 100644 index 7747182df..000000000 --- a/dev86/dev86.nm +++ /dev/null @@ -1,71 +0,0 @@ -############################################################################### -# IPFire.org - An Open Source Firewall Solution # -# Copyright (C) - IPFire Development Team # -############################################################################### - -name = dev86 -version = 0.16.18 -release = 5 -sup_arches = i686 x86_64 - -maintainer = Ben Schweikert -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 diff --git a/dev86/patches/01-dev86-pic.patch b/dev86/patches/01-dev86-pic.patch deleted file mode 100644 index ec5d70632..000000000 --- a/dev86/patches/01-dev86-pic.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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 diff --git a/dev86/patches/02-dev86-0.16.17-fortify.patch b/dev86/patches/02-dev86-0.16.17-fortify.patch deleted file mode 100644 index 715d0c4ca..000000000 --- a/dev86/patches/02-dev86-0.16.17-fortify.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- dev86-0.16.17/bcc/bcc.c -+++ dev86-0.16.17/bcc/bcc.c -@@ -19,6 +19,7 @@ - #ifdef __STDC__ - #include - #ifndef MSDOS -+#include - #include - #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, ':'); diff --git a/dev86/patches/copt.patch b/dev86/patches/copt.patch deleted file mode 100644 index 726196f3e..000000000 --- a/dev86/patches/copt.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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); - } diff --git a/dev86/patches/dev86-long.patch b/dev86/patches/dev86-long.patch deleted file mode 100644 index 34cde195b..000000000 --- a/dev86/patches/dev86-long.patch +++ /dev/null @@ -1,17 +0,0 @@ -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 -+typedef int32_t Long; - #endif -+#define __OUT_OK 1 - - struct exec { /* a.out header */ - unsigned char a_magic[2]; /* magic number */ diff --git a/dev86/patches/dev86-nostrip.patch b/dev86/patches/dev86-nostrip.patch deleted file mode 100644 index b26169abb..000000000 --- a/dev86/patches/dev86-nostrip.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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__