summaryrefslogtreecommitdiff
path: root/community/enter
diff options
context:
space:
mode:
Diffstat (limited to 'community/enter')
-rw-r--r--community/enter/PKGBUILD9
-rw-r--r--community/enter/enter-0.0.9-X11_Xext.patch13
2 files changed, 19 insertions, 3 deletions
diff --git a/community/enter/PKGBUILD b/community/enter/PKGBUILD
index 9ce24fd0f..e33389d06 100644
--- a/community/enter/PKGBUILD
+++ b/community/enter/PKGBUILD
@@ -6,15 +6,18 @@ pkgname=enter
pkgver=0.0.9
pkgrel=3
pkgdesc="Enter is a lightweight graphical login manager for X."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://enter.sf.net"
license=('GPL')
depends=('libxft' 'imlib2' 'xorg-server')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('47a77ae57e667f887f856c0a126d667a')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ enter-0.0.9-X11_Xext.patch)
+md5sums=('47a77ae57e667f887f856c0a126d667a'
+ '7e7dee216860d11833706b70b17b6905')
build() {
cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i ${srcdir}/enter-0.0.9-X11_Xext.patch
sed -i 's|\[xft-config\]|\[pkg-config\]|' configure.ac
autoreconf
./configure --prefix=/usr --sysconfdir=/etc CFLAGS="$CFLAGS -lcrypt"
diff --git a/community/enter/enter-0.0.9-X11_Xext.patch b/community/enter/enter-0.0.9-X11_Xext.patch
new file mode 100644
index 000000000..bf0459c30
--- /dev/null
+++ b/community/enter/enter-0.0.9-X11_Xext.patch
@@ -0,0 +1,13 @@
+--- enter-0.0.9.orig/configure.ac 2007-03-26 18:35:54.000000000 -0500
++++ enter-0.0.9/configure.ac 2012-11-07 02:41:16.137947211 -0500
+@@ -52,6 +52,10 @@
+ AC_CHECK_LIB([Imlib2], [imlib_context_new],,
+ AC_MSG_ERROR([You need to have Imlib2.]))
+
++AC_CHECK_LIB(X11, XClearWindow)
++
++AC_CHECK_LIB(Xext, XdbeQueryExtension)
++
+ # Checks for header files.
+ AC_SUBST([X_CFLAGS])
+ AC_SUBST([X_LIBS])