diff options
author | kevlo <kevlo@FreeBSD.org> | 2014-09-27 23:02:19 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2014-09-27 23:02:19 +0800 |
commit | b477cf5322d5acb02212885164f7aa82360df6d2 (patch) | |
tree | 1f7899bd116acff7c5ea116ef9ea7fa125e4e05b /devel | |
parent | b2efcc5cffa952e0de52b8502f65654542047cec (diff) | |
download | freebsd-ports-gnome-b477cf5322d5acb02212885164f7aa82360df6d2.tar.gz freebsd-ports-gnome-b477cf5322d5acb02212885164f7aa82360df6d2.tar.zst freebsd-ports-gnome-b477cf5322d5acb02212885164f7aa82360df6d2.zip |
Use ppp instead of pppd.
Submitted by: Andreas Obermaier <andreas at port22 dot net>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/android-tools-adb/Makefile | 1 | ||||
-rw-r--r-- | devel/android-tools-adb/files/patch-commandline.c | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/devel/android-tools-adb/Makefile b/devel/android-tools-adb/Makefile index 8ba3709ee5f4..22e8a3dc9353 100644 --- a/devel/android-tools-adb/Makefile +++ b/devel/android-tools-adb/Makefile @@ -2,6 +2,7 @@ PORTNAME= android-tools-adb DISTVERSION= 4.4.4_r1 +PORTREVISION= 1 CATEGORIES= devel DISTNAME= android-platform_system_core-${GH_COMMIT} diff --git a/devel/android-tools-adb/files/patch-commandline.c b/devel/android-tools-adb/files/patch-commandline.c new file mode 100644 index 000000000000..9f86db94645f --- /dev/null +++ b/devel/android-tools-adb/files/patch-commandline.c @@ -0,0 +1,24 @@ +--- commandline.c.orig 2014-09-27 22:55:45.000000000 +0800 ++++ commandline.c 2014-09-27 22:58:14.000000000 +0800 +@@ -591,7 +591,7 @@ + + // copy args + ppp_args = (const char **) alloca(sizeof(char *) * argc + 1); +- ppp_args[0] = "pppd"; ++ ppp_args[0] = "ppp"; + for (i = 2 ; i < argc ; i++) { + //argv[2] and beyond become ppp_args[1] and beyond + ppp_args[i - 1] = argv[i]; +@@ -605,10 +605,10 @@ + adb_close(STDERR_FILENO); + adb_close(fd); + +- err = execvp("pppd", (char * const *)ppp_args); ++ err = execvp("ppp", (char * const *)ppp_args); + + if (err < 0) { +- perror("execing pppd"); ++ perror("execing ppp"); + } + exit(-1); + } else { |