[arch-commits] Commit in mysql++/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Thu May 25 22:59:43 UTC 2017


    Date: Thursday, May 25, 2017 @ 22:59:42
  Author: foutrelis
Revision: 230318

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  mysql++/repos/community-staging-i686/
  mysql++/repos/community-staging-i686/PKGBUILD
    (from rev 230317, mysql++/trunk/PKGBUILD)
  mysql++/repos/community-staging-i686/mysql++-fix-cstring.patch
    (from rev 230317, mysql++/trunk/mysql++-fix-cstring.patch)
  mysql++/repos/community-staging-i686/mysql++-fix-size_t.patch
    (from rev 230317, mysql++/trunk/mysql++-fix-size_t.patch)
  mysql++/repos/community-staging-x86_64/
  mysql++/repos/community-staging-x86_64/PKGBUILD
    (from rev 230317, mysql++/trunk/PKGBUILD)
  mysql++/repos/community-staging-x86_64/mysql++-fix-cstring.patch
    (from rev 230317, mysql++/trunk/mysql++-fix-cstring.patch)
  mysql++/repos/community-staging-x86_64/mysql++-fix-size_t.patch
    (from rev 230317, mysql++/trunk/mysql++-fix-size_t.patch)

----------------------------------------------------+
 community-staging-i686/PKGBUILD                    |   41 +++++++++++++++++++
 community-staging-i686/mysql++-fix-cstring.patch   |   11 +++++
 community-staging-i686/mysql++-fix-size_t.patch    |   21 +++++++++
 community-staging-x86_64/PKGBUILD                  |   41 +++++++++++++++++++
 community-staging-x86_64/mysql++-fix-cstring.patch |   11 +++++
 community-staging-x86_64/mysql++-fix-size_t.patch  |   21 +++++++++
 6 files changed, 146 insertions(+)

Copied: mysql++/repos/community-staging-i686/PKGBUILD (from rev 230317, mysql++/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-05-25 22:59:42 UTC (rev 230318)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Markus Härer <markus.haerer at gmx.net>
+
+pkgname=mysql++
+pkgver=3.2.3
+pkgrel=2
+pkgdesc="A C++ wrapper for MySQLs C API"
+arch=("i686" "x86_64")
+url="http://tangentsoft.net/mysql++/"
+license=("LGPL" "custom")
+depends=("libmariadb")
+options=('docs')
+source=("https://tangentsoft.net/mysql++/releases/$pkgname-$pkgver.tar.gz"
+	"mysql++-fix-cstring.patch"
+	"mysql++-fix-size_t.patch")
+sha256sums=('c804c38fe229caab62a48a6d0a5cb279460da319562f41a16ad2f0a0f55b6941'
+            'c005b6a8736578f935996e5249e8048e887d7cfb9c76ab0428543710b7622af0'
+            '22a1aed639923206b0b79ec1e3f2a1b3c1bd896b52519526fd0af08c54fd3762')
+
+build() {
+  unset LDFLAGS
+  cd "$srcdir/$pkgname-$pkgver/"
+  patch -p1 <"$srcdir"/mysql++-fix-cstring.patch
+  patch -p1 <"$srcdir"/mysql++-fix-size_t.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver/"
+  make DESTDIR="$pkgdir" install
+
+  #install docs
+  mkdir -p "$pkgdir"/usr/share/doc/mysql++
+  cp -r doc/html "$pkgdir"/usr/share/doc/mysql++
+  cp -r doc/pdf "$pkgdir"/usr/share/doc/mysql++
+
+  #install doc licence
+  install -Dm0644 doc/userman/LICENSE.txt "$pkgdir"/usr/share/licenses/mysql++/LICENSE
+}

Copied: mysql++/repos/community-staging-i686/mysql++-fix-cstring.patch (from rev 230317, mysql++/trunk/mysql++-fix-cstring.patch)
===================================================================
--- community-staging-i686/mysql++-fix-cstring.patch	                        (rev 0)
+++ community-staging-i686/mysql++-fix-cstring.patch	2017-05-25 22:59:42 UTC (rev 230318)
@@ -0,0 +1,11 @@
+diff -Naur mysql++-3.1.0.old/ssx/genv2.cpp mysql++-3.1.0/ssx/genv2.cpp
+--- mysql++-3.1.0.old/ssx/genv2.cpp	2010-06-12 11:12:11.574891331 +0200
++++ mysql++-3.1.0/ssx/genv2.cpp	2010-06-12 11:14:00.564881723 +0200
+@@ -35,6 +35,7 @@
+ #include <iostream>
+ #include <fstream>
+ #include <typeinfo>
++#include <cstring>
+ 
+ using namespace std;
+ 

Copied: mysql++/repos/community-staging-i686/mysql++-fix-size_t.patch (from rev 230317, mysql++/trunk/mysql++-fix-size_t.patch)
===================================================================
--- community-staging-i686/mysql++-fix-size_t.patch	                        (rev 0)
+++ community-staging-i686/mysql++-fix-size_t.patch	2017-05-25 22:59:42 UTC (rev 230318)
@@ -0,0 +1,21 @@
+diff -Naur mysql++-3.1.0.old//lib/refcounted.h mysql++-3.1.0/lib/refcounted.h
+--- mysql++-3.1.0.old//lib/refcounted.h	2010-06-03 19:59:23.000000000 +0200
++++ mysql++-3.1.0/lib/refcounted.h	2011-04-23 12:35:39.943366970 +0200
+@@ -101,7 +101,7 @@
+ 	{
+ 		std::auto_ptr<T> exception_guard(counted_);
+ 		if (counted_) {
+-			refs_ = new size_t(1);
++			refs_ = new std::size_t(1);
+ 		}
+ 		exception_guard.release();	// previous new didn't throw
+ 	}
+@@ -255,7 +255,7 @@
+ 	/// We can't keep this as a plain integer because this object
+ 	/// allows itself to be copied.  All copies need to share this
+ 	/// reference count, not just the pointer to the counted object.
+-	size_t* refs_;
++	std::size_t* refs_;
+ };
+ 
+ 

Copied: mysql++/repos/community-staging-x86_64/PKGBUILD (from rev 230317, mysql++/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-05-25 22:59:42 UTC (rev 230318)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Markus Härer <markus.haerer at gmx.net>
+
+pkgname=mysql++
+pkgver=3.2.3
+pkgrel=2
+pkgdesc="A C++ wrapper for MySQLs C API"
+arch=("i686" "x86_64")
+url="http://tangentsoft.net/mysql++/"
+license=("LGPL" "custom")
+depends=("libmariadb")
+options=('docs')
+source=("https://tangentsoft.net/mysql++/releases/$pkgname-$pkgver.tar.gz"
+	"mysql++-fix-cstring.patch"
+	"mysql++-fix-size_t.patch")
+sha256sums=('c804c38fe229caab62a48a6d0a5cb279460da319562f41a16ad2f0a0f55b6941'
+            'c005b6a8736578f935996e5249e8048e887d7cfb9c76ab0428543710b7622af0'
+            '22a1aed639923206b0b79ec1e3f2a1b3c1bd896b52519526fd0af08c54fd3762')
+
+build() {
+  unset LDFLAGS
+  cd "$srcdir/$pkgname-$pkgver/"
+  patch -p1 <"$srcdir"/mysql++-fix-cstring.patch
+  patch -p1 <"$srcdir"/mysql++-fix-size_t.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver/"
+  make DESTDIR="$pkgdir" install
+
+  #install docs
+  mkdir -p "$pkgdir"/usr/share/doc/mysql++
+  cp -r doc/html "$pkgdir"/usr/share/doc/mysql++
+  cp -r doc/pdf "$pkgdir"/usr/share/doc/mysql++
+
+  #install doc licence
+  install -Dm0644 doc/userman/LICENSE.txt "$pkgdir"/usr/share/licenses/mysql++/LICENSE
+}

Copied: mysql++/repos/community-staging-x86_64/mysql++-fix-cstring.patch (from rev 230317, mysql++/trunk/mysql++-fix-cstring.patch)
===================================================================
--- community-staging-x86_64/mysql++-fix-cstring.patch	                        (rev 0)
+++ community-staging-x86_64/mysql++-fix-cstring.patch	2017-05-25 22:59:42 UTC (rev 230318)
@@ -0,0 +1,11 @@
+diff -Naur mysql++-3.1.0.old/ssx/genv2.cpp mysql++-3.1.0/ssx/genv2.cpp
+--- mysql++-3.1.0.old/ssx/genv2.cpp	2010-06-12 11:12:11.574891331 +0200
++++ mysql++-3.1.0/ssx/genv2.cpp	2010-06-12 11:14:00.564881723 +0200
+@@ -35,6 +35,7 @@
+ #include <iostream>
+ #include <fstream>
+ #include <typeinfo>
++#include <cstring>
+ 
+ using namespace std;
+ 

Copied: mysql++/repos/community-staging-x86_64/mysql++-fix-size_t.patch (from rev 230317, mysql++/trunk/mysql++-fix-size_t.patch)
===================================================================
--- community-staging-x86_64/mysql++-fix-size_t.patch	                        (rev 0)
+++ community-staging-x86_64/mysql++-fix-size_t.patch	2017-05-25 22:59:42 UTC (rev 230318)
@@ -0,0 +1,21 @@
+diff -Naur mysql++-3.1.0.old//lib/refcounted.h mysql++-3.1.0/lib/refcounted.h
+--- mysql++-3.1.0.old//lib/refcounted.h	2010-06-03 19:59:23.000000000 +0200
++++ mysql++-3.1.0/lib/refcounted.h	2011-04-23 12:35:39.943366970 +0200
+@@ -101,7 +101,7 @@
+ 	{
+ 		std::auto_ptr<T> exception_guard(counted_);
+ 		if (counted_) {
+-			refs_ = new size_t(1);
++			refs_ = new std::size_t(1);
+ 		}
+ 		exception_guard.release();	// previous new didn't throw
+ 	}
+@@ -255,7 +255,7 @@
+ 	/// We can't keep this as a plain integer because this object
+ 	/// allows itself to be copied.  All copies need to share this
+ 	/// reference count, not just the pointer to the counted object.
+-	size_t* refs_;
++	std::size_t* refs_;
+ };
+ 
+ 



More information about the arch-commits mailing list