mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
lz5: remove patchset
This commit is contained in:
@@ -1,95 +0,0 @@
|
||||
From 97fa9054367795d7c34319eb237fb21c9a9819ae Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 22 Feb 2017 22:02:08 +0100
|
||||
Subject: also install for Haiku.
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 72046f7..6b71f60 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -71,9 +71,9 @@ clean:
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
-#make install is validated only for Linux, OSX, kFreeBSD, Hurd and
|
||||
+#make install is validated only for Linux, OSX, kFreeBSD, Hurd, Haiku and
|
||||
#FreeBSD targets
|
||||
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD))
|
||||
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD Haiku))
|
||||
HOST_OS = POSIX
|
||||
|
||||
install:
|
||||
diff --git a/lib/Makefile b/lib/Makefile
|
||||
index d3b1078..fe0771f 100644
|
||||
--- a/lib/Makefile
|
||||
+++ b/lib/Makefile
|
||||
@@ -101,9 +101,9 @@ clean:
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
-#make install is validated only for Linux, OSX, kFreeBSD, Hurd and
|
||||
+#make install is validated only for Linux, OSX, kFreeBSD, Hurd, Haiku and
|
||||
#FreeBSD targets
|
||||
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD))
|
||||
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD Haiku))
|
||||
|
||||
liblz5.pc: liblz5.pc.in Makefile
|
||||
@echo creating pkgconfig
|
||||
diff --git a/programs/Makefile b/programs/Makefile
|
||||
index 1f51d25..efdd40a 100644
|
||||
--- a/programs/Makefile
|
||||
+++ b/programs/Makefile
|
||||
@@ -98,9 +98,9 @@ clean:
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
-#make install is validated only for Linux, OSX, kFreeBSD, Hurd and
|
||||
+#make install is validated only for Linux, OSX, kFreeBSD, Hurd, Haiku and
|
||||
#FreeBSD targets
|
||||
-ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU FreeBSD MSYS%, $(shell uname)))
|
||||
+ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU FreeBSD Haiku MSYS%, $(shell uname)))
|
||||
|
||||
install: lz5$(EXT)
|
||||
@echo Installing binaries
|
||||
diff --git a/tests/Makefile b/tests/Makefile
|
||||
index 3977a64..53f5790 100644
|
||||
--- a/tests/Makefile
|
||||
+++ b/tests/Makefile
|
||||
@@ -128,9 +128,9 @@ versionsTest:
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
-#make install is validated only for Linux, OSX, kFreeBSD, Hurd and
|
||||
+#make install is validated only for Linux, OSX, kFreeBSD, Hurd, Haiku and
|
||||
#FreeBSD targets
|
||||
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD))
|
||||
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD Haiku))
|
||||
|
||||
test: test-lz5 test-lz5c test-frametest test-fullbench test-fuzzer
|
||||
|
||||
--
|
||||
2.10.2
|
||||
|
||||
|
||||
From 7cb987998323b94fc1d5c64c99e83a6028d2ea4d Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 22 Feb 2017 22:12:30 +0100
|
||||
Subject: include string.h
|
||||
|
||||
|
||||
diff --git a/programs/util.h b/programs/util.h
|
||||
index 2b09b11..7216628 100644
|
||||
--- a/programs/util.h
|
||||
+++ b/programs/util.h
|
||||
@@ -33,6 +33,7 @@ extern "C" {
|
||||
#include <stdlib.h> /* malloc */
|
||||
#include <stddef.h> /* size_t, ptrdiff_t */
|
||||
#include <stdio.h> /* fprintf */
|
||||
+#include <string.h> /* strlen, strncpy */
|
||||
#include <sys/types.h> /* stat, utime */
|
||||
#include <sys/stat.h> /* stat */
|
||||
#if defined(_MSC_VER)
|
||||
--
|
||||
2.10.2
|
||||
|
||||
Reference in New Issue
Block a user