Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
64af5394
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
64af5394
编写于
2月 19, 2010
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
when building on AIX.
上级
1beadafc
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
21 addition
and
16 deletion
+21
-16
ANNOUNCE
ANNOUNCE
+3
-2
CHANGES
CHANGES
+3
-2
configure
configure
+7
-1
configure.ac
configure.ac
+7
-1
png.h
png.h
+0
-4
pngconf.h
pngconf.h
+0
-5
scripts/makefile.aix
scripts/makefile.aix
+1
-1
未找到文件。
ANNOUNCE
浏览文件 @
64af5394
...
...
@@ -59,8 +59,9 @@ version 1.5.0beta07 [February 19, 2010]
Noted in scripts/makefile.mingw that it expects to be run under MSYS.
Removed obsolete unused MMX-querying support from contrib/gregbook
Added exported png_longjmp() function.
Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" at the top of pngpriv.h,
otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
Removed the AIX redefinition of jmpbuf in png.h
Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
when building on AIX.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
CHANGES
浏览文件 @
64af5394
...
...
@@ -2535,8 +2535,9 @@ version 1.5.0beta07 [February 19, 2010]
wherever png_snprintf() is used to construct error and warning messages.
Removed obsolete unused MMX-querying support from contrib/gregbook
Added exported png_longjmp() function.
Added "#ifdef _AIX; #define _ALL_SOURCE 1; #endif" at the top of pngpriv.h,
otherwise AIX reserves "jmpbuf" and renames it to "__jmpbuf".
Removed the AIX redefinition of jmpbuf in png.h
Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
when building on AIX.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
configure
浏览文件 @
64af5394
...
...
@@ -11415,7 +11415,13 @@ else
fi
LIBPNG_DEFINES
=
-DPNG_CONFIGURE_LIBPNG
case
$host_os
in
aix
*
)
LIBPNG_DEFINES
=
-DPNG_CONFIGURE_LIBPNG
-D_ALLSOURCE
;;
*
)
LIBPNG_DEFINES
=
-DPNG_CONFIGURE_LIBPNG
;;
esac
endif
LIBPNG_DEFINES
=
$LIBPNG_DEFINES
...
...
configure.ac
浏览文件 @
64af5394
...
...
@@ -59,7 +59,13 @@ AC_CHECK_FUNCS([memset], , AC_ERROR([memset not found in libc]))
AC_CHECK_FUNCS([pow], , AC_CHECK_LIB(m, pow, , AC_ERROR([cannot find pow])) )
AC_CHECK_LIB(z, zlibVersion, , AC_ERROR([zlib not installed]))
LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG
case $host_os in
aix*)
LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG -D_ALLSOURCE;;
*)
LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG;;
esac
endif
LIBPNG_DEFINES=$LIBPNG_DEFINES
AC_SUBST(LIBPNG_DEFINES)
...
...
png.h
浏览文件 @
64af5394
...
...
@@ -390,10 +390,6 @@
#include "zlib.h"
#endif
#ifdef AIX
#define jmpbuf __jmpbuf
#endif
/* Include all user configurable info, including optional assembler routines */
#include "pngconf.h"
...
...
pngconf.h
浏览文件 @
64af5394
...
...
@@ -22,11 +22,6 @@
#ifndef PNGCONF_H
#define PNGCONF_H
/* Added at libpng-1.2.43 */
#ifdef _AIX
#define _ALL_SOURCE 1
#endif
#ifndef PNG_NO_LIMITS_H
# include <limits.h>
#endif
...
...
scripts/makefile.aix
浏览文件 @
64af5394
...
...
@@ -46,7 +46,7 @@ LDDEBUG =
CRELEASE
=
-O2
LDRELEASE
=
-s
WARNMORE
=
-W
-Wall
CFLAGS
=
-I
$(ZLIBINC)
$(WARNMORE)
$(CRELEASE)
CFLAGS
=
-
D_ALLSOURCE
-
I
$(ZLIBINC)
$(WARNMORE)
$(CRELEASE)
LDFLAGS
=
-L
.
-L
$(ZLIBLIB)
-lpng15
-lz
-lm
$(LDRELEASE)
# File extensions
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录