Update libgpg-error to 1.10

This commit is contained in:
Scott McCreary
2012-06-11 22:17:42 +00:00
parent db39891080
commit 8a5d91479b
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
DESCRIPTION="libgpg-error"
HOMEPAGE="http://www.gnupg.org/related_software/libraries.en.html#lib-libgpg-error"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="gettext = 0.18.1.1-dev"
CHECKSUM_MD5="736a03daa9dc5873047d4eb4a9c22a16"
BUILD {
cd libgpg-error-1.10
cd po
touch t-cs.gmo t-de.gmo t-fr.gmo t-it.gmo t-nl.gmo \
t-pl.gmo t-ro.gmo t-sv.gmo t-vi.gmo t-zh_CN.gmo
cd ..
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY`
make
}
INSTALL {
cd libgpg-error-1.10
make install
}

View File

@@ -0,0 +1,11 @@
--- libgpg-error-1.10/src/mkerrcodes2.awk 2008-08-26 12:45:58.010747904 +0000
+++ libgpg-error-1.10-haiku/src/mkerrcodes2.awk 2012-04-09 16:59:18.363855872 +0000
@@ -81,7 +81,7 @@
/^#/ { next; }
header {
- if ($1 ~ /^[0123456789]+$/)
+ if ($1 ~ /^-?[0123456789]+$/)
{
print "static const int err_code_from_index[] = {";
header = 0;