--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d1d9e1453e5962cdcb3e7307a8f018ed ChangeLog 350
+MD5 64a5fec2359f46fcbd57d6cfb6f615af files/digest-fteqcc-2501 61
+MD5 860639741089f97beb1dc101ecd74256 files/fteqcc-2501-cleanup-source.patch 2655
+MD5 436c378c73cc02ce6e851fcb4f4e52fe fteqcc-2501.ebuild 812
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDbDqagIKl8Uu19MoRAqYuAJ0QXs8Guo20NoJnJHn0pEWjbH0PmACfUR7Z
+XyUv2AEb6dZdUqZyih9r1SQ=
+=cNek
+-----END PGP SIGNATURE-----
--- /dev/null
+--- qcc_pr_comp.c
++++ qcc_pr_comp.c
+@@ -7322,7 +7322,7 @@
+ QCC_def_t *def, *d;\r
+ QCC_function_t *f;\r
+ QCC_dfunction_t *df;\r
+- int i;\r
++ int i = 0;\r
+ pbool shared=false;\r
+ pbool externfnc=false;\r
+ pbool isconstant = false;\r
+@@ -8541,8 +8545,6 @@
+ struct qcc_includechunk_s *oldcurrentchunk;\r
+ extern struct qcc_includechunk_s *currentchunk;\r
+ \r
+- extern char qccmsourcedir[];\r
+-\r
+ ocompilingfile = compilingfile;\r
+ os_file = s_file;\r
+ os_file2 = s_file2;\r
+--- hash.h
++++ hash.h
+@@ -19,12 +19,12 @@
+ int Hash_Key(char *name, int modulus);\r
+ void *Hash_Get(hashtable_t *table, char *name);\r
+ void *Hash_GetInsensative(hashtable_t *table, char *name);\r
+-void *Hash_GetKey(hashtable_t *table, int key);\r
++void *Hash_GetKey(hashtable_t *table, long key);\r
+ void *Hash_GetNext(hashtable_t *table, char *name, void *old);\r
+ void *Hash_GetNextInsensative(hashtable_t *table, char *name, void *old);\r
+ void *Hash_Add(hashtable_t *table, char *name, void *data, bucket_t *buck);\r
+ void *Hash_AddInsensative(hashtable_t *table, char *name, void *data, bucket_t *buck);\r
+ void Hash_Remove(hashtable_t *table, char *name);\r
+ void Hash_RemoveData(hashtable_t *table, char *name, void *data);\r
+-void Hash_RemoveKey(hashtable_t *table, int key);\r
+-void *Hash_AddKey(hashtable_t *table, int key, void *data, bucket_t *buck);\r
++void Hash_RemoveKey(hashtable_t *table, long key);\r
++void *Hash_AddKey(hashtable_t *table, long key, void *data, bucket_t *buck);\r
+--- hash.c
++++ hash.c
+@@ -68,7 +68,7 @@
+ }\r
+ return NULL;\r
+ }\r
+-void *Hash_GetKey(hashtable_t *table, int key)\r
++void *Hash_GetKey(hashtable_t *table, long key)\r
+ {\r
+ int bucknum = key%table->numbuckets;\r
+ bucket_t *buck;\r
+@@ -77,7 +77,7 @@
+ \r
+ while(buck)\r
+ {\r
+- if ((int)buck->keystring == key)\r
++ if ((long)buck->keystring == key)\r
+ return buck->data;\r
+ \r
+ buck = buck->next;\r
+@@ -168,7 +168,7 @@
+ \r
+ return buck;\r
+ }\r
+-void *Hash_AddKey(hashtable_t *table, int key, void *data, bucket_t *buck)\r
++void *Hash_AddKey(hashtable_t *table, long key, void *data, bucket_t *buck)\r
+ {\r
+ int bucknum = key%table->numbuckets;\r
+ \r
+@@ -237,14 +237,14 @@
+ }\r
+ \r
+ \r
+-void Hash_RemoveKey(hashtable_t *table, int key)\r
++void Hash_RemoveKey(hashtable_t *table, long key)\r
+ {\r
+ int bucknum = key%table->numbuckets;\r
+ bucket_t *buck; \r
+ \r
+ buck = table->bucket[bucknum];\r
+ \r
+- if ((int)buck->keystring == key)\r
++ if ((long)buck->keystring == key)\r
+ {\r
+ table->bucket[bucknum] = buck->next;\r
+ return;\r
+@@ -253,7 +253,7 @@
+ \r
+ while(buck->next)\r
+ {\r
+- if ((int)buck->next->keystring == key)\r
++ if ((long)buck->next->keystring == key)\r
+ {\r
+ buck->next = buck->next->next;\r
+ return;\r
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/fteqcc/fteqcc-2501.ebuild,v 1.1 2005/11/05 04:51:39 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="QC compiler"
+HOMEPAGE="http://fteqw.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fteqw/qclibsrc${PV}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-cleanup-source.patch
+ sed -i \
+ -e "s: -O3 : :g" \
+ -e "s: -s : :g" \
+ Makefile || die "sed failed"
+ edos2unix readme.txt
+}
+
+src_compile() {
+ emake BASE_CFLAGS="${CFLAGS} -Wall" || die "emake qcc failed"
+}
+
+src_install() {
+ newbin fteqcc.bin fteqcc || die "newbin fteqcc.bin failed"
+ dodoc readme.txt
+}