Hello community, here is the log from the commit of package bff for openSUSE:Factory checked in at Mon Sep 19 21:04:40 CEST 2011.
-------- --- bff/bff.changes 2011-05-27 16:54:49.000000000 +0200 +++ /mounts/work_src_done/STABLE/bff/bff.changes 2011-09-18 19:42:35.000000000 +0200 @@ -1,0 +2,12 @@ +Sun Sep 18 17:34:35 UTC 2011 - [email protected] + +- update to 1.0.4 +- use gcc directly instead of make + +------------------------------------------------------------------- +Sat Sep 17 19:28:38 UTC 2011 - [email protected] + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- bff-1.0.3.1.tar.gz New: ---- bff-1.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bff.spec ++++++ --- /var/tmp/diff_new_pack.bhTnf4/_old 2011-09-19 21:04:35.000000000 +0200 +++ /var/tmp/diff_new_pack.bhTnf4/_new 2011-09-19 21:04:35.000000000 +0200 @@ -18,13 +18,13 @@ Name: bff -Version: 1.0.3.1 -Release: 3 +Version: 1.0.4 +Release: 1 License: BSD-3-Clause -Source: %{name}-%{version}.tar.gz -Group: Development/Languages/Other Summary: Slightly-optimizing Brainfuck interpreter Url: http://swapped.cc/bf/ +Group: Development/Languages/Other +Source: http://swapped.cc/bff/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -35,13 +35,10 @@ %setup -q %build -CFLAGS="%optflags" %__make +gcc %{optflags} -DNDEBUG bff.c -o bff %install -%__install -D -m 755 bff %buildroot%{_bindir}/%{name} - -%clean -%__rm -rf %buildroot +install -D -m 755 bff %{buildroot}%{_bindir}/%{name} %files %defattr(-,root,root) ++++++ bff-1.0.3.1.tar.gz -> bff-1.0.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bff-1.0.3.1/README new/bff-1.0.4/README --- old/bff-1.0.3.1/README 2004-08-03 07:16:15.000000000 +0200 +++ new/bff-1.0.4/README 2011-08-02 02:12:32.000000000 +0200 @@ -1,4 +1,4 @@ -bff 1.0.3.1 +bff 1.0.4 ========= Moderately-optimizing Brainfi*ck language interpreter @@ -16,6 +16,9 @@ make clean = + 1.0.4 - Aug 1, 2011 + fixed xalloc() to zero newly allocated blocks + 1.0.3.1 - Aug 2, 2004 fixed a bug where programs starting with < or > command were not handled properly @@ -35,6 +38,6 @@ 1.0.0 - Apr 26, 2004 an initial public release -======================================================================== -Copyright (c) 2004, Alex Pankratov ([email protected]). All rights reserved. +========================================================================== +Copyright (c) 2004-11, Alex Pankratov ([email protected]). All rights reserved. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bff-1.0.3.1/bff.c new/bff-1.0.4/bff.c --- old/bff-1.0.3.1/bff.c 2004-08-03 07:16:27.000000000 +0200 +++ new/bff-1.0.4/bff.c 2011-08-02 02:09:12.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2004 Alex Pankratov. All rights reserved. * - * Slightly-optimizing (tm) Brainfuck interpreter, 1.0.3.1 + * Slightly-optimizing (tm) Brainfuck interpreter, 1.0.4 * http://swapped.cc/bf */ @@ -103,7 +103,7 @@ memmove(p, p+i, n); /* preprocess */ - x = xalloc(0, n * sizeof(*x)); + x = xalloc(NULL, n * sizeof(*x)); for (i=0; i<n; i++) { @@ -159,7 +159,7 @@ /* allocate cell array - start with the moderate size */ jmax = 256; - v = xalloc(0, jmax * sizeof(int)); + v = xalloc(NULL, jmax * sizeof(int)); /* get busy */ j = jmax / 2; @@ -235,7 +235,7 @@ void * xalloc(void * ptr, size_t sz) { - ptr = realloc(ptr, sz); + ptr = ptr ? realloc(ptr, sz) : calloc(1, sz); if (! ptr) die("out of memory (%ld)\n", sz); return ptr; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
