Hello community, here is the log from the commit of package squirrel for openSUSE:Factory checked in at 2012-03-26 11:08:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/squirrel (Old) and /work/SRC/openSUSE:Factory/.squirrel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "squirrel", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/squirrel/squirrel.changes 2011-12-12 17:04:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.squirrel.new/squirrel.changes 2012-03-26 11:08:15.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Mar 24 23:21:20 UTC 2012 - dimstar@opensuse.org + +- Add squirrel-gcc47.patch: Fix build with gcc 4.7. + +------------------------------------------------------------------- New: ---- squirrel-gcc47.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ squirrel.spec ++++++ --- /var/tmp/diff_new_pack.dxF9Ii/_old 2012-03-26 11:08:16.000000000 +0200 +++ /var/tmp/diff_new_pack.dxF9Ii/_new 2012-03-26 11:08:16.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package squirrel # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,17 +20,20 @@ Name: squirrel Summary: A high level imperative/OO programming language +License: MIT +Group: Development/Languages/Other Version: 3.0 Release: 0 Url: http://squirrel-lang.org/ -Group: Development/Languages/Other -License: MIT -BuildRequires: dos2unix gcc-c++ libtool +BuildRequires: dos2unix +BuildRequires: gcc-c++ +BuildRequires: libtool Source: %{name}_3_0_stable.tar.bz2 Patch0: squirrel-autoconfiscate.patch.bz2 Patch1: squirrel-aliasing.patch Patch2: squirrel-ptr_conversion.patch Patch3: squirrel-rename_binary.patch +Patch4: squirrel-gcc47.patch %description Squirrel is a light weight programming language @@ -82,6 +85,7 @@ %patch1 %patch2 %patch3 +%patch4 -p1 find . -type f -exec chmod -x {} \; chmod +x configure config.guess config.sub depcomp install-sh ltmain.sh missing autoreconf -fi ++++++ squirrel-gcc47.patch ++++++ Index: SQUIRREL3/squirrel/sqmem.h =================================================================== --- /dev/null +++ SQUIRREL3/squirrel/sqmem.h @@ -0,0 +1,8 @@ +/* see copyright notice in squirrel.h */ +#ifndef _SQMEM_H_ +#define _SQMEM_H_ + +void *sq_vm_malloc(SQUnsignedInteger size); +void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size); +void sq_vm_free(void *p,SQUnsignedInteger size); +#endif //_SQMEM_H_ Index: SQUIRREL3/squirrel/sqstate.h =================================================================== --- SQUIRREL3.orig/squirrel/sqstate.h +++ SQUIRREL3/squirrel/sqstate.h @@ -141,8 +141,4 @@ extern SQObjectPtr _null_; //extern SQObjectPtr _minusone_; bool CompileTypemask(SQIntVec &res,const SQChar *typemask); - -void *sq_vm_malloc(SQUnsignedInteger size); -void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size); -void sq_vm_free(void *p,SQUnsignedInteger size); #endif //_SQSTATE_H_ Index: SQUIRREL3/squirrel/squtils.h =================================================================== --- SQUIRREL3.orig/squirrel/squtils.h +++ SQUIRREL3/squirrel/squtils.h @@ -2,6 +2,8 @@ #ifndef _SQUTILS_H_ #define _SQUTILS_H_ +#include "sqmem.h" + #define sq_new(__ptr,__type) {__ptr=(__type *)sq_vm_malloc(sizeof(__type));new (__ptr) __type;} #define sq_delete(__ptr,__type) {__ptr->~__type();sq_vm_free(__ptr,sizeof(__type));} #define SQ_MALLOC(__size) sq_vm_malloc((__size)); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org