1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Remove obsolete patches left over from last update.

Reported by:	troy@twisted.net on ports list
Forgotten by:	johans
This commit is contained in:
Sam Lawrance 2006-04-09 12:30:27 +00:00
parent 094f8f78dc
commit 7226e3d55f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159197
2 changed files with 0 additions and 34 deletions

View File

@ -1,21 +0,0 @@
int and void* are not always of the same size. This patch eliminates
a compiler warning...
--- utils/answer.c Wed Jul 21 12:36:33 2004
+++ utils/answer.c Wed Jul 6 23:48:29 2005
@@ -380,5 +380,5 @@
read(user_data, buffer, entry.length > VERY_LONG_STRING ? VERY_LONG_STRING : entry.length);
if ((entry.type & GROUP) != 0 && mailing) {
- if (expand_group(sprbuffer, buffer + (int) entry.address,
+ if (expand_group(sprbuffer, buffer + (intptr_t) entry.address,
depth, sizeof sprbuffer) < 0)
return NULL;
@@ -386,6 +386,6 @@
elm_sfprintf(sprbuffer, sizeof sprbuffer,
FRM("%s (%s)"),
- buffer + (int) entry.address,
- buffer + (int) entry.name);
+ buffer + (intptr_t) entry.address,
+ buffer + (intptr_t) entry.name);
}
return sprbuffer;

View File

@ -1,13 +0,0 @@
unicode_value (uint16) can not possibly exceed 0xFFFF. Remove
the statement, that triggers a compiler warning.
--- shared_libs/iconv/iconv.c Tue Mar 30 11:38:44 2004
+++ shared_libs/iconv/iconv.c Thu Jul 7 16:49:57 2005
@@ -1000,7 +1000,4 @@
/* Add unicode value */
- if (ch->p->a.g1->unicode_value > 0xFFFF)
- return;
-
/* NOTE: str->p->a.words is not NUL terminated */
str->p->a.words = safe_realloc(str->p->a.words,