[arch-commits] Commit in zeromq/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Mon Sep 7 10:31:38 UTC 2020


    Date: Monday, September 7, 2020 @ 10:31:37
  Author: kkeen
Revision: 699592

upgpkg: zeromq 4.3.2-3

Modified:
  zeromq/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-07 10:30:44 UTC (rev 699591)
+++ PKGBUILD	2020-09-07 10:31:37 UTC (rev 699592)
@@ -1,8 +1,8 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 pkgname=zeromq
 pkgver=4.3.2
-_cppver=4.4.1
-pkgrel=2
+_cppver=4.6.0
+pkgrel=3
 pkgdesc="Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ."
 arch=('x86_64')
 url="http://www.zeromq.org"
@@ -12,14 +12,18 @@
 options=('staticlibs')
 # "http://download.zeromq.org/$pkgname-$pkgver.tar.gz"
 source=("https://github.com/zeromq/libzmq/releases/download/v$pkgver/zeromq-$pkgver.tar.gz"
-        "zmq.hpp.$pkgver.tgz::https://github.com/zeromq/cppzmq/archive/v$_cppver.tar.gz")
+        "zmq.hpp.$_cppver.tgz::https://github.com/zeromq/cppzmq/archive/v$_cppver.tar.gz")
         #"zmq.hpp.$pkgver::https://raw.githubusercontent.com/zeromq/cppzmq/b0e6d4b/zmq.hpp")
 sha256sums=('ebd7b5c830d6428956b67a0454a7f8cbed1de74b3b01e5c33c5378e22740f763'
-            '117fc1ca24d98dbe1a60c072cde13be863d429134907797f8e03f654ce679385')
+            'e9203391a0b913576153a2ad22a2dc1479b1ec325beb6c46a3237c669aef5a52')
 
 prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
   # Needed for new libsodium
-  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' $pkgname-$pkgver/configure
+  sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure
+
+  sed -i 's/openpgm-5.1/openpgm-5.3/' configure configure.ac
+  sed -i 's/CXXFLAGS="-Wno-long-long/CXXFLAGS="-Wno-unused-function -Wno-long-long/' configure
 }
 
 build() {
@@ -26,7 +30,7 @@
   cd "$srcdir/$pkgname-$pkgver"
   ./configure prefix=/usr --with-pgm --with-libsodium \
     --with-documentation --enable-static
-  make
+  make -Wno-unused-function -Wnoerror=unused-function
 }
 
 check() {



More information about the arch-commits mailing list