summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-18 07:23:41 +0000
committerJay Freeman <saurik@saurik.com>2008-06-18 07:23:41 +0000
commite867b3c3a8431cc8331ceddfe427cd70fce08f2f (patch)
tree29774bb4d6232fa01212e02c95c47dca26f2db70 /data
parenta232c4ba2ef379a5ab49f9714c591c0fe2210b6a (diff)
Removed const_cast hack from Aptitude as apparently its wrong.
git-svn-id: http://svn.telesphoreo.org/trunk@330 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r--data/aptitude/const.diff30
1 files changed, 0 insertions, 30 deletions
diff --git a/data/aptitude/const.diff b/data/aptitude/const.diff
deleted file mode 100644
index 9a3ee38da..000000000
--- a/data/aptitude/const.diff
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ru aptitude-0.4.4.orig/src/vscreen/transcode.cc aptitude-0.4.4.orig+iPhone/src/vscreen/transcode.cc
---- aptitude-0.4.4.orig/src/vscreen/transcode.cc 2006-10-27 04:26:08.000000000 +0000
-+++ aptitude-0.4.4.orig+iPhone/src/vscreen/transcode.cc 2008-05-13 09:30:43.000000000 +0000
-@@ -105,7 +106,7 @@
- while(inremaining>0)
- {
- if(iconv(state,
-- const_cast<char **>(&inbuf), &inremaining,
-+ &inbuf, &inremaining,
- &outbufcur, &outremaining) == ((size_t)-1))
- {
- // Some error conditions can be corrected. There are three
-@@ -154,7 +155,7 @@
- const char *errbuf = "?";
- size_t errbufsize = strlen(errbuf);
-
-- result = iconv(state2, const_cast<char **>(&errbuf),
-+ result = iconv(state2, &errbuf,
- &errbufsize, &outbufcur, &outremaining);
-
-
-@@ -173,7 +174,7 @@
- outbuf = (char *) realloc(outbuf, outbufsize);
- outbufcur = outbuf+idx;
-
-- result = iconv(state2, const_cast<char **>(&errbuf),
-+ result = iconv(state2, &errbuf,
- &errbufsize, &outbufcur, &outremaining);
- }
-