pkgsrc-Users archive

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

devel/doxygen Mac OS X Snow Leopard unsupported error



c++ -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qbuffer.o qbuffer.cpp
In file included from qiodevice.h:42,
                 from qbuffer.h:42,
                 from qbuffer.cpp:38:
qglobal.h:90:6: error: #error "This version of Mac OS X is unsupported"
gnumake[2]: *** [../objects/qbuffer.o] Error 1
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
*** Error code 2

Apply the following fix.


Ian McWilliam



Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/doxygen/distinfo,v
retrieving revision 1.38
diff -u -r1.38 distinfo
--- distinfo    27 Sep 2009 01:30:38 -0000      1.38
+++ distinfo    9 Oct 2009 01:15:12 -0000
@@ -5,7 +5,7 @@
 Size (doxygen-1.6.1.src.tar.gz) = 3902407 bytes
 SHA1 (patch-aa) = 74aa6e068c150d2e40c5a73723afd24d510f4538
 SHA1 (patch-ab) = 951ad787ec32cf5dd3915d91df1fb45bc199ec79
-SHA1 (patch-ac) = 5523e5b146436a50b008f963a0b809379a9e4974
+SHA1 (patch-ac) = 6cbe9ce333ede6c413f3046c195e1e7792fced27
 SHA1 (patch-af) = 0942cc0fdcb49e74ce018d7e790dba36b21b4d08
 SHA1 (patch-ag) = a7cf7cd0b510e9a8293e5f8a43517cfc80a60d15
 SHA1 (patch-ah) = 8ec4502a6324cbdb4821887bcfe808f086aaa78b
cvs diff: Diffing patches
Index: patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/devel/doxygen/patches/patch-ac,v
retrieving revision 1.7
diff -u -r1.7 patch-ac
--- patches/patch-ac    29 Nov 2005 04:40:38 -0000      1.7
+++ patches/patch-ac    9 Oct 2009 01:15:12 -0000
@@ -1,8 +1,20 @@
 $NetBSD: patch-ac,v 1.7 2005/11/29 04:40:38 joerg Exp $

---- qtools/qglobal.h.orig      2004-08-29 18:18:24.000000000 +0000
+--- qtools/qglobal.h.orig      2008-12-07 00:16:20.000000000 +1100
 +++ qtools/qglobal.h
-@@ -98,7 +98,7 @@
+@@ -86,7 +86,10 @@
+ #  if !defined(MAC_OS_X_VERSION_10_5)
+ #       define MAC_OS_X_VERSION_10_5 MAC_OS_X_VERSION_10_4 + 1
+ #  endif
+-#  if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5)
++#  if !defined(MAC_OS_X_VERSION_10_6)
++#       define MAC_OS_X_VERSION_10_6 MAC_OS_X_VERSION_10_5 + 1
++#  endif
++#  if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6)
+ #    error "This version of Mac OS X is unsupported"
+ #  endif
+ #elif defined(MSDOS) || defined(_MSDOS) || defined(__MSDOS__)
+@@ -115,7 +118,7 @@
  #define _OS_RELIANTUNIX_
#elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
  #define _OS_LINUX_




Home | Main Index | Thread Index | Old Index