[trunk] -> [community-testing] 'amule-11025-1.1' add
packagesA/amule/pipeline/head There was a failure building this commit
Details
packagesA/amule/pipeline/head There was a failure building this commit
Details
parent
b65a9baf85
commit
f1192eefce
@ -0,0 +1,56 @@
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# Contributor: Henrik Ronellenfitsch <searinox@web.de>
|
||||
# Contributor: Alessio Sergi <sergi.alessio {at} gmail.com>
|
||||
# Contributor: Dario 'Dax' Vilardi <dax [at] deelab [dot] org>
|
||||
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
|
||||
|
||||
pkgname=amule
|
||||
pkgver=11025
|
||||
pkgrel=1.1
|
||||
pkgdesc="An eMule-like client for ed2k p2p network"
|
||||
arch=(x86_64)
|
||||
url="http://www.amule.org"
|
||||
license=(GPL)
|
||||
depends=(wxgtk gd geoip libupnp crypto++ boost-libs)
|
||||
makedepends=(git ccache boost)
|
||||
source=("git://repo.or.cz/amule.git#tag=amule-svn-r$pkgver"
|
||||
amule.sysusers amule.tmpfiles compile.patch)
|
||||
sha256sums=('SKIP'
|
||||
'c4ca658ab4105b3b90e0bb3efcc8121eca1c4d873787db1ed4f637925c16d502'
|
||||
'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d'
|
||||
'0b0bceed91646c4a7a0a3591e98e63b81b1114d13cb0f8f86ed8ef547ca47559')
|
||||
|
||||
prepare() {
|
||||
cd amule
|
||||
patch -Np1 "$srcdir"/compile.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd amule
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-cas \
|
||||
--enable-wxcas \
|
||||
--enable-amule-daemon \
|
||||
--enable-amulecmd \
|
||||
--enable-amule-gui \
|
||||
--enable-alc \
|
||||
--enable-alcc \
|
||||
--enable-webserver \
|
||||
--disable-debug \
|
||||
--enable-optimize \
|
||||
--enable-ccache \
|
||||
--enable-geoip \
|
||||
--enable-upnp \
|
||||
--enable-fileview \
|
||||
--with-boost
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd amule
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 "$srcdir"/amule.sysusers "$pkgdir"/usr/lib/sysusers.d/amule.conf
|
||||
install -Dm644 "$srcdir"/amule.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/amule.conf
|
||||
}
|
@ -0,0 +1 @@
|
||||
u amule - "aMule Client" /var/lib/amule
|
@ -0,0 +1 @@
|
||||
d /var/lib/amule 0750 amule amule
|
@ -0,0 +1,21 @@
|
||||
diff --git a/src/libs/common/MuleDebug.cpp b/src/libs/common/MuleDebug.cpp
|
||||
index 5d8d7589..9b9f170e 100644
|
||||
--- a/src/libs/common/MuleDebug.cpp
|
||||
+++ b/src/libs/common/MuleDebug.cpp
|
||||
@@ -268,14 +268,14 @@ void get_file_line_info(bfd *abfd, asection *section, void* _address)
|
||||
return;
|
||||
}
|
||||
|
||||
- bfd_vma vma = bfd_get_section_vma(abfd, section);
|
||||
+ bfd_vma vma = bfd_section_vma(section);
|
||||
|
||||
unsigned long address = (unsigned long)_address;
|
||||
if (address < vma) {
|
||||
return;
|
||||
}
|
||||
|
||||
- bfd_size_type size = bfd_section_size(abfd, section);
|
||||
+ bfd_size_type size = bfd_section_size(section);
|
||||
if (address > (vma + size)) {
|
||||
return;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# Contributor: Henrik Ronellenfitsch <searinox@web.de>
|
||||
# Contributor: Alessio Sergi <sergi.alessio {at} gmail.com>
|
||||
# Contributor: Dario 'Dax' Vilardi <dax [at] deelab [dot] org>
|
||||
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
|
||||
|
||||
pkgname=amule
|
||||
pkgver=11025
|
||||
pkgrel=1.1
|
||||
pkgdesc="An eMule-like client for ed2k p2p network"
|
||||
arch=(x86_64)
|
||||
url="http://www.amule.org"
|
||||
license=(GPL)
|
||||
depends=(wxgtk gd geoip libupnp crypto++ boost-libs)
|
||||
makedepends=(git ccache boost)
|
||||
source=("git://repo.or.cz/amule.git#tag=amule-svn-r$pkgver"
|
||||
amule.sysusers amule.tmpfiles compile.patch)
|
||||
sha256sums=('SKIP'
|
||||
'c4ca658ab4105b3b90e0bb3efcc8121eca1c4d873787db1ed4f637925c16d502'
|
||||
'e9d1b7019c7075b0f8616c6507a767b87de8f899936680e9ff5829d8cbba224d'
|
||||
'0b0bceed91646c4a7a0a3591e98e63b81b1114d13cb0f8f86ed8ef547ca47559')
|
||||
|
||||
prepare() {
|
||||
cd amule
|
||||
patch -Np1 "$srcdir"/compile.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd amule
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--enable-cas \
|
||||
--enable-wxcas \
|
||||
--enable-amule-daemon \
|
||||
--enable-amulecmd \
|
||||
--enable-amule-gui \
|
||||
--enable-alc \
|
||||
--enable-alcc \
|
||||
--enable-webserver \
|
||||
--disable-debug \
|
||||
--enable-optimize \
|
||||
--enable-ccache \
|
||||
--enable-geoip \
|
||||
--enable-upnp \
|
||||
--enable-fileview \
|
||||
--with-boost
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd amule
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 "$srcdir"/amule.sysusers "$pkgdir"/usr/lib/sysusers.d/amule.conf
|
||||
install -Dm644 "$srcdir"/amule.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/amule.conf
|
||||
}
|
@ -0,0 +1 @@
|
||||
u amule - "aMule Client" /var/lib/amule
|
@ -0,0 +1 @@
|
||||
d /var/lib/amule 0750 amule amule
|
@ -0,0 +1,21 @@
|
||||
diff --git a/src/libs/common/MuleDebug.cpp b/src/libs/common/MuleDebug.cpp
|
||||
index 5d8d7589..9b9f170e 100644
|
||||
--- a/src/libs/common/MuleDebug.cpp
|
||||
+++ b/src/libs/common/MuleDebug.cpp
|
||||
@@ -268,14 +268,14 @@ void get_file_line_info(bfd *abfd, asection *section, void* _address)
|
||||
return;
|
||||
}
|
||||
|
||||
- bfd_vma vma = bfd_get_section_vma(abfd, section);
|
||||
+ bfd_vma vma = bfd_section_vma(section);
|
||||
|
||||
unsigned long address = (unsigned long)_address;
|
||||
if (address < vma) {
|
||||
return;
|
||||
}
|
||||
|
||||
- bfd_size_type size = bfd_section_size(abfd, section);
|
||||
+ bfd_size_type size = bfd_section_size(section);
|
||||
if (address > (vma + size)) {
|
||||
return;
|
||||
}
|
Loading…
Reference in new issue