From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 350A2138AE9 for ; Tue, 26 Dec 2017 10:23:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B671E0D47; Tue, 26 Dec 2017 10:23:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 154AAE0D47 for ; Tue, 26 Dec 2017 10:23:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 915FD33BF24 for ; Tue, 26 Dec 2017 10:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 299E5AE7E for ; Tue, 26 Dec 2017 10:23:26 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1514283796.c636bbac1eb309fbef84a05e59ed9d54cf3d1ca2.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/squirrel/files/, dev-lang/squirrel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/squirrel/Manifest dev-lang/squirrel/files/squirrel-2.2.4-autotools.patch dev-lang/squirrel/files/squirrel-2.2.4-gcc47.patch dev-lang/squirrel/files/squirrel-2.2.4-stdint.h.patch dev-lang/squirrel/files/squirrel-2.2.4-supertux-const.patch dev-lang/squirrel/squirrel-2.2.4-r2.ebuild X-VCS-Directories: dev-lang/squirrel/files/ dev-lang/squirrel/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: c636bbac1eb309fbef84a05e59ed9d54cf3d1ca2 X-VCS-Branch: master Date: Tue, 26 Dec 2017 10:23:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d9ed3395-36d2-428f-945f-977807f3d6e2 X-Archives-Hash: 3b25ed6067b0ed1b2342e40a21a5974e commit: c636bbac1eb309fbef84a05e59ed9d54cf3d1ca2 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Dec 26 10:22:35 2017 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Dec 26 10:23:16 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c636bbac dev-lang/squirrel: clean old, bug #642052 Bug: https://bugs.gentoo.org/642052 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-lang/squirrel/Manifest | 1 - .../squirrel/files/squirrel-2.2.4-autotools.patch | 302 --------------------- dev-lang/squirrel/files/squirrel-2.2.4-gcc47.patch | 59 ---- .../squirrel/files/squirrel-2.2.4-stdint.h.patch | 75 ----- .../files/squirrel-2.2.4-supertux-const.patch | 22 -- dev-lang/squirrel/squirrel-2.2.4-r2.ebuild | 46 ---- 6 files changed, 505 deletions(-) diff --git a/dev-lang/squirrel/Manifest b/dev-lang/squirrel/Manifest index 0a646d2a77a..a8083522606 100644 --- a/dev-lang/squirrel/Manifest +++ b/dev-lang/squirrel/Manifest @@ -1,2 +1 @@ DIST squirrel-3.1.tar.gz 175612 BLAKE2B 48a21b0ecd881dc3bea104e86013c3f3d5a4bc1e590cd67ef7e679e01383b7454aad4ea9b8ecec9b836a0ee44e8c9e470309f9c71050ed6d8deb76caac726aea SHA512 8aec059c801a8f6a1ddb9585cebd51457cfd43743cb0b03494e022fd47392e7b4b88e4703f184f4dcba2be8c0fb756e9b260e2f230e1bd92b37cdcb86d4f1141 -DIST squirrel_2.2.4_stable.tar.gz 419567 BLAKE2B 5f4cba9b3aed4efaf12577a86d8945c6d3d1dd92e0b6008bd88943b36c694888144d203aa2e9decd6750da9bf680472a304eaab9375e42325a6d1ed4fc5a353b SHA512 91fe260b362d682eb5d21334c0ffa532120550c1c49a40412ac87118bee5f045e79c260f42247bd2c897d33b7a593dd2bc2e5c8e78e219553682f8b6cd79201d diff --git a/dev-lang/squirrel/files/squirrel-2.2.4-autotools.patch b/dev-lang/squirrel/files/squirrel-2.2.4-autotools.patch deleted file mode 100644 index e39ddedc9eb..00000000000 --- a/dev-lang/squirrel/files/squirrel-2.2.4-autotools.patch +++ /dev/null @@ -1,302 +0,0 @@ -Author: Nathan Phillip Brink -Purpose: Makes squirrel buildable and installable using autotools, a buildsystem everybody is comfortable with. -Source: http://ohnopub.net/hg/SQUIRREL2 -Generate with: hg diff -r 0 -r -1 -I '**Makefile*' -I configure.ac -I '**.in' - -diff -r d6d89bbc08e5 -r c89309f5be40 Makefile ---- a/Makefile Thu Feb 11 15:08:35 2010 -0500 -+++ /dev/null Thu Jan 01 00:00:00 1970 +0000 -@@ -1,18 +0,0 @@ -- --SQUIRREL=. --MAKE=make -- --sq32: -- cd squirrel; $(MAKE) -- cd sqstdlib; $(MAKE) -- cd sq; $(MAKE) -- --sqprof: -- cd squirrel; $(MAKE) sqprof -- cd sqstdlib; $(MAKE) sqprof -- cd sq; $(MAKE) sqprof -- --sq64: -- cd squirrel; $(MAKE) sq64 -- cd sqstdlib; $(MAKE) sq64 -- cd sq; $(MAKE) sq64 -diff -r d6d89bbc08e5 -r c89309f5be40 Makefile.am ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/Makefile.am Sat Apr 10 11:25:40 2010 -0400 -@@ -0,0 +1,89 @@ -+# autoreconf variables, recommended by libtoolize -+ACLOCAL_FLAGS = -I m4 -+ -+AM_CPPFLAGS = -I$(top_srcdir)/include -+ -+# custom installation directories -+examplesdir = $(docdir)/examples -+pkgconfigdir = $(libdir)/pkgconfig -+ -+# installed things -+if ENABLE_DOC -+dist_doc_DATA = doc/sqstdlib2.pdf \ -+ doc/squirrel2.pdf -+endif -+if ENABLE_EXAMPLES -+dist_examples_DATA = samples/ackermann.nut \ -+ samples/array.nut \ -+ samples/class.nut \ -+ samples/classattributes.nut \ -+ samples/coroutines.nut \ -+ samples/delegation.nut \ -+ samples/fibonacci.nut \ -+ samples/flow.nut \ -+ samples/generators.nut \ -+ samples/hello.nut \ -+ samples/list.nut \ -+ samples/loops.nut \ -+ samples/matrix.nut \ -+ samples/metamethods.nut \ -+ samples/methcall.nut \ -+ samples/tailstate.nut -+endif -+ -+nodist_pkgconfig_DATA = libsqstdlib.pc \ -+ libsquirrel.pc -+bin_PROGRAMS = sq/sq -+lib_LTLIBRARIES = libsquirrel.la \ -+ libsqstdlib.la -+include_HEADERS = include/sqstdaux.h \ -+ include/sqstdblob.h \ -+ include/sqstdio.h \ -+ include/sqstdmath.h \ -+ include/sqstdstring.h \ -+ include/sqstdsystem.h \ -+ include/squirrel.h -+ -+ -+# sources for installed things -+ -+libsqstdlib_la_SOURCES = sqstdlib/sqstdaux.cpp \ -+ sqstdlib/sqstdblob.cpp sqstdlib/sqstdblobimpl.h \ -+ sqstdlib/sqstdio.cpp \ -+ sqstdlib/sqstdmath.cpp \ -+ sqstdlib/sqstdrex.cpp \ -+ sqstdlib/sqstdstream.cpp sqstdlib/sqstdstream.h \ -+ sqstdlib/sqstdstring.cpp \ -+ sqstdlib/sqstdsystem.cpp -+libsqstdlib_la_LDFLAGS = -version-info 0:0:0 -+libsqstdlib_la_LIBADD = libsquirrel.la -+ -+libsquirrel_la_SOURCES = squirrel/sqapi.cpp \ -+ squirrel/sqarray.h \ -+ squirrel/sqbaselib.cpp \ -+ squirrel/sqclass.cpp squirrel/sqclass.h \ -+ squirrel/sqclosure.h \ -+ squirrel/sqcompiler.cpp squirrel/sqcompiler.h \ -+ squirrel/sqdebug.cpp \ -+ squirrel/sqfuncproto.h \ -+ squirrel/sqfuncstate.cpp squirrel/sqfuncstate.h \ -+ squirrel/sqlexer.cpp squirrel/sqlexer.h \ -+ squirrel/sqmem.cpp \ -+ squirrel/sqobject.cpp squirrel/sqobject.h \ -+ squirrel/sqopcodes.h \ -+ squirrel/sqpcheader.h \ -+ squirrel/sqstate.cpp squirrel/sqstate.h \ -+ squirrel/sqstring.h \ -+ squirrel/sqtable.cpp squirrel/sqtable.h \ -+ squirrel/squserdata.h \ -+ squirrel/squtils.h \ -+ squirrel/sqvm.cpp squirrel/sqvm.h -+libsquirrel_la_LDFLAGS = -version-info 0:0:0 -+ -+sq_sq_SOURCES = sq/sq.c -+sq_sq_LDADD = libsqstdlib.la -+ -+EXTRA_DIST = COMPILE COPYRIGHT HISTORY README \ -+ doc/sqstdlib2.chm doc/squirrel2.chm \ -+ squirrel.dsw sq/sq.dsp squirrel/squirrel.dsp sqstdlib/sqstdlib.dsp \ -+ etc/minimal.c etc/test.nut -diff -r d6d89bbc08e5 -r c89309f5be40 configure.ac ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/configure.ac Sat Apr 10 11:25:40 2010 -0400 -@@ -0,0 +1,29 @@ -+AC_INIT([squirrel],[2.2.4],[http://squirrel-lang.org/]) -+ -+# recommended by libtoolize: -+AC_CONFIG_MACRO_DIR([m4]) -+ -+AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects]) -+ -+AC_PROG_LIBTOOL -+AC_PROG_CC_C_O -+AC_PROG_CXX -+ -+AC_ARG_ENABLE([doc], -+ [AS_HELP_STRING([--disable-doc], [Control whether or not the API docs (pdfs) are installed.])], -+ [enable_docs=$enableval], -+ [enable_docs=yes]) -+AM_CONDITIONAL([ENABLE_DOC], -+ [test "x$enable_docs" = "xyes"]) -+ -+AC_ARG_ENABLE([examples], -+ [AS_HELP_STRING([--disable-exampels], [Control whether or not examples of libsquirrel use are installed.])], -+ [enable_examples=$enableval], -+ [enable_examples=yes]) -+AM_CONDITIONAL([ENABLE_EXAMPLES], -+ [test "x$enable_examples" = "xyes"]) -+ -+AC_CONFIG_FILES([Makefile -+libsquirrel.pc -+libsqstdlib.pc]) -+AC_OUTPUT -diff -r d6d89bbc08e5 -r c89309f5be40 libsqstdlib.pc.in ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/libsqstdlib.pc.in Sat Apr 10 11:25:40 2010 -0400 -@@ -0,0 +1,14 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: @PACKAGE_NAME@ -+Description: A library for libsquirrel users -+Version: @VERSION@ -+URL: @PACKAGE_BUGREPORT@ -+Libs: -L${libdir} -lsqstdlib -+# I don't like hard-coding this here, but it's an internal -+# dependency so it's justified. -+Libs.private: -lsquirrel -+Cflags: -I${includedir} -diff -r d6d89bbc08e5 -r c89309f5be40 libsquirrel.pc.in ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/libsquirrel.pc.in Sat Apr 10 11:25:40 2010 -0400 -@@ -0,0 +1,11 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: @PACKAGE_NAME@ -+Description: A dynamic scripting language for games -+Version: @VERSION@ -+URL: @PACKAGE_BUGREPORT@ -+Libs: -L${libdir} -lsquirrel -+Cflags: -I${includedir} -diff -r d6d89bbc08e5 -r c89309f5be40 sq/Makefile ---- a/sq/Makefile Thu Feb 11 15:08:35 2010 -0500 -+++ /dev/null Thu Jan 01 00:00:00 1970 +0000 -@@ -1,21 +0,0 @@ --SQUIRREL= .. -- -- --OUT= $(SQUIRREL)/bin/sq --INCZ= -I$(SQUIRREL)/include -I. -I$(SQUIRREL)/sqlibs --LIBZ= -L$(SQUIRREL)/lib --LIB= -lsquirrel -lsqstdlib -- --OBJS= sq.o -- --SRCS= sq.c -- -- --sq32: -- g++ -O2 -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB) -- --sqprof: -- g++ -O2 -pg -fno-rtti -pie -gstabs -g3 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB) -- --sq64: -- g++ -O2 -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB) -\ No newline at end of file -diff -r d6d89bbc08e5 -r c89309f5be40 sqstdlib/Makefile ---- a/sqstdlib/Makefile Thu Feb 11 15:08:35 2010 -0500 -+++ /dev/null Thu Jan 01 00:00:00 1970 +0000 -@@ -1,30 +0,0 @@ --SQUIRREL= .. -- -- --OUT= $(SQUIRREL)/lib/libsqstdlib.a --INCZ= -I$(SQUIRREL)/include -I. -Iinclude -- --SRCS= \ -- sqstdblob.cpp \ -- sqstdio.cpp \ -- sqstdstream.cpp \ -- sqstdmath.cpp \ -- sqstdsystem.cpp \ -- sqstdstring.cpp \ -- sqstdaux.cpp \ -- sqstdrex.cpp -- -- --sq32: -- gcc -O2 -fno-rtti -Wall -c $(SRCS) $(INCZ) -- ar rc $(OUT) *.o -- rm *.o -- --sqprof: -- gcc -O2 -pg -fno-rtti -pie -gstabs -g3 -Wall -c $(SRCS) $(INCZ) -- ar rc $(OUT) *.o -- rm *.o --sq64: -- gcc -O2 -D_SQ64 -fno-rtti -Wall -c $(SRCS) $(INCZ) -- ar rc $(OUT) *.o -- rm *.o -diff -r d6d89bbc08e5 -r c89309f5be40 squirrel/Makefile ---- a/squirrel/Makefile Thu Feb 11 15:08:35 2010 -0500 -+++ /dev/null Thu Jan 01 00:00:00 1970 +0000 -@@ -1,52 +0,0 @@ --SQUIRREL= .. -- -- --OUT= $(SQUIRREL)/lib/libsquirrel.a --INCZ= -I$(SQUIRREL)/include -I. -Iinclude --DEFS= --LIB= -- --OBJS= \ -- sqapi.o \ -- sqbaselib.o \ -- sqcompiler.o \ -- sqdebug.o \ -- sqlexer.o \ -- sqobject.o \ -- sqparser.o \ -- sqstate.o \ -- sqtable.o \ -- sqvm.o \ -- sqmem.o \ -- sqclass.o -- --SRCS= \ -- sqapi.cpp \ -- sqbaselib.cpp \ -- sqfuncstate.cpp \ -- sqdebug.cpp \ -- sqlexer.cpp \ -- sqobject.cpp \ -- sqcompiler.cpp \ -- sqstate.cpp \ -- sqtable.cpp \ -- sqmem.cpp \ -- sqvm.cpp \ -- sqclass.cpp -- -- -- --sq32: -- gcc -O2 -fno-rtti -Wall -c $(SRCS) $(INCZ) $(DEFS) -- ar rc $(OUT) *.o -- rm *.o -- --sqprof: -- gcc -O2 -pg -fno-rtti -pie -gstabs -g3 -Wall -c $(SRCS) $(INCZ) $(DEFS) -- ar rc $(OUT) *.o -- rm *.o -- --sq64: -- gcc -O2 -D_SQ64 -fno-rtti -Wall -c $(SRCS) $(INCZ) $(DEFS) -- ar rc $(OUT) *.o -- rm *.o diff --git a/dev-lang/squirrel/files/squirrel-2.2.4-gcc47.patch b/dev-lang/squirrel/files/squirrel-2.2.4-gcc47.patch deleted file mode 100644 index 032a4eb914a..00000000000 --- a/dev-lang/squirrel/files/squirrel-2.2.4-gcc47.patch +++ /dev/null @@ -1,59 +0,0 @@ -From fd2d422f16ca1134f3be8d693290e6b1c536bf71 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Thu, 7 Jun 2012 10:10:28 +0300 -Subject: [squirrel: PATCH] fix build breakage on gcc-4.7 and clang++ - -gcc 4.7 got proper support for argument dependent lookup -for builtin types: - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46075 - -It exposed old problem: -> gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c sqapi.cpp sqbaselib.cpp sqfuncstate.cpp sqdebug.cpp \ - sqlexer.cpp sqobject.cpp sqcompiler.cpp sqstate.cpp sqtable.cpp sqmem.cpp sqvm.cpp sqclass.cpp -I../include -I. -Iinclude - In file included from sqobject.h:5:0, - from sqpcheader.h:16, - from sqapi.cpp:4: - squtils.h: In instantiation of 'sqvector::~sqvector() [with T = long long int]': - sqclosure.h:142:52: required from here - squtils.h:46:4: error: 'sq_vm_free' was not declared in this scope, and no declarations were found by argument-dependent - lookup at the point of instantiation [-fpermissive] - In file included from sqpcheader.h:17:0, - from sqapi.cpp:4: - sqstate.h:143:6: note: 'void sq_vm_free(void*, SQUnsignedInteger)' declared here, later in the translation unit - -Signed-off-by: Sergei Trofimovich ---- - squirrel/sqstate.h | 3 --- - squirrel/squtils.h | 4 ++++ - 2 files changed, 4 insertions(+), 3 deletions(-) - -diff --git a/squirrel/sqstate.h b/squirrel/sqstate.h -index 3ed3307..e931404 100755 ---- a/squirrel/sqstate.h -+++ b/squirrel/sqstate.h -@@ -138,7 +138,4 @@ private: - - 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 --git a/squirrel/squtils.h b/squirrel/squtils.h -index bff7d24..ac3aef9 100755 ---- a/squirrel/squtils.h -+++ b/squirrel/squtils.h -@@ -10,6 +10,10 @@ - - #define sq_aligning(v) (((size_t)(v) + (SQ_ALIGNMENT-1)) & (~(SQ_ALIGNMENT-1))) - -+ -+void *sq_vm_malloc(SQUnsignedInteger size); -+void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size); -+void sq_vm_free(void *p,SQUnsignedInteger size); - //sqvector mini vector class, supports objects by value - template class sqvector - { --- -1.7.8.6 - diff --git a/dev-lang/squirrel/files/squirrel-2.2.4-stdint.h.patch b/dev-lang/squirrel/files/squirrel-2.2.4-stdint.h.patch deleted file mode 100644 index 911edcc79d3..00000000000 --- a/dev-lang/squirrel/files/squirrel-2.2.4-stdint.h.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -r d6d89bbc08e5 -r 692b7872324b include/squirrel.h ---- a/include/squirrel.h Thu Feb 11 15:08:35 2010 -0500 -+++ b/include/squirrel.h Sat Feb 13 01:04:21 2010 -0500 -@@ -39,28 +39,22 @@ - #define SQUIRREL_API extern - #endif - --#if (defined(_WIN64) || defined(_LP64)) --#define _SQ64 --#endif -+/* Get uintptr_t from a non standard or standard location */ -+#ifdef _MSC_VER -+#include - --#ifdef _SQ64 --#ifdef _MSC_VER --typedef __int64 SQInteger; --typedef unsigned __int64 SQUnsignedInteger; --typedef unsigned __int64 SQHash; /*should be the same size of a pointer*/ --#else --typedef long SQInteger; --typedef unsigned long SQUnsignedInteger; --typedef unsigned long SQHash; /*should be the same size of a pointer*/ --#endif --typedef int SQInt32; --#else --typedef int SQInteger; --typedef int SQInt32; /*must be 32 bits(also on 64bits processors)*/ --typedef unsigned int SQUnsignedInteger; --typedef unsigned int SQHash; /*should be the same size of a pointer*/ --#endif -+typedef __int32 SQInt32; -+typedef __int64 SQInt64; -+#else /* _MSC_VER */ -+#include - -+typedef int32_t SQInt32; -+typedef int64_t SQInt64; -+#endif /* _MSC_VER */ -+ -+typedef intptr_t SQInteger; -+typedef uintptr_t SQUnsignedInteger; -+typedef uintptr_t SQHash; - - #ifdef SQUSEDOUBLE - typedef double SQFloat; -@@ -68,12 +62,8 @@ - typedef float SQFloat; - #endif - --#if defined(SQUSEDOUBLE) && !defined(_SQ64) --#ifdef _MSC_VER --typedef __int64 SQRawObjectVal; //must be 64bits --#else --typedef long SQRawObjectVal; //must be 64bits --#endif -+#if defined(SQUSEDOUBLE) -+typedef SQInt64 SQRawObjectVal; /* must be 64 bits */ - #define SQ_OBJECT_RAWINIT() { _unVal.raw = 0; } - #else - typedef SQUnsignedInteger SQRawObjectVal; //is 32 bits on 32 bits builds and 64 bits otherwise -@@ -453,4 +443,13 @@ - } /*extern "C"*/ - #endif - -+/* -+ Define for code which depends on squirrel to -+ determine bitiness. IMO, this should be discouraged. -+ --ohnobinki -+*/ -+#if (defined(_WIN64) || defined(_LP64)) -+#define _SQ64 -+#endif -+ - #endif /*_SQUIRREL_H_*/ diff --git a/dev-lang/squirrel/files/squirrel-2.2.4-supertux-const.patch b/dev-lang/squirrel/files/squirrel-2.2.4-supertux-const.patch deleted file mode 100644 index e31eca5c1f9..00000000000 --- a/dev-lang/squirrel/files/squirrel-2.2.4-supertux-const.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -r 3e8a1ff66c3c -r bd1cfd3e3cdd sqstdlib/sqstdstream.cpp ---- a/sqstdlib/sqstdstream.cpp Fri Feb 12 20:35:23 2010 -0500 -+++ b/sqstdlib/sqstdstream.cpp Fri Feb 12 23:58:35 2010 -0500 -@@ -277,7 +277,7 @@ - sq_pop(v,1); - } - --SQRESULT declare_stream(HSQUIRRELVM v,SQChar* name,SQUserPointer typetag,const SQChar* reg_name,SQRegFunction *methods,SQRegFunction *globals) -+SQRESULT declare_stream(HSQUIRRELVM v,const SQChar* name,SQUserPointer typetag,const SQChar* reg_name,SQRegFunction *methods,SQRegFunction *globals) - { - if(sq_gettype(v,-1) != OT_TABLE) - return sq_throwerror(v,_SC("table expected")); -diff -r 3e8a1ff66c3c -r bd1cfd3e3cdd sqstdlib/sqstdstream.h ---- a/sqstdlib/sqstdstream.h Fri Feb 12 20:35:23 2010 -0500 -+++ b/sqstdlib/sqstdstream.h Fri Feb 12 23:58:35 2010 -0500 -@@ -14,5 +14,5 @@ - SQInteger _stream_flush(HSQUIRRELVM v); - - #define _DECL_STREAM_FUNC(name,nparams,typecheck) {_SC(#name),_stream_##name,nparams,typecheck} --SQRESULT declare_stream(HSQUIRRELVM v,SQChar* name,SQUserPointer typetag,const SQChar* reg_name,SQRegFunction *methods,SQRegFunction *globals); -+SQRESULT declare_stream(HSQUIRRELVM v,const SQChar* name,SQUserPointer typetag,const SQChar* reg_name,SQRegFunction *methods,SQRegFunction *globals); - #endif /*_SQSTD_STREAM_H_*/ diff --git a/dev-lang/squirrel/squirrel-2.2.4-r2.ebuild b/dev-lang/squirrel/squirrel-2.2.4-r2.ebuild deleted file mode 100644 index cf2c0636a25..00000000000 --- a/dev-lang/squirrel/squirrel-2.2.4-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=3 - -inherit autotools eutils multilib - -MY_P="${PN}_${PV}_stable" -DESCRIPTION="A interpreted language mainly used for games" -HOMEPAGE="http://squirrel-lang.org/" -SRC_URI="mirror://sourceforge/${PN}/${PN}${PV:0:1}/${MY_P}/${MY_P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples static-libs" - -# /usr/bin/sq conflicts -RDEPEND="!app-text/ispell" - -S="${WORKDIR}/SQUIRREL${PV:0:1}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-autotools.patch - epatch "${FILESDIR}"/${P}-supertux-const.patch - epatch "${FILESDIR}"/${P}-stdint.h.patch - epatch "${FILESDIR}"/${P}-gcc47.patch - - eautoreconf -} - -src_configure() { - econf --docdir="${EPREFIX}"/usr/share/doc/${PF} \ - $(use_enable doc) \ - $(use_enable examples) \ - $(use_enable static-libs static) -} - -src_install() { - emake DESTDIR="${D}" install || die - if ! use static-libs; then - rm -v "${ED}"/usr/$(get_libdir)/*.la || die - fi - - dodoc HISTORY README || die -}