File: luaopen-posix-fix.patch

package info (click to toggle)
rpm 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,588 kB
  • sloc: cpp: 53,215; ansic: 13,892; sh: 2,038; python: 1,175; makefile: 35; xml: 26
file content (15 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Arturo Borrero Gonzalez <arturo.borrero@chainguard.dev>
Origin: https://github.com/rpm-software-management/rpm/commit/266bdeeaf77422b408640c65de00b696fb710e2d
Forwarded: https://github.com/rpm-software-management/rpm/pull/3971
Description: remove LUALIB_API in luaopen_posix() definition
--- a/rpmio/lposix.cc
+++ b/rpmio/lposix.cc
@@ -871,7 +871,7 @@
 	{NULL,			NULL}
 };
 
-LUALIB_API int luaopen_posix (lua_State *L)
+int luaopen_posix (lua_State *L)
 {
 	luaL_newlib(L, R);
 	lua_pushliteral(L,"version");		/** version */