Sfoglia il codice sorgente

Fix platform-specific type definitions by incorporating a vendor patch [1]. Someone with access to ftp://ftp.openpkg.org/sources/CPY/VERSIONED/tidy/ should fetch an up-to-date CVS snapshot from the vendor as the Tidy project does not release tarballs by policy. [1] http://tidy.cvs.sourceforge.net/tidy/tidy/include/platform.h?r1=1.62&r2=1.63

Christoph Schug 17 anni fa
parent
commit
6e3052446a
2 ha cambiato i file con 16 aggiunte e 1 eliminazioni
  1. 15 0
      tidy/tidy.patch
  2. 1 1
      tidy/tidy.spec

+ 15 - 0
tidy/tidy.patch

@@ -16,3 +16,18 @@ Index: build/gmake/Makefile
  # OTHERCFLAGS+= -fvisibility=hidden -DTIDY_EXPORT='__attribute__((visibility("default")))'
  ifdef SUPPORT_UTF16_ENCODINGS
  CFLAGS += -DSUPPORT_UTF16_ENCODINGS=$(SUPPORT_UTF16_ENCODINGS)
+Index: include/platform.h
+--- include/platform.h.orig	Sun Jan 21 21:36:21 2007
++++ include/platform.h	Wed Mar 12 09:30:39 2008
+@@ -511,9 +511,11 @@
+ #include <sys/types.h>
+ #endif
+ #if !defined(HPUX_OS) && !defined(CYGWIN_OS) && !defined(MAC_OS_X) && !defined(BE_OS) && !defined(SOLARIS_OS) && !defined(BSD_BASED_OS) && !defined(OSF_OS) && !defined(IRIX_OS) && !defined(AIX_OS) && !defined(LINUX_OS)
++# undef uint
+ typedef unsigned int uint;
+ #endif
+ #if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32)
++# undef ulong
+ typedef unsigned long ulong;
+ #endif
+ 

+ 1 - 1
tidy/tidy.spec

@@ -36,7 +36,7 @@ Class:        PLUS
 Group:        HTML
 License:      GPL
 Version:      %{V_tidy}
-Release:      20080101
+Release:      20080312
 
 #   package options
 %option       with_perl  no