mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
libmng build issues fix (#687)
This commit is contained in:
committed by
waddlesplash
parent
70cf14f8cd
commit
77ce7d95f9
25
media-libs/libmng/patches/libmng-2.0.3.patchset
Normal file
25
media-libs/libmng/patches/libmng-2.0.3.patchset
Normal file
@@ -0,0 +1,25 @@
|
||||
From f96cd1e17baaac1c9064274252892515521f4f5f Mon Sep 17 00:00:00 2001
|
||||
From: Calvin Hill <calvin@hakobaito.co.uk>
|
||||
Date: Sat, 9 Jul 2016 01:06:59 +0100
|
||||
Subject: [PATCH] Fix libmng build issues
|
||||
|
||||
---
|
||||
libmng_jpeg.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/libmng_jpeg.c b/libmng_jpeg.c
|
||||
index f5c43a4..e457d00 100644
|
||||
--- a/libmng_jpeg.c
|
||||
+++ b/libmng_jpeg.c
|
||||
@@ -67,6 +67,9 @@
|
||||
#include "libmng_pixels.h"
|
||||
#include "libmng_jpeg.h"
|
||||
|
||||
+#define TRUE 1
|
||||
+#define FALSE 0
|
||||
+
|
||||
#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
|
||||
#pragma option -A /* force ANSI-C */
|
||||
#endif
|
||||
--
|
||||
2.2.2
|
||||
Reference in New Issue
Block a user