[arch-commits] Commit in dwb/trunk (PKGBUILD Werror.patch)
Andreas Radke
andyrtr at archlinux.org
Fri Apr 17 21:03:03 UTC 2015
Date: Friday, April 17, 2015 @ 23:03:03
Author: andyrtr
Revision: 131558
upgpkg: dwb 2014.03.07-3
gnutls rebuild
Added:
dwb/trunk/Werror.patch
Modified:
dwb/trunk/PKGBUILD
--------------+
PKGBUILD | 9 ++++++---
Werror.patch | 23 +++++++++++++++++++++++
2 files changed, 29 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-17 20:13:17 UTC (rev 131557)
+++ PKGBUILD 2015-04-17 21:03:03 UTC (rev 131558)
@@ -4,7 +4,7 @@
pkgname=dwb
pkgver=2014.03.07
-pkgrel=2
+pkgrel=3
pkgdesc="A webkit web browser with vi-like keyboard shortcuts, stable snapshot"
url="http://portix.bitbucket.org/dwb/"
arch=('i686' 'x86_64')
@@ -13,12 +13,15 @@
depends=('webkitgtk2' 'desktop-file-utils')
makedepends=('json-c')
source=(https://bitbucket.org/portix/"${pkgname}"/downloads/"${pkgname}"-"${pkgver}".tar.gz
- 0001-Set-G_APPLICATION_HANDLES_COMMANDLINE-for-glib2-2.40.patch)
+ 0001-Set-G_APPLICATION_HANDLES_COMMANDLINE-for-glib2-2.40.patch
+ Werror.patch)
sha1sums=('006e9df0c52219b9f022c1b4a3aa0518ff96295d'
- 'd026b4caf83920b1319591d1f1487fc9f49035df')
+ 'd026b4caf83920b1319591d1f1487fc9f49035df'
+ 'd5a66e8a16c25053a0693c0a3107aa1244ce3d88')
prepare(){
patch -Np1 -d $srcdir/$pkgname-$pkgver -i $srcdir/0001-Set-G_APPLICATION_HANDLES_COMMANDLINE-for-glib2-2.40.patch
+ patch -Np1 -d $srcdir/$pkgname-$pkgver -i $srcdir/Werror.patch
}
build() {
Added: Werror.patch
===================================================================
--- Werror.patch (rev 0)
+++ Werror.patch 2015-04-17 21:03:03 UTC (rev 131558)
@@ -0,0 +1,23 @@
+diff -rupN dwb-2014.03.07.original/exar/Makefile dwb-2014.03.07/exar/Makefile
+--- dwb-2014.03.07.original/exar/Makefile 2014-03-07 15:29:57.737105453 +0100
++++ dwb-2014.03.07/exar/Makefile 2014-03-07 15:31:41.171106513 +0100
+@@ -1,6 +1,6 @@
+ ORIG_CFLAGS := $(CFLAGS)
+
+-CFLAGS := -Wall -pedantic -Werror -Wextra -std=c99 -O2
++CFLAGS := -Wall -pedantic -Wextra -std=c99 -O2
+ CFLAGS += $(ORIG_CFLAGS)
+
+ DCFLAGS += -g -O0 -Wall -pedantic -Werror -Wextra -std=c99
+
+--- dwb-2014.03.07/dwbremote/Makefile 2014-03-07 12:39:43.000000000 +0100
++++ dwb-2014.03.07/dwbremote/Makefile.new 2015-04-17 22:59:41.289518737 +0200
+@@ -7,7 +7,7 @@
+ include $(BASE_DIR)/version.mk
+
+
+-CFLAGS += -Wall -pedantic -Werror -Wextra -std=c99 -Os
++CFLAGS += -Wall -pedantic -Wextra -std=c99 -Os
+ CFLAGS += -DVERSION=\"$(VERSION)\"
+ CFLAGS += -DNAME=\"$(NAME)\"
+ CFLAGS += -DCOPYRIGHT=\"$(COPYRIGHT)\"
More information about the arch-commits
mailing list