diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-07-06 11:46:30 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-07-06 11:46:30 +0800 |
commit | 5b7735542d664f5b36e69b1c273dbc5f46729c88 (patch) | |
tree | 3f43aa085319153a8c42d52560cb6fdacf2edbf2 /print/a2ps-letter | |
parent | 62062be5e0f0812b2767852057854bd0583a5568 (diff) | |
download | freebsd-ports-gnome-5b7735542d664f5b36e69b1c273dbc5f46729c88.tar.gz freebsd-ports-gnome-5b7735542d664f5b36e69b1c273dbc5f46729c88.tar.zst freebsd-ports-gnome-5b7735542d664f5b36e69b1c273dbc5f46729c88.zip |
- Fix bug in internationalization, memcpy()
- Support amd64
Diffstat (limited to 'print/a2ps-letter')
-rw-r--r-- | print/a2ps-letter/Makefile | 1 | ||||
-rw-r--r-- | print/a2ps-letter/files/patch-intl-localealias.c | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/print/a2ps-letter/Makefile b/print/a2ps-letter/Makefile index a613959be168..0e0e2cd509ba 100644 --- a/print/a2ps-letter/Makefile +++ b/print/a2ps-letter/Makefile @@ -7,6 +7,7 @@ PORTNAME= a2ps PORTVERSION= 4.13b +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://ftp.enst.fr/pub/unix/a2ps/ \ ${MASTER_SITE_GNU} diff --git a/print/a2ps-letter/files/patch-intl-localealias.c b/print/a2ps-letter/files/patch-intl-localealias.c new file mode 100644 index 000000000000..2d0279bf9751 --- /dev/null +++ b/print/a2ps-letter/files/patch-intl-localealias.c @@ -0,0 +1,19 @@ +--- intl/localealias.c.orig Tue Aug 31 19:29:35 1999 ++++ intl/localealias.c Sun Jul 6 05:35:31 2003 +@@ -333,12 +333,12 @@ + string_space_max = new_size; + } + +- map[nmap].alias = memcpy (&string_space[string_space_act], +- alias, alias_len); ++ memcpy (&string_space[string_space_act], alias, alias_len); ++ map[nmap].alias = &string_space[string_space_act]; + string_space_act += alias_len; + +- map[nmap].value = memcpy (&string_space[string_space_act], +- value, value_len); ++ memcpy (&string_space[string_space_act], value, value_len); ++ map[nmap].value = &string_space[string_space_act]; + string_space_act += value_len; + + ++nmap; |