mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
graphviz: fix build for secondary arch
This commit is contained in:
@@ -14,7 +14,7 @@ shapes."
|
||||
HOMEPAGE="https://www.graphviz.org/"
|
||||
COPYRIGHT="1994-2020 AT&T Corp."
|
||||
LICENSE="EPL v1.0"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://www2.graphviz.org/Packages/stable/portable_source/graphviz-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9aabd13a8018b708ab3c822de2326c19d0a52ed59f50a6b0f9318c07e2a6d93b"
|
||||
SOURCE_FILENAME="graphviz-$portVersion.tar.gz"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From bd27f8036ea0565c9f491fd529ff404ce49aba67 Mon Sep 17 00:00:00 2001
|
||||
From b500e9bc3d631202d5defcbe2967dfa4cdfc1861 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 25 Feb 2018 15:09:25 +0100
|
||||
Subject: set Haiku font directories
|
||||
@@ -46,7 +46,7 @@ index 5e098aa..36b95d5 100644
|
||||
2.26.0
|
||||
|
||||
|
||||
From 436287c353da2fa6d955e3ee4d94d195e72036b4 Mon Sep 17 00:00:00 2001
|
||||
From 3608318546bb22e1f11afba25afd1fd6353295d5 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 25 Feb 2018 15:14:43 +0100
|
||||
Subject: undef _hdr_malloc for Haiku
|
||||
@@ -71,7 +71,7 @@ index 441d9da..d898a09 100644
|
||||
2.26.0
|
||||
|
||||
|
||||
From ce8fb90920844cc4db7c6ef27f8d940dd0dcd811 Mon Sep 17 00:00:00 2001
|
||||
From 9edb7b9b0502a1991dd691dac4f5bf0f06e055c7 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 25 Feb 2018 15:17:14 +0100
|
||||
Subject: set default font for Haiku
|
||||
@@ -94,7 +94,7 @@ index 2c745c2..76f2902 100644
|
||||
2.26.0
|
||||
|
||||
|
||||
From 64e9b874a77ab94f04aec8ef733de83fb904b984 Mon Sep 17 00:00:00 2001
|
||||
From b1b9f11f972f5b831aeae058c6725a83c1c601cb Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 13 Jun 2020 13:02:14 +1000
|
||||
Subject: Use system declaration for sbrk and getpagesize
|
||||
@@ -129,7 +129,7 @@ index d898a09..6a3435f 100644
|
||||
2.26.0
|
||||
|
||||
|
||||
From 63c401942f01fa58e5c18cf74320fa000c48b284 Mon Sep 17 00:00:00 2001
|
||||
From 8d7aa19a303ec7422da96ca6cd4f4e68701fb934 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 13 Jun 2020 13:03:04 +1000
|
||||
Subject: Remove mstats
|
||||
@@ -152,7 +152,7 @@ index 36b95d5..8914236 100644
|
||||
2.26.0
|
||||
|
||||
|
||||
From 66778ea9fe4e8566cd6b9ad397677cfc725bb186 Mon Sep 17 00:00:00 2001
|
||||
From bc4ff6bec1b874f9af6e76add6734fe6422e436d Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 13 Jun 2020 20:34:04 +1000
|
||||
Subject: Use system declaration for waitpid
|
||||
@@ -175,3 +175,36 @@ index d3b3329..e5c790e 100644
|
||||
--
|
||||
2.26.0
|
||||
|
||||
|
||||
From bc37134a4b3825379ba34b1dcfca0c0b532fe116 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 13 Jun 2020 21:37:39 +1000
|
||||
Subject: Use sustem declaration for getpid
|
||||
|
||||
|
||||
diff --git a/lib/vmalloc/vmhdr.h b/lib/vmalloc/vmhdr.h
|
||||
index 6a3435f..c210abc 100644
|
||||
--- a/lib/vmalloc/vmhdr.h
|
||||
+++ b/lib/vmalloc/vmhdr.h
|
||||
@@ -33,6 +33,7 @@ extern "C" {
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdlib.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
@@ -438,8 +439,9 @@ extern "C" {
|
||||
extern int creat(const char *, int);
|
||||
extern int close(int);
|
||||
#endif
|
||||
+#ifndef __HAIKU__
|
||||
extern int getpid(void);
|
||||
-
|
||||
+#endif
|
||||
/* for vmexit.c */
|
||||
#ifndef _WIN32
|
||||
extern int onexit(void(*)(void));
|
||||
--
|
||||
2.26.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user