pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xentools42 Apply a fix similar to



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7dee3db2697
branches:  trunk
changeset: 639582:b7dee3db2697
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Wed Sep 17 20:32:36 2014 +0000

description:
Apply a fix similar to
http://mail-index.netbsd.org/pkgsrc-changes/2014/08/28/msg110551.html:
Don't redefine MAP_ANONYMOUS is already defined. Fixes build on netbsd-7

pointed out by Mustafa Dogan in private mail

diffstat:

 sysutils/xentools42/distinfo                                     |   4 +-
 sysutils/xentools42/patches/patch-qemu-xen-traditional_configure |  22 +++++++--
 2 files changed, 18 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r 70e335993357 -r b7dee3db2697 sysutils/xentools42/distinfo
--- a/sysutils/xentools42/distinfo      Wed Sep 17 17:35:23 2014 +0000
+++ b/sysutils/xentools42/distinfo      Wed Sep 17 20:32:36 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2014/02/22 01:28:23 prlw1 Exp $
+$NetBSD: distinfo,v 1.11 2014/09/17 20:32:36 bouyer Exp $
 
 SHA1 (ipxe-git-v1.0.0.tar.gz) = da052c8de5f3485fe0253c19cf52ed6d72528485
 RMD160 (ipxe-git-v1.0.0.tar.gz) = dcd9b6eaafa1ce05c1ebf2a15f2f73ad7a8c5547
@@ -53,7 +53,7 @@
 SHA1 (patch-python_xen_xm_create.py) = 7b25b3b3a8d58effae395d776f2a4b94d79acfcb
 SHA1 (patch-qemu-xen-traditional_Makefile) = 0fcd7d5342269e87f14ff76be05d8757151438bc
 SHA1 (patch-qemu-xen-traditional_block-raw-posix.c) = 6376edcc57313c2ffe9bb3d88043d160d1f644ec
-SHA1 (patch-qemu-xen-traditional_configure) = 8b14e6932441d0666092ef4f63d0acd99db0df51
+SHA1 (patch-qemu-xen-traditional_configure) = 0f09a0128762dc7d083e5986908fed5b7746a981
 SHA1 (patch-qemu-xen-traditional_hw_e1000.c) = a8faf95491867c19471690ae98df93ff1d73114a
 SHA1 (patch-qemu-xen-traditional_hw_ide.c) = d562c36627e861658e7a1d52514e59368871cbdb
 SHA1 (patch-qemu-xen-traditional_hw_pass-through.c) = d1f3a1842c595e2d261b997bac02bb71de41eaac
diff -r 70e335993357 -r b7dee3db2697 sysutils/xentools42/patches/patch-qemu-xen-traditional_configure
--- a/sysutils/xentools42/patches/patch-qemu-xen-traditional_configure  Wed Sep 17 17:35:23 2014 +0000
+++ b/sysutils/xentools42/patches/patch-qemu-xen-traditional_configure  Wed Sep 17 20:32:36 2014 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-qemu-xen-traditional_configure,v 1.1 2013/05/15 06:58:50 jnemeth Exp $
+$NetBSD: patch-qemu-xen-traditional_configure,v 1.2 2014/09/17 20:32:36 bouyer Exp $
 
---- qemu-xen-traditional/configure.orig        2011-02-11 17:54:51.000000000 +0000
-+++ qemu-xen-traditional/configure
-@@ -1089,7 +1089,7 @@ fi
+--- qemu-xen-traditional/configure.orig        2014-01-09 12:44:42.000000000 +0000
++++ qemu-xen-traditional/configure     2014-09-17 13:10:43.000000000 +0000
+@@ -1089,7 +1089,7 @@
  # Check if tools are available to build documentation.
  if [ -x "`which texi2html 2>/dev/null`" ] && \
     [ -x "`which pod2man 2>/dev/null`" ]; then
@@ -11,7 +11,7 @@
  fi
  
  ##########################################
-@@ -1124,7 +1124,7 @@ else
+@@ -1124,7 +1124,7 @@
    if test -z "$prefix" ; then
        prefix="/usr/local"
    fi
@@ -20,7 +20,7 @@
    datasuffix="/share/qemu"
    docsuffix="/share/doc/qemu"
    binsuffix="/bin"
-@@ -1215,6 +1215,9 @@ echo "docdir=\${prefix}$docsuffix" >> $c
+@@ -1215,6 +1215,9 @@
  echo "#define CONFIG_QEMU_SHAREDIR \"$prefix$datasuffix\"" >> $config_h
  echo "MAKE=$make" >> $config_mak
  echo "INSTALL=$install" >> $config_mak
@@ -30,3 +30,13 @@
  echo "CC=$cc" >> $config_mak
  echo "HOST_CC=$host_cc" >> $config_mak
  echo "AR=$ar" >> $config_mak
+@@ -1492,7 +1495,9 @@
+ # XXX: suppress that
+ if [ "$bsd" = "yes" ] ; then
+   echo "#define O_LARGEFILE 0" >> $config_h
++  echo "#ifndef MAP_ANONYMOUS" >> $config_h
+   echo "#define MAP_ANONYMOUS MAP_ANON" >> $config_h
++  echo "#endif" >> $config_h
+   echo "#define _BSD 1" >> $config_h
+ fi
+ 



Home | Main Index | Thread Index | Old Index