termux-packages/packages/apt/apt-pkg-contrib-strutl.cc.patch

20 lines
730 B
Diff
Raw Normal View History

2017-09-17 20:51:20 +02:00
diff -u -r ../apt-1.4.7/apt-pkg/contrib/strutl.cc ./apt-pkg/contrib/strutl.cc
--- ../apt-1.4.7/apt-pkg/contrib/strutl.cc 2017-07-13 23:45:39.000000000 +0200
+++ ./apt-pkg/contrib/strutl.cc 2017-07-23 22:58:23.103247428 +0200
@@ -100,6 +100,7 @@
}
}
2015-06-13 01:03:31 +02:00
/*}}}*/
2017-09-17 20:51:20 +02:00
+#ifndef __ANDROID__
2015-06-13 01:03:31 +02:00
// UTF8ToCodeset - Convert some UTF-8 string for some codeset /*{{{*/
// ---------------------------------------------------------------------
/* This is handy to use before display some information for enduser */
2017-09-17 20:51:20 +02:00
@@ -169,6 +170,7 @@
2015-06-13 01:03:31 +02:00
return true;
}
+#endif
/*}}}*/
// strstrip - Remove white space from the front and back of a string /*{{{*/
// ---------------------------------------------------------------------