commit squirrel for openSUSE:Factory

2019-10-28 Thread root
Hello community,

here is the log from the commit of package squirrel for openSUSE:Factory 
checked in at 2019-10-28 16:59:07

Comparing /work/SRC/openSUSE:Factory/squirrel (Old)
 and  /work/SRC/openSUSE:Factory/.squirrel.new.2990 (New)


Package is "squirrel"

Mon Oct 28 16:59:07 2019 rev:12 rq:743441 version:3.0.7

Changes:

--- /work/SRC/openSUSE:Factory/squirrel/squirrel.changes2019-10-02 
11:58:14.275132840 +0200
+++ /work/SRC/openSUSE:Factory/.squirrel.new.2990/squirrel.changes  
2019-10-28 17:00:16.657751465 +0100
@@ -1,0 +2,5 @@
+Tue Oct  1 06:47:46 UTC 2019 - Jan Engelhardt 
+
+- Drop %defattr, drop *.la files, trim bias from description.
+
+---



Other differences:
--
++ squirrel.spec ++
--- /var/tmp/diff_new_pack.63Oe6K/_old  2019-10-28 17:00:17.161752070 +0100
+++ /var/tmp/diff_new_pack.63Oe6K/_new  2019-10-28 17:00:17.169752080 +0100
@@ -25,7 +25,7 @@
 License:MIT
 Group:  Development/Languages/Other
 URL:http://squirrel-lang.org/
-Source: 
https://downloads.sourceforge.net/project/%{name}/squirrel3/%{name}%20%{version}%20stable/%{name}_%{tarver}_stable.tar.gz
+Source: 
https://downloads.sourceforge.net/%{name}/%{name}_%{tarver}_stable.tar.gz
 Patch0: squirrel-autoconfiscate.patch.bz2
 Patch1: squirrel-aliasing.patch
 Patch2: squirrel-ptr_conversion.patch
@@ -36,11 +36,10 @@
 BuildRequires:  libtool
 
 %description
-Squirrel is a light weight programming language
-featuring higher-order functions,classes/inheritance,
-delegation,tail recursion,generators,cooperative
-threads,exception handling, reference counting and
-garbage collection on demand. C-like syntax.
+Squirrel is a programming language featuring higher-order functions,
+classes, inheritance, delegation, tail recursion, generators,
+cooperative threads, exception handling, reference counting, garbage
+collection on demand, and a C-like syntax.
 
 %packagedevel
 Summary:Development files for %{name}
@@ -86,7 +85,7 @@
 %patch2 -p1
 %patch3
 %patch4 -p1
-find . -type f -exec chmod -x {} \;
+find . -type f -exec chmod -x {} +
 chmod +x configure config.guess config.sub depcomp install-sh ltmain.sh missing
 autoreconf -fi
 
@@ -101,12 +100,12 @@
 %make_install
 install -d %{buildroot}/%{_defaultdocdir}/%{name}
 install -m 644 README HISTORY COPYRIGHT %{buildroot}/%{_defaultdocdir}/%{name}
+rm -fv %{buildroot}/%{_libdir}/*.la
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,755)
 %dir %{_defaultdocdir}/%{name}
 %doc %{_defaultdocdir}/%{name}/README
 %doc %{_defaultdocdir}/%{name}/HISTORY
@@ -115,14 +114,11 @@
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root,755)
 %{_includedir}/*
 %{_libdir}/*.so
 
 %files devel-static
-%defattr(-,root,root,755)
 %{_libdir}/*.a
-%{_libdir}/*.la
 
 %files doc
 %exclude %{_defaultdocdir}/%{name}/README
@@ -131,7 +127,6 @@
 %{_defaultdocdir}/%{name}/*
 
 %files examples
-%defattr(644,root,root,755)
 %{_datadir}/%{name}
 
 %changelog




commit squirrel for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package squirrel for openSUSE:Factory 
checked in at 2019-10-02 11:58:14

Comparing /work/SRC/openSUSE:Factory/squirrel (Old)
 and  /work/SRC/openSUSE:Factory/.squirrel.new.2352 (New)


Package is "squirrel"

Wed Oct  2 11:58:14 2019 rev:11 rq:734099 version:3.0.7

Changes:

--- /work/SRC/openSUSE:Factory/squirrel/squirrel.changes2015-03-30 
19:32:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.squirrel.new.2352/squirrel.changes  
2019-10-02 11:58:14.275132840 +0200
@@ -1,0 +2,11 @@
+Wed Sep 18 08:32:55 UTC 2019 - Christophe Giboudeaux 
+
+- Fix the download URL
+
+---
+Tue Sep 10 20:41:25 UTC 2019 - Christophe Giboudeaux 
+
+- Use -ffat-lto-objects when building static libraries.
+- Run spec-cleaner
+
+---



Other differences:
--
++ squirrel.spec ++
--- /var/tmp/diff_new_pack.xyfKmq/_old  2019-10-02 11:58:14.763131590 +0200
+++ /var/tmp/diff_new_pack.xyfKmq/_new  2019-10-02 11:58:14.763131590 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package squirrel
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,28 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define tardir SQUIRREL3
 %define tarver 3_0_7
-
 Name:   squirrel
+Version:3.0.7
+Release:0
 Summary:A high level imperative/OO programming language
 License:MIT
 Group:  Development/Languages/Other
-Version:3.0.7
-Release:0
-Url:http://squirrel-lang.org/
-BuildRequires:  dos2unix
-BuildRequires:  gcc-c++
-BuildRequires:  libtool
-Source: 
http://downloads.sourceforge.net/project/squirrel/squirrel3/squirrel%203.0.7%20stable/%{name}_%{tarver}_stable.tar.gz
+URL:http://squirrel-lang.org/
+Source: 
https://downloads.sourceforge.net/project/%{name}/squirrel3/%{name}%20%{version}%20stable/%{name}_%{tarver}_stable.tar.gz
 Patch0: squirrel-autoconfiscate.patch.bz2
 Patch1: squirrel-aliasing.patch
 Patch2: squirrel-ptr_conversion.patch
 Patch3: squirrel-rename_binary.patch
 Patch4: squirrel-gcc47.patch
+BuildRequires:  dos2unix
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
 
 %description
 Squirrel is a light weight programming language
@@ -44,9 +43,9 @@
 garbage collection on demand. C-like syntax.
 
 %packagedevel
-Summary:Development files for %name
+Summary:Development files for %{name}
 Group:  Development/Languages/C and C++
-Requires:   %name = %version
+Requires:   %{name} = %{version}
 
 %description devel
 This package contains everything to embed the Squirrel engine in
@@ -55,7 +54,7 @@
 %packagedevel-static
 Summary:Static squirrel libraries
 Group:  Development/Languages/C and C++
-Requires:   %name = %version
+Requires:   %{name} = %{version}
 
 %description devel-static
 This package contains the static versions of the engine and
@@ -64,7 +63,7 @@
 %packagedoc
 Summary:Documentation for %{name}
 Group:  Development/Languages/Other
-Requires:   %name = %version
+Requires:   %{name} = %{version}
 BuildArch:  noarch
 
 %description doc
@@ -73,7 +72,7 @@
 %packageexamples
 Summary:Example scripts for %{name}
 Group:  Development/Languages/Other
-Requires:   %name = %version
+Requires:   %{name} = %{version}
 BuildArch:  noarch
 
 %description examples
@@ -92,18 +91,18 @@
 autoreconf -fi
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 export CXXFLAGS="%{optflags} -std=gnu++0x"
 export CFLAGS="%{optflags}"
 %configure --enable-static
 make %{?_smp_mflags}
 
 %install 
-%makeinstall
-install -d %{buildroot}/%{_defaultdocdir}/%name
-install -m 644 README HISTORY COPYRIGHT %{buildroot}/%{_defaultdocdir}/%name
+%make_install
+install -d %{buildroot}/%{_defaultdocdir}/%{name}
+install -m 644 README HISTORY COPYRIGHT %{buildroot}/%{_defaultdocdir}/%{name}
 
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
 %files
@@ -126,11 +125,10 @@
 %{_libdir}/*.la
 
 %files doc
-%defattr(-,root,root)
 %exclude %{_defaultdocdir}/%{name}/README
 %exclude 

commit squirrel for openSUSE:Factory

2015-03-30 Thread h_root
Hello community,

here is the log from the commit of package squirrel for openSUSE:Factory 
checked in at 2015-03-30 19:32:52

Comparing /work/SRC/openSUSE:Factory/squirrel (Old)
 and  /work/SRC/openSUSE:Factory/.squirrel.new (New)


Package is squirrel

Changes:

--- /work/SRC/openSUSE:Factory/squirrel/squirrel.changes2013-07-25 
14:49:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.squirrel.new/squirrel.changes   2015-03-30 
19:32:53.0 +0200
@@ -1,0 +2,15 @@
+Thu Mar 26 22:45:17 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 3.0.7
+  * newthread and sq_newthread() no longer resets the base lib 
+function in the root table
+  * exceptions in the _inherited metamethod are propagated
+  * 'in' operator performance improvement
+  * fixed bug in print()
+  * fixed some documentation bug
+- Use download Url as source
+- Update patches;
+  * squirrel-gcc47.patch 
+  * squirrel-ptr_conversion.patch 
+
+---

Old:

  squirrel_3_0_2_stable.tar.bz2

New:

  squirrel_3_0_7_stable.tar.gz



Other differences:
--
++ squirrel.spec ++
--- /var/tmp/diff_new_pack.0qasuI/_old  2015-03-30 19:32:54.0 +0200
+++ /var/tmp/diff_new_pack.0qasuI/_new  2015-03-30 19:32:54.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package squirrel
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,19 @@
 
 
 %define tardir SQUIRREL3
+%define tarver 3_0_7
 
 Name:   squirrel
 Summary:A high level imperative/OO programming language
 License:MIT
 Group:  Development/Languages/Other
-Version:3.0.2
+Version:3.0.7
 Release:0
 Url:http://squirrel-lang.org/
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
-Source: %{name}_3_0_2_stable.tar.bz2
+Source: 
http://downloads.sourceforge.net/project/squirrel/squirrel3/squirrel%203.0.7%20stable/%{name}_%{tarver}_stable.tar.gz
 Patch0: squirrel-autoconfiscate.patch.bz2
 Patch1: squirrel-aliasing.patch
 Patch2: squirrel-ptr_conversion.patch

++ squirrel-gcc47.patch ++
--- /var/tmp/diff_new_pack.0qasuI/_old  2015-03-30 19:32:54.0 +0200
+++ /var/tmp/diff_new_pack.0qasuI/_new  2015-03-30 19:32:54.0 +0200
@@ -13,172 +13,11 @@
 diff -Naur SQUIRREL3.orig/squirrel/sqstate.h SQUIRREL3/squirrel/sqstate.h
 --- SQUIRREL3.orig/squirrel/sqstate.h  2012-05-02 02:16:59.0 +0200
 +++ SQUIRREL3/squirrel/sqstate.h   2012-05-02 02:17:09.0 +0200
-@@ -137,8 +137,4 @@
- //extern SQObjectPtr _null_;
- 
- 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_
-diff -Naur SQUIRREL3.orig/squirrel/sqstate.h.orig 
SQUIRREL3/squirrel/sqstate.h.orig
 SQUIRREL3.orig/squirrel/sqstate.h.orig 1970-01-01 01:00:00.0 
+0100
-+++ SQUIRREL3/squirrel/sqstate.h.orig  2012-05-02 02:16:52.0 +0200
-@@ -0,0 +1,144 @@
-+/*see copyright notice in squirrel.h */
-+#ifndef _SQSTATE_H_
-+#define _SQSTATE_H_
-+
-+#include squtils.h
-+#include sqobject.h
-+struct SQString;
-+struct SQTable;
-+//max number of character for a printed number
-+#define NUMBER_MAX_CHAR 50
-+
-+struct SQStringTable
-+{
-+  SQStringTable(SQSharedState*ss);
-+  ~SQStringTable();
-+  SQString *Add(const SQChar *,SQInteger len);
-+  void Remove(SQString *);
-+private:
-+  void Resize(SQInteger size);
-+  void AllocNodes(SQInteger size);
-+  SQString **_strings;
-+  SQUnsignedInteger _numofslots;
-+  SQUnsignedInteger _slotused;
-+  SQSharedState *_sharedstate;
-+};
-+
-+struct RefTable {
-+  struct RefNode {
-+  SQObjectPtr obj;
-+  SQUnsignedInteger refs;
-+  struct RefNode *next;
-+  };
-+  RefTable();
-+  ~RefTable();
-+  void AddRef(SQObject obj);
-+  SQBool Release(SQObject obj);
-+  SQUnsignedInteger GetRefCount(SQObject obj);
-+#ifndef NO_GARBAGE_COLLECTOR
-+  void Mark(SQCollectable **chain);
-+#endif
-+  void Finalize();
-+private:
-+  RefNode *Get(SQObject obj,SQHash mainpos,RefNode **prev,bool add);
-+  RefNode *Add(SQHash mainpos,SQObject obj);
-+  void Resize(SQUnsignedInteger size);
-+  void AllocNodes(SQUnsignedInteger size);
-+  

commit squirrel for openSUSE:Factory

2013-07-25 Thread h_root
Hello community,

here is the log from the commit of package squirrel for openSUSE:Factory 
checked in at 2013-07-25 14:49:13

Comparing /work/SRC/openSUSE:Factory/squirrel (Old)
 and  /work/SRC/openSUSE:Factory/.squirrel.new (New)


Package is squirrel

Changes:

--- /work/SRC/openSUSE:Factory/squirrel/squirrel.changes2012-05-08 
06:50:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.squirrel.new/squirrel.changes   2013-07-25 
14:49:14.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul 24 13:45:57 UTC 2013 - co...@suse.com
+
+- the dirname macro is something special in rpm 4.11, so rename
+  the macro to fix build
+
+---



Other differences:
--
++ squirrel.spec ++
--- /var/tmp/diff_new_pack.QKRzEq/_old  2013-07-25 14:49:14.0 +0200
+++ /var/tmp/diff_new_pack.QKRzEq/_new  2013-07-25 14:49:14.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package squirrel
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -16,7 +16,7 @@
 #
 
 
-%define dirname SQUIRREL3
+%define tardir SQUIRREL3
 
 Name:   squirrel
 Summary:A high level imperative/OO programming language
@@ -79,7 +79,7 @@
 Example scripts to show squirrel usage.
 
 %prep
-%setup -q -n %{dirname}
+%setup -q -n %{tardir}
 dos2unix -q $(find . -type f)
 %patch0
 %patch1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit squirrel for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package squirrel for openSUSE:Factory 
checked in at 2012-05-08 06:48:44

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.changes2012-03-26 
11:08:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.squirrel.new/squirrel.changes   2012-05-08 
06:50:09.0 +0200
@@ -1,0 +2,11 @@
+Wed May  2 07:37:41 UTC 2012 - joop.boo...@opensuse.org
+
+- update to version 3.0.2
+  + added sq_gethash API
+  + now array.sort() is implemented with heapsort
+  + now floats in scientific notation also accept numbers with no '.' (eg. 
1e+6 or 1e6)
+  + fixed some warning
+  + fixed some documentation
+  + fixed bug in GC
+
+---

Old:

  squirrel_3_0_stable.tar.bz2

New:

  squirrel_3_0_2_stable.tar.bz2



Other differences:
--
++ squirrel.spec ++
--- /var/tmp/diff_new_pack.b23pp7/_old  2012-05-08 06:50:11.0 +0200
+++ /var/tmp/diff_new_pack.b23pp7/_new  2012-05-08 06:50:11.0 +0200
@@ -22,13 +22,13 @@
 Summary:A high level imperative/OO programming language
 License:MIT
 Group:  Development/Languages/Other
-Version:3.0
+Version:3.0.2
 Release:0
 Url:http://squirrel-lang.org/
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
-Source: %{name}_3_0_stable.tar.bz2
+Source: %{name}_3_0_2_stable.tar.bz2
 Patch0: squirrel-autoconfiscate.patch.bz2
 Patch1: squirrel-aliasing.patch
 Patch2: squirrel-ptr_conversion.patch
@@ -83,7 +83,7 @@
 dos2unix -q $(find . -type f)
 %patch0
 %patch1
-%patch2
+%patch2 -p1
 %patch3
 %patch4 -p1
 find . -type f -exec chmod -x {} \;

++ squirrel-gcc47.patch ++
--- /var/tmp/diff_new_pack.b23pp7/_old  2012-05-08 06:50:11.0 +0200
+++ /var/tmp/diff_new_pack.b23pp7/_new  2012-05-08 06:50:11.0 +0200
@@ -1,7 +1,6 @@
-Index: SQUIRREL3/squirrel/sqmem.h
-===
 /dev/null
-+++ SQUIRREL3/squirrel/sqmem.h
+diff -Naur SQUIRREL3.orig/squirrel/sqmem.h SQUIRREL3/squirrel/sqmem.h
+--- SQUIRREL3.orig/squirrel/sqmem.h1970-01-01 01:00:00.0 +0100
 SQUIRREL3/squirrel/sqmem.h 2012-05-02 02:17:09.0 +0200
 @@ -0,0 +1,8 @@
 +/*see copyright notice in squirrel.h */
 +#ifndef _SQMEM_H_
@@ -11,12 +10,11 @@
 +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_;
+diff -Naur SQUIRREL3.orig/squirrel/sqstate.h SQUIRREL3/squirrel/sqstate.h
+--- SQUIRREL3.orig/squirrel/sqstate.h  2012-05-02 02:16:59.0 +0200
 SQUIRREL3/squirrel/sqstate.h   2012-05-02 02:17:09.0 +0200
+@@ -137,8 +137,4 @@
+ //extern SQObjectPtr _null_;
  
  bool CompileTypemask(SQIntVec res,const SQChar *typemask);
 -
@@ -24,10 +22,157 @@
 -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
+diff -Naur SQUIRREL3.orig/squirrel/sqstate.h.orig 
SQUIRREL3/squirrel/sqstate.h.orig
+--- SQUIRREL3.orig/squirrel/sqstate.h.orig 1970-01-01 01:00:00.0 
+0100
 SQUIRREL3/squirrel/sqstate.h.orig  2012-05-02 02:16:52.0 +0200
+@@ -0,0 +1,144 @@
++/*see copyright notice in squirrel.h */
++#ifndef _SQSTATE_H_
++#define _SQSTATE_H_
++
++#include squtils.h
++#include sqobject.h
++struct SQString;
++struct SQTable;
++//max number of character for a printed number
++#define NUMBER_MAX_CHAR 50
++
++struct SQStringTable
++{
++  SQStringTable(SQSharedState*ss);
++  ~SQStringTable();
++  SQString *Add(const SQChar *,SQInteger len);
++  void Remove(SQString *);
++private:
++  void Resize(SQInteger size);
++  void AllocNodes(SQInteger size);
++  SQString **_strings;
++  SQUnsignedInteger _numofslots;
++  SQUnsignedInteger _slotused;
++  SQSharedState *_sharedstate;
++};
++
++struct RefTable {
++  struct RefNode {
++  SQObjectPtr obj;
++  SQUnsignedInteger refs;
++ 

commit squirrel for openSUSE:Factory

2012-03-26 Thread h_root
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.changes2011-12-12 
17:04:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.squirrel.new/squirrel.changes   2012-03-26 
11:08:15.0 +0200
@@ -1,0 +2,5 @@
+Sat Mar 24 23:21:20 UTC 2012 - dims...@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.0 +0200
+++ /var/tmp/diff_new_pack.dxF9Ii/_new  2012-03-26 11:08:16.0 +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+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit squirrel for openSUSE:Factory

2011-12-12 Thread h_root
Hello community,

here is the log from the commit of package squirrel for openSUSE:Factory 
checked in at 2011-12-12 16:59: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.changes2011-11-16 
17:22:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.squirrel.new/squirrel.changes   2011-12-12 
17:04:19.0 +0100
@@ -1,0 +2,5 @@
+Mon Nov 28 09:35:46 UTC 2011 - co...@suse.com
+
+- calling autoreconf after patching all about auto* sounds sane
+
+---



Other differences:
--
++ squirrel.spec ++
--- /var/tmp/diff_new_pack.T8LX3Z/_old  2011-12-12 17:04:21.0 +0100
+++ /var/tmp/diff_new_pack.T8LX3Z/_new  2011-12-12 17:04:21.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define dirname SQUIRREL3
 
 Name:   squirrel
@@ -24,7 +25,7 @@
 Url:http://squirrel-lang.org/
 Group:  Development/Languages/Other
 License:MIT
-BuildRequires:  dos2unix gcc-c++
+BuildRequires:  dos2unix gcc-c++ libtool
 Source: %{name}_3_0_stable.tar.bz2
 Patch0: squirrel-autoconfiscate.patch.bz2
 Patch1: squirrel-aliasing.patch
@@ -83,6 +84,7 @@
 %patch3
 find . -type f -exec chmod -x {} \;
 chmod +x configure config.guess config.sub depcomp install-sh ltmain.sh missing
+autoreconf -fi
 
 %build
 export CXXFLAGS=%{optflags} -std=gnu++0x

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org