mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libmng build issues fix (#687)
This commit is contained in:
committed by
waddlesplash
parent
70cf14f8cd
commit
77ce7d95f9
@@ -7,6 +7,7 @@ LICENSE="LIBMNG"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://sourceforge.net/projects/libmng/files/libmng-devel/$portVersion/libmng-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="4a462fdd48d4bc82c1d7a21106c8a18b62f8cc0042454323058e6da0dbb57dd3"
|
||||
PATCHES="libmng-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
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