From owner-freebsd-ports-bugs@freebsd.org Mon Jul 27 16:34:07 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FED39ACBCD for ; Mon, 27 Jul 2015 16:34:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40E4A6E8 for ; Mon, 27 Jul 2015 16:34:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6RGY7AP043703 for ; Mon, 27 Jul 2015 16:34:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201926] [patch] games/iourbanterror: error: conflicting types for 'speex_bits_read_from' Date: Mon, 27 Jul 2015 16:34:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 16:34:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201926 Bug ID: 201926 Summary: [patch] games/iourbanterror: error: conflicting types for 'speex_bits_read_from' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: ohartman@zedat.fu-berlin.de CC: kamikaze@bsdforen.de Flags: maintainer-feedback?(kamikaze@bsdforen.de) Keywords: patch CC: kamikaze@bsdforen.de Created attachment 159309 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159309&action=edit Patch for games/iourbanterror on CURRENT and most recent ports/tree On FreeBSD CURRENT (FreeBSD 11.0-CURRENT #12 r285890: Sun Jul 26 13:26:39 CEST 2015 amd64) and most recent ports/tree (Rev: 392988) games/iourbanterror rejects to compile due to an interface mismatch in code/libspeex/bits.c with most recent port's libspeex installed: [...] CC code/libspeex/bits.c code/libspeex/bits.c:109:6: error: conflicting types for 'speex_bits_read_from' void speex_bits_read_from(SpeexBits *bits, char *chars, int len) ^ /usr/local/include/speex/speex_bits.h:80:6: note: previous declaration is here void speex_bits_read_from(SpeexBits *bits, const char *bytes, int len); ^ code/libspeex/bits.c:156:6: error: conflicting types for 'speex_bits_read_whole_bytes' void speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) ^ /usr/local/include/speex/speex_bits.h:88:6: note: previous declaration is here void speex_bits_read_whole_bytes(SpeexBits *bits, const char *bytes, int len); ^ 2 errors generated. [...] The problem can be (syntactically) simply solved by the attached patchfile, which adjusts the call of the speex routines in question to the definitions given by the speex library. -- You are receiving this mail because: You are the assignee for the bug.