From f58595c5e68d9d20f7e1c17b128e0528a6d327e2 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Nov 15 2012 14:25:46 +0000 Subject: Update to 0.16.19 --- diff --git a/dev86-long.patch b/dev86-long.patch index 34cde19..59497d6 100644 --- a/dev86-long.patch +++ b/dev86-long.patch @@ -1,15 +1,20 @@ -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 @@ +diff -up dev86-0.16.19/ld/x86_aout.h.long dev86-0.16.19/ld/x86_aout.h +--- dev86-0.16.19/ld/x86_aout.h.long 2012-07-30 10:17:06.000000000 +0200 ++++ dev86-0.16.19/ld/x86_aout.h 2012-11-15 15:19:12.215396644 +0100 +@@ -11,17 +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 +-/* Beware: this will probably allow some BE hosts to generate broken files. */ +-#ifdef INT32_MAX + #include + typedef int32_t Long; +-#define __OUT_OK 1 +-#else -typedef char Long[4]; -+#include -+typedef int32_t Long; +-#endif #endif +#define __OUT_OK 1 diff --git a/dev86-overflow.patch b/dev86-overflow.patch deleted file mode 100644 index 7b2e566..0000000 --- a/dev86-overflow.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -up dev86-0.16.17/bcc/bcc.c.overflow dev86-0.16.17/bcc/bcc.c ---- dev86-0.16.17/bcc/bcc.c.overflow 2005-01-03 23:41:55.000000000 +0100 -+++ dev86-0.16.17/bcc/bcc.c 2009-02-19 10:49:32.000000000 +0100 -@@ -16,6 +16,7 @@ - * -M0 A framework for the -B option. - */ - #include -+#include - #ifdef __STDC__ - #include - #ifndef MSDOS -@@ -1308,11 +1309,7 @@ void reset_prefix_path() - - for(d=s=ptr; d && *s; s=d) - { --#ifdef MAXPATHLEN -- char buf[MAXPATHLEN]; --#else -- char buf[1024]; --#endif -+ char buf[PATH_MAX]; - - free(temp); - d=strchr(s, ':'); diff --git a/dev86.spec b/dev86.spec index 3c21556..0fb2961 100644 --- a/dev86.spec +++ b/dev86.spec @@ -1,15 +1,14 @@ Summary: A real mode 80x86 assembler and linker Name: dev86 -Version: 0.16.18 -Release: 3%{?dist} +Version: 0.16.19 +Release: 1%{?dist} License: GPL+ and GPLv2+ and LGPLv2+ Group: Development/Languages -URL: http://homepage.ntlworld.com/robert.debath/ -Source: http://homepage.ntlworld.com/robert.debath/dev86/Dev86src-%{version}.tar.gz +URL: http://www.debath.co.uk/dev86/ +Source: http://www.debath.co.uk/dev86/Dev86src-%{version}.tar.gz Patch0: dev86-noelks.patch Patch1: dev86-64bit.patch Patch2: dev86-nostrip.patch -Patch3: dev86-overflow.patch Patch4: dev86-long.patch Patch5: dev86-print-overflow.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -34,7 +33,6 @@ mode from their source code. %patch1 -p1 -b .64bit %endif %patch2 -p1 -b .nostrip -%patch3 -p1 -b .overflow %patch4 -p1 -b .long %patch5 -p1 -b .print-overflow @@ -89,6 +87,12 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man1/* %changelog +* Thu Nov 15 2012 Jindrich Novy 0.16.19-1 +- update to 0.16.19 +- fix URLs +- update .long patch +- drop owerflow patch, applied upstream + * Wed Jul 18 2012 Fedora Release Engineering - 0.16.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild