mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Add patch for htmltidy I forgot to commit.
This commit is contained in:
45
app-text/htmltidy/patches/htmltidy-20092812.patchset
Normal file
45
app-text/htmltidy/patches/htmltidy-20092812.patchset
Normal file
@@ -0,0 +1,45 @@
|
||||
From 1f39ac359161c8bb06a4f1d8e85465a70298bd5b Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 30 Mar 2014 12:30:32 +0200
|
||||
Subject: Fix path of generated binaries for tests.
|
||||
|
||||
|
||||
diff --git a/test/testone.sh b/test/testone.sh
|
||||
index 8abb3b9..b3dbd0f 100755
|
||||
--- a/test/testone.sh
|
||||
+++ b/test/testone.sh
|
||||
@@ -24,7 +24,7 @@ set +f
|
||||
|
||||
TESTNO=$1
|
||||
EXPECTED=$2
|
||||
-TIDY=../bin/tidy
|
||||
+TIDY=../console/tidy
|
||||
INFILES=./input/in_${TESTNO}.*ml
|
||||
CFGFILE=./input/cfg_${TESTNO}.txt
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 2b3f8f044417309878612b135edff9726553fcad Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 30 Mar 2014 12:30:49 +0200
|
||||
Subject: Make file aware of Haiku.
|
||||
|
||||
|
||||
diff --git a/include/platform.h b/include/platform.h
|
||||
index c30946b..ae7843c 100644
|
||||
--- a/include/platform.h
|
||||
+++ b/include/platform.h
|
||||
@@ -417,7 +417,7 @@ extern "C" {
|
||||
#if PRESERVE_FILE_TIMES
|
||||
|
||||
#ifndef HAS_FUTIME
|
||||
-#if defined(CYGWIN_OS) || defined(BE_OS) || defined(OS2_OS) || defined(HPUX_OS) || defined(SOLARIS_OS) || defined(LINUX_OS) || defined(BSD_BASED_OS) || defined(MAC_OS) || defined(__MSL__) || defined(IRIX_OS) || defined(AIX_OS) || defined(__BORLANDC__)
|
||||
+#if defined(CYGWIN_OS) || defined(BE_OS) || defined(OS2_OS) || defined(HPUX_OS) || defined(SOLARIS_OS) || defined(LINUX_OS) || defined(BSD_BASED_OS) || defined(MAC_OS) || defined(__MSL__) || defined(IRIX_OS) || defined(AIX_OS) || defined(__BORLANDC__) || defined(__HAIKU__)
|
||||
#define HAS_FUTIME 0
|
||||
#else
|
||||
#define HAS_FUTIME 1
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user