[arch-commits] Commit in libproxy/trunk (PKGBUILD libproxy-0.4.7-unistd.patch)

2013-03-18 Thread Jan de Groot
Date: Monday, March 18, 2013 @ 11:24:59
  Author: jgc
Revision: 180146

upgpkg: libproxy 0.4.11-1

Modified:
  libproxy/trunk/PKGBUILD
Deleted:
  libproxy/trunk/libproxy-0.4.7-unistd.patch

-+
 PKGBUILD|   14 --
 libproxy-0.4.7-unistd.patch |   40 
 2 files changed, 4 insertions(+), 50 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-18 09:11:19 UTC (rev 180145)
+++ PKGBUILD2013-03-18 10:24:59 UTC (rev 180146)
@@ -2,8 +2,8 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=libproxy
-pkgver=0.4.7
-pkgrel=2
+pkgver=0.4.11
+pkgrel=1
 pkgdesc=A library that provides automatic proxy configuration management
 arch=(i686 x86_64)
 license=('LGPL')
@@ -14,19 +14,13 @@
 'python2: Python bindings')
 makedepends=('cmake' 'networkmanager' 'automoc4' 'python2' 'kdelibs' 'perl')
 url=http://libproxy.googlecode.com;
-source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
-libproxy-0.4.7-unistd.patch)
+source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
 options=('!libtool')
-md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5'
- 'e90c03f296e553ace347b46f4fea3625')
+md5sums=('3cd1ae2a4abecf44b3f24d6639d2cd84')
 
 build() {
   cd ${srcdir}
 
-  # Fix build with GCC 4.7 (patch from Fedora)
-  patch -d ${pkgname}-${pkgver} -Np1 -i \
-${srcdir}/libproxy-0.4.7-unistd.patch
-
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \

Deleted: libproxy-0.4.7-unistd.patch
===
--- libproxy-0.4.7-unistd.patch 2013-03-18 09:11:19 UTC (rev 180145)
+++ libproxy-0.4.7-unistd.patch 2013-03-18 10:24:59 UTC (rev 180146)
@@ -1,40 +0,0 @@
 libproxy-0.4.7/libproxy/url.cpp.orig   2012-02-28 21:05:15.572948027 
+
-+++ libproxy-0.4.7/libproxy/url.cpp2012-02-28 21:05:45.635937474 +
-@@ -27,6 +27,7 @@
- #define close _close
- #endif
- #include fcntl.h // For ::open()
-+#include unistd.h // For ::read() and ::close()
- #include cstring // For memcpy()
- #include sstream // For int/string conversion (using stringstream)
- #include cstdio  // For sscanf()
 libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp.orig  2012-02-28 
21:06:01.552943358 +
-+++ libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp   2012-02-28 
21:11:21.429953982 +
-@@ -18,6 +18,7 @@
-  
**/
- 
- #include sys/stat.h
-+#include unistd.h
- #include cstdlib
- #include map
- #include fstream
 libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp.orig   2012-02-28 
21:06:11.637943033 +
-+++ libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp2012-02-28 
21:11:46.560961409 +
-@@ -17,6 +17,7 @@
-  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 
USA
-  
**/
- 
-+#include unistd.h // for ::gethostname()
- #include cstring // ?
- 
- #include ../extension_pacrunner.hpp
 libproxy-0.4.7/libproxy/modules/pacrunner_webkit.cpp.orig  2012-02-28 
21:06:29.615943614 +
-+++ libproxy-0.4.7/libproxy/modules/pacrunner_webkit.cpp   2012-02-28 
21:12:35.530965553 +
-@@ -17,6 +17,7 @@
-  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 
USA
-  
**/
- 
-+#include unistd.h // for ::gethostname()
- #include ../extension_pacrunner.hpp
- using namespace libproxy;
- 



[arch-commits] Commit in libproxy/trunk (PKGBUILD libproxy-0.4.7-unistd.patch)

2012-05-27 Thread Evangelos Foutras
Date: Sunday, May 27, 2012 @ 02:42:37
  Author: foutrelis
Revision: 159817

upgpkg: libproxy 0.4.7-2

Perl 5.16 rebuild.

Added:
  libproxy/trunk/libproxy-0.4.7-unistd.patch
Modified:
  libproxy/trunk/PKGBUILD

-+
 PKGBUILD|   13 ++---
 libproxy-0.4.7-unistd.patch |   40 
 2 files changed, 50 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-05-27 06:38:09 UTC (rev 159816)
+++ PKGBUILD2012-05-27 06:42:37 UTC (rev 159817)
@@ -3,7 +3,7 @@
 
 pkgname=libproxy
 pkgver=0.4.7
-pkgrel=1
+pkgrel=2
 pkgdesc=A library that provides automatic proxy configuration management
 arch=(i686 x86_64)
 license=('LGPL')
@@ -14,12 +14,19 @@
 'python2: Python bindings')
 makedepends=('cmake' 'networkmanager' 'automoc4' 'python2' 'kdelibs' 'perl')
 url=http://libproxy.googlecode.com;
-source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
+libproxy-0.4.7-unistd.patch)
 options=('!libtool')
-md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5')
+md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5'
+ 'e90c03f296e553ace347b46f4fea3625')
 
 build() {
   cd ${srcdir}
+
+  # Fix build with GCC 4.7 (patch from Fedora)
+  patch -d ${pkgname}-${pkgver} -Np1 -i \
+${srcdir}/libproxy-0.4.7-unistd.patch
+
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \

Added: libproxy-0.4.7-unistd.patch
===
--- libproxy-0.4.7-unistd.patch (rev 0)
+++ libproxy-0.4.7-unistd.patch 2012-05-27 06:42:37 UTC (rev 159817)
@@ -0,0 +1,40 @@
+--- libproxy-0.4.7/libproxy/url.cpp.orig   2012-02-28 21:05:15.572948027 
+
 libproxy-0.4.7/libproxy/url.cpp2012-02-28 21:05:45.635937474 +
+@@ -27,6 +27,7 @@
+ #define close _close
+ #endif
+ #include fcntl.h // For ::open()
++#include unistd.h // For ::read() and ::close()
+ #include cstring // For memcpy()
+ #include sstream // For int/string conversion (using stringstream)
+ #include cstdio  // For sscanf()
+--- libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp.orig  2012-02-28 
21:06:01.552943358 +
 libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp   2012-02-28 
21:11:21.429953982 +
+@@ -18,6 +18,7 @@
+  
**/
+ 
+ #include sys/stat.h
++#include unistd.h
+ #include cstdlib
+ #include map
+ #include fstream
+--- libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp.orig   2012-02-28 
21:06:11.637943033 +
 libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp2012-02-28 
21:11:46.560961409 +
+@@ -17,6 +17,7 @@
+  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 
USA
+  
**/
+ 
++#include unistd.h // for ::gethostname()
+ #include cstring // ?
+ 
+ #include ../extension_pacrunner.hpp
+--- libproxy-0.4.7/libproxy/modules/pacrunner_webkit.cpp.orig  2012-02-28 
21:06:29.615943614 +
 libproxy-0.4.7/libproxy/modules/pacrunner_webkit.cpp   2012-02-28 
21:12:35.530965553 +
+@@ -17,6 +17,7 @@
+  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 
USA
+  
**/
+ 
++#include unistd.h // for ::gethostname()
+ #include ../extension_pacrunner.hpp
+ using namespace libproxy;
+