summaryrefslogtreecommitdiff
path: root/archivers/upx
diff options
context:
space:
mode:
authorben <ben>2004-01-11 20:18:39 +0000
committerben <ben>2004-01-11 20:18:39 +0000
commit07c962353382a5b8f9ab9b235dc3323833a7605c (patch)
treef48a06840e9736bbb1eb43b43ff1736818d26f97 /archivers/upx
parentf5174b227fe98fad650943f26249b97c69d2af4b (diff)
downloadpkgsrc-07c962353382a5b8f9ab9b235dc3323833a7605c.tar.gz
Fix UPX build error relative to new version of UCL.
Diffstat (limited to 'archivers/upx')
-rw-r--r--archivers/upx/distinfo3
-rw-r--r--archivers/upx/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/archivers/upx/distinfo b/archivers/upx/distinfo
index 898ec0121ac..64fc205b3e8 100644
--- a/archivers/upx/distinfo
+++ b/archivers/upx/distinfo
@@ -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
diff --git a/archivers/upx/patches/patch-ab b/archivers/upx/patches/patch-ab
new file mode 100644
index 00000000000..e67630acb87
--- /dev/null
+++ b/archivers/upx/patches/patch-ab
@@ -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)