summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2017-05-22 08:43:07 +0200
committeraksr2017-05-22 08:43:23 +0200
commit85248d4e3a8dd20870acdfef8a35becbd8a14f06 (patch)
tree82f2e703232fe2b1c70cd4e6a390718452347300
parent524829df5b6f3ee7f5d190dae8bffbe3fe02c2b5 (diff)
downloadaur-85248d4e3a8dd20870acdfef8a35becbd8a14f06.tar.gz
Fix build (ugly!).
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc831f5d9d7..04f33815a18 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Sep 8 08:39:26 UTC 2016
+# Mon May 22 06:42:32 UTC 2017
pkgbase = bitchx-git
pkgdesc = An IRC (Internet Relay Chat) client.
- pkgver = 1.2.1.r118.gdc17b05
+ pkgver = 1.2.1.r221.g790ba5b
pkgrel = 1
url = http://bitchx.sourceforge.net/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 43a9d67fc50..00c87380ee8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=bitchx-git
-pkgver=1.2.1.r118.gdc17b05
+pkgver=1.2.1.r221.g790ba5b
pkgrel=1
pkgdesc="An IRC (Internet Relay Chat) client."
arch=('i686' 'x86_64')
@@ -24,6 +24,12 @@ pkgver () {
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^bitchx\.//'
}
+prepare() {
+ cd "$srcdir/$pkgname"
+ sed -i '1s/^/#include "irc_std.h"\n#include "irc.h"\n/' include/struct.h
+ sed -i '1s/^/#include "ircaux.h"\n/' dll/qbx/qbx.c
+}
+
build() {
cd $srcdir/$pkgname
./configure --exec_prefix=/usr \