diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2012-11-07 15:56:33 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2012-11-07 15:56:33 -0500 |
commit | f42fc14f1c72df432bf84d39676350741313decd (patch) | |
tree | bcee20439bde102c2917cf472ddf231948f60a30 | |
parent | a41239c941341e3c2017c6d3644e2cce0f1badf2 (diff) |
Add enter-0.0.9-X11_Xext.patch
-rw-r--r-- | community/enter/PKGBUILD | 7 | ||||
-rw-r--r-- | community/enter/enter-0.0.9-X11_Xext.patch | 13 |
2 files changed, 18 insertions, 2 deletions
diff --git a/community/enter/PKGBUILD b/community/enter/PKGBUILD index e74da4ff0..e33389d06 100644 --- a/community/enter/PKGBUILD +++ b/community/enter/PKGBUILD @@ -10,11 +10,14 @@ 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]) |