Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134626 Details for
Bug 197403
net-im/ejabberd - add hipe USE flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add hipe USE flag
ejabberd-hipe.diff (text/plain), 2.41 KB, created by
Samuel Tardieu
on 2007-10-29 11:35:42 UTC
(
hide
)
Description:
Add hipe USE flag
Filename:
MIME Type:
Creator:
Samuel Tardieu
Created:
2007-10-29 11:35:42 UTC
Size:
2.41 KB
patch
obsolete
>--- ejabberd-1.1.4.ebuild 2007-09-14 13:38:28.000000000 +0200 >+++ ejabberd-1.1.4-r1.ebuild 2007-10-29 11:41:15.000000000 +0100 >@@ -2,7 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-1.1.4.ebuild,v 1.1 2007/09/14 11:38:28 chainsaw Exp $ > >-inherit eutils multilib >+WANT_AUTOCONF=latest >+ >+inherit eutils multilib autotools > > JABBER_ETC="/etc/jabber" > JABBER_RUN="/var/run/jabber" >@@ -15,7 +17,7 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="debug mod_irc mod_muc mod_pubsub ldap odbc ssl web zlib" >+IUSE="debug mod_irc mod_muc mod_pubsub ldap odbc ssl web zlib hipe" > > DEPEND=">=net-im/jabber-base-0.01 > >=dev-libs/expat-1.95 >@@ -34,6 +36,10 @@ > > # Bug #171427 > epatch "${FILESDIR}/${PV}-missing-declaration.patch" >+ >+ # Enable hipe support >+ epatch "${FILESDIR}/hipe.patch" >+ eautoreconf > } > > src_compile() { >@@ -46,6 +52,7 @@ > $(use_enable web) \ > $(use_enable odbc) \ > $(use_enable zlib ejabberd_zlib) \ >+ $(use_enable hipe) \ > || die "econf failed" > > if useq debug; then >--- /dev/null 2007-10-25 00:42:46.081816376 +0200 >+++ files/hipe.patch 2007-10-29 11:43:40.000000000 +0100 >@@ -0,0 +1,41 @@ >+commit 32481313b4be0f590e4a557ce4b29c6f5b3e8f4e >+Author: Samuel Tardieu <sam@rfc1149.net> >+Date: Mon Oct 29 11:35:15 2007 +0100 >+ >+ Enable HIPE compilation >+ >+diff --git a/src/Makefile.in b/src/Makefile.in >+index 3c5792b..e156b83 100644 >+--- a/src/Makefile.in >++++ b/src/Makefile.in >+@@ -21,6 +21,10 @@ ifdef ejabberd_debug >+ ERLC_FLAGS+=-Dejabberd_debug >+ endif >+ >++ifeq (@hipe@, true) >++ ERLC_FLAGS+=+native >++endif >++ >+ ifeq (@roster_gateway_workaround@, true) >+ ERLC_FLAGS+=-DROSTER_GATEWAY_WORKAROUND >+ endif >+diff --git a/src/configure.ac b/src/configure.ac >+index c77f79f..b92300f 100644 >+--- a/src/configure.ac >++++ b/src/configure.ac >+@@ -36,6 +36,15 @@ AC_MOD_ENABLE(tls, yes) >+ AC_MOD_ENABLE(odbc, no) >+ AC_MOD_ENABLE(ejabberd_zlib, yes) >+ >++AC_ARG_ENABLE(hipe, >++[ --enable-hipe Compile natively with hipe (default: no)], >++[case "${enableval}" in >++ yes) hipe=true ;; >++ no) hipe=false ;; >++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-hipe) ;; >++esac],[hipe=false]) >++AC_SUBST(hipe) >++ >+ AC_ARG_ENABLE(roster_gateway_workaround, >+ [ --enable-roster-gateway-workaround Turn on workaround for processing gateway subscriptions (default: no)], >+ [case "${enableval}" in
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197403
: 134626