- update to 1.2.1

- patch merged upstream
This commit is contained in:
Jason Helfman 2014-01-17 15:57:49 +00:00
parent ea0b59575e
commit 7d25212cb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340061
3 changed files with 3 additions and 21 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libvirt
PORTVERSION= 1.2.0
PORTVERSION= 1.2.1
CATEGORIES= devel
MASTER_SITES= http://libvirt.org/sources/python/ \
ftp://libvirt.org/libvirt/python/

View File

@ -1,2 +1,2 @@
SHA256 (libvirt-python-1.2.0.tar.gz) = 2fe7e341cb1b35cff130b7a04d0d58f3607094e63cbca689bc16c7b47da0f52b
SIZE (libvirt-python-1.2.0.tar.gz) = 140757
SHA256 (libvirt-python-1.2.1.tar.gz) = bce558606b157d0717ee7bd6537d85dd4c0321c59b4235c967db7a3aad80e246
SIZE (libvirt-python-1.2.1.tar.gz) = 145372

View File

@ -1,18 +0,0 @@
--- libvirt-utils.h.orig 2013-12-22 12:53:26.000000000 +0100
+++ libvirt-utils.h 2013-12-22 13:00:31.000000000 +0100
@@ -54,6 +54,15 @@
((size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) < (n))
+#ifndef __GNUC_PREREQ
+# if defined __GNUC__ && defined __GNUC_MINOR__
+# define __GNUC_PREREQ(maj, min) \
+ ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
+# else
+# define __GNUC_PREREQ(maj, min) 0
+# endif
+#endif /* __GNUC_PREREQ */
+
/* The __attribute__((__warn_unused_result__)) feature
is available in gcc versions 3.4 and newer,
while the typeof feature has been available since 2.7 at least. */