Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=56dba2c0e615095aa25747f9f7010146c8e519a5

commit 56dba2c0e615095aa25747f9f7010146c8e519a5
Author: crazy <cr...@frugalware.org>
Date:   Fri Feb 9 21:44:29 2018 +0100

bip-0.8.9-2-x86_64

* rebuild with tc
* fix compile error

diff --git a/source/network-extra/bip/FrugalBuild 
b/source/network-extra/bip/FrugalBuild
index dbf4a9e..2cf841d 100644
--- a/source/network-extra/bip/FrugalBuild
+++ b/source/network-extra/bip/FrugalBuild
@@ -3,21 +3,24 @@

pkgname=bip
pkgver=0.8.9
-pkgrel=1
+pkgrel=2
pkgdesc="BIP is an IRC proxy."
url="http://bip.milkypond.org";
depends=('openssl' 'flex')
groups=('network-extra')
-archs=('i686' 'x86_64')
+archs=('x86_64')
_F_archive_grepv="\-rc."
up2date="elinks -dump https://projects.duckcorp.org/projects/bip/files | grep 
-v '\-rc' | Flasttar"
-source=(https://projects.duckcorp.org/attachments/download/61/$pkgname-$pkgver.tar.gz)
-sha1sums=('6c6828dde0ec9c41237bac42a679aa8237bdeffe')
+source=(https://projects.duckcorp.org/attachments/download/61/$pkgname-$pkgver.tar.gz
+       fix-const-const-bug.patch)
+sha1sums=('6c6828dde0ec9c41237bac42a679aa8237bdeffe' \
+          '1142cfe8eb238b8880d4d622f0517956967ac632')

build()
{
-       export CFLAGS="${CFLAGS} -fPIE"
+
Fsed "CFLAGS =" "CFLAGS ?=" Makefile.in
+       Fsed "-Werror" "" Makefile.in
Fbuild
Fexerel scripts/bipgenconfig usr/bin/bipgenconfig
Ffilerel samples/$pkgname.conf usr/share/bip/$pkgname.conf.sample
diff --git a/source/network-extra/bip/fix-const-const-bug.patch 
b/source/network-extra/bip/fix-const-const-bug.patch
new file mode 100644
index 0000000..1b4bbe6
--- /dev/null
+++ b/source/network-extra/bip/fix-const-const-bug.patch
@@ -0,0 +1,14 @@
+diff -Naur bip-0.8.9/src/log.c bip-0.8.9-p/src/log.c
+--- bip-0.8.9/src/log.c        2012-01-25 11:23:16.000000000 +0100
++++ bip-0.8.9-p/src/log.c      2018-02-09 21:39:46.528973091 +0100
+@@ -439,8 +439,8 @@
+       log_write(logdata, channel, logdata->buffer);
+ }
+
+-void log_part(log_t *logdata, const const char *ircmask, const char *channel,
+-              const const char *message)
++void log_part(log_t *logdata, const char *ircmask, const char *channel,
++              const char *message)
+ {
+       if (message)
+               snprintf(logdata->buffer, LOGLINE_MAXLEN,
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to