aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xorg-server
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-02 19:25:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-02 19:25:35 +0000
commit7b57e0960f4e8c948a1367db817176165ff448c8 (patch)
tree71037953515dcc6f76114e62e62016a94440ce67 /x11/xorg-server
parent1a7c733323bfd21253378daec1b44529f6952fe2 (diff)
downloadaports-7b57e0960f4e8c948a1367db817176165ff448c8.tar.bz2
aports-7b57e0960f4e8c948a1367db817176165ff448c8.tar.xz
x11/xorg-server: prevent useless C++ check
Diffstat (limited to 'x11/xorg-server')
-rw-r--r--x11/xorg-server/APKBUILD7
-rw-r--r--x11/xorg-server/nocxx.patch15
2 files changed, 20 insertions, 2 deletions
diff --git a/x11/xorg-server/APKBUILD b/x11/xorg-server/APKBUILD
index a91dbbdf03..e28cd40d42 100644
--- a/x11/xorg-server/APKBUILD
+++ b/x11/xorg-server/APKBUILD
@@ -16,10 +16,12 @@ makedepends="pkgconfig libx11-dev libxfont-dev openssl-dev libxxf86misc
# xorg-server-utils xorg-utils xorg-fonts-misc xbitmaps libdrm>=2.3.1
# diffutils xf86-input-evdev"
-source="http://xorg.freedesktop.org/releases/individual/xserver/$pkgname-$pkgver.tar.bz2"
+source="http://xorg.freedesktop.org/releases/individual/xserver/$pkgname-$pkgver.tar.bz2
+ nocxx.patch"
build () {
cd "$srcdir"/$pkgname-$pkgver
+ patch configure < ../nocxx.patch || return 1
./configure --prefix=/usr \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
@@ -107,4 +109,5 @@ build () {
install -m755 -d "$pkgdir"/var/lib/xkb || return 1
install -m644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="aafe73f5807ce8bb534727ecb72467c7 xorg-server-1.6.0.tar.bz2"
+md5sums="aafe73f5807ce8bb534727ecb72467c7 xorg-server-1.6.0.tar.bz2
+28513788ba4d556ccd538867dc6205ab nocxx.patch"
diff --git a/x11/xorg-server/nocxx.patch b/x11/xorg-server/nocxx.patch
new file mode 100644
index 0000000000..beb1ab9006
--- /dev/null
+++ b/x11/xorg-server/nocxx.patch
@@ -0,0 +1,15 @@
+--- a/configure 2004-12-07 21:34:23.205172545 +0000
++++ b/configure 2004-12-07 21:37:17.726654782 +0000
+@@ -5148,10 +5148,8 @@
+ :
+ else
+ { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+-See \`config.log' for more details." >&5
+-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+-See \`config.log' for more details." >&2;}
+- { (exit 1); exit 1; }; }
++See \`config.log' for more details." >&5;}
++ { echo "C++ sucks, ignoring ..." >&5; }; }
+ fi
+
+ ac_ext=cc