summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Bigelow2015-07-13 22:10:32 -0400
committerMitch Bigelow2015-07-13 22:10:32 -0400
commit2b589fa149385fa8cb3fddfbdc59be0d3c098d8f (patch)
tree695ba2c9f0695570862c01f12009311896daeca1
parent79f0ccbde1cb78cd9790af9e94b437703fc1ce02 (diff)
downloadaur-2b589fa149385fa8cb3fddfbdc59be0d3c098d8f.tar.gz
GCC 5 build was fixed
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 2 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6136bcb8b962..4ecf71b555ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = masscan-git
pkgdesc = TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes
- pkgver = 393.b395f18
+ pkgver = 395.cec300a
pkgrel = 1
url = https://github.com/robertdavidgraham/masscan
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index c29d07e46559..d4adc14d705c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mitch Bigelow <ipha00@gmail.com>
pkgname=masscan-git
-pkgver=393.b395f18
+pkgver=395.cec300a
pkgrel=1
pkgdesc="TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes"
arch=('i686' 'x86_64')
@@ -19,13 +19,6 @@ pkgver() {
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-prepare() {
- cd "$pkgname"
-
- # Fix build with GCC 5.x
- sed -i "s|#elif defined(__GNUC__) && (__GNUC__ == 4)|#elif defined(__GNUC__)|" src/string_s.h
-}
-
build() {
cd "$pkgname"
make