~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libuv: Update from 1.19.1 to 1.19.2
[termux-packages]
/
packages
/
apt
/
debsrcrecords.patch
diff --git
a/packages/apt/debsrcrecords.patch
b/packages/apt/debsrcrecords.patch
index
bf34220
..
bedcbc0
100644
(file)
--- a/
packages/apt/debsrcrecords.patch
+++ b/
packages/apt/debsrcrecords.patch
@@
-8,8
+8,8
@@
diff -u -r ../apt-0.9.16.1/apt-pkg/deb/debsrcrecords.cc ./apt-pkg/deb/debsrcreco
+#if defined(__ANDROID__)
+static char* strchrnul(char const* s, int c)
+{
+#if defined(__ANDROID__)
+static char* strchrnul(char const* s, int c)
+{
-+
char
* result = strchr(s, c);
-+
return (result == NULL) ? const_cast<char*>(s + strlen(s)) : result
;
++
char const
* result = strchr(s, c);
++
return const_cast<char*>((result == NULL) ? (s + strlen(s)) : result)
;
+}
+#endif
+
+}
+#endif
+