[arch-commits] Commit in protobuf-c/trunk (PKGBUILD allow_alias.patch)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sat Oct 4 05:13:16 UTC 2014
Date: Saturday, October 4, 2014 @ 07:13:16
Author: bpiotrowski
Revision: 223847
upgpkg: protobuf-c 1.0.1-2
rebuild against protobuf 2.6.0
Added:
protobuf-c/trunk/allow_alias.patch
Modified:
protobuf-c/trunk/PKGBUILD
-------------------+
PKGBUILD | 11 +++++++++--
allow_alias.patch | 12 ++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-04 05:06:17 UTC (rev 223846)
+++ PKGBUILD 2014-10-04 05:13:16 UTC (rev 223847)
@@ -10,9 +10,16 @@
url='https://github.com/protobuf-c/protobuf-c'
license=('BSD')
depends=('protobuf')
-source=($url/releases/download/v$pkgver/protobuf-c-$pkgver.tar.gz)
-md5sums=('3a87e11a18e4b823c82643636674e9e7')
+source=($url/releases/download/v$pkgver/protobuf-c-$pkgver.tar.gz
+ allow_alias.patch)
+md5sums=('3a87e11a18e4b823c82643636674e9e7'
+ 'f2c3978ea8edab3e29c00d507b65418b')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../allow_alias.patch
+}
+
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
Added: allow_alias.patch
===================================================================
--- allow_alias.patch (rev 0)
+++ allow_alias.patch 2014-10-04 05:13:16 UTC (rev 223847)
@@ -0,0 +1,12 @@
+diff --git a/t/test-full.proto b/t/test-full.proto
+index 58e7bfc..9fd2550 100644
+--- a/t/test-full.proto
++++ b/t/test-full.proto
+@@ -45,6 +45,7 @@ enum TestEnumDupValues {
+ VALUE_F = 1000;
+ VALUE_AA = 1000;
+ VALUE_BB = 1001;
++ option allow_alias = true;
+ }
+
+ message TestFieldNo15 { // should use 1 byte header
More information about the arch-commits
mailing list