Fix UPX build error relative to new version of UCL.

This commit is contained in:
ben 2004-01-11 20:18:39 +00:00
parent 0104f4dfbf
commit ab9d43430d
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2004/01/07 15:12:59 ben Exp $
$NetBSD: distinfo,v 1.2 2004/01/11 20:18:39 ben Exp $
SHA1 (upx-1.24-src.tar.gz) = 81e9a8e9283045094b9c58439b1f537a04bc55fc
Size (upx-1.24-src.tar.gz) = 222976 bytes
SHA1 (patch-aa) = 720bdfd17a845be9953374fd832a7e92322a015a
SHA1 (patch-ab) = 5e474b01e9e7f53e3870a033ddfee86d8c44ca27

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1 2004/01/11 20:18:39 ben Exp $
--- src/conf.h.orig 2002-10-14 11:53:00.000000000 -0700
+++ src/conf.h
@@ -109,7 +109,7 @@
# define UPX_E_OK UCL_E_OK
# define UPX_E_ERROR UCL_E_ERROR
# define UPX_E_OUT_OF_MEMORY UCL_E_OUT_OF_MEMORY
-# define __UPX_ENTRY __UCL_ENTRY
+# define __UPX_ENTRY __UCL_CDECL
# endif
#endif
#if defined(WITH_NRV)