svn commit: r369395 - in head/devel/android-tools-adb: . files

Kevin Lo kevlo at FreeBSD.org
Sat Sep 27 15:02:21 UTC 2014


Author: kevlo
Date: Sat Sep 27 15:02:19 2014
New Revision: 369395
URL: http://svnweb.freebsd.org/changeset/ports/369395
QAT: https://qat.redports.org/buildarchive/r369395/

Log:
  Use ppp instead of pppd.
  
  Submitted by:	Andreas Obermaier <andreas at port22 dot net>

Added:
  head/devel/android-tools-adb/files/patch-commandline.c   (contents, props changed)
Modified:
  head/devel/android-tools-adb/Makefile

Modified: head/devel/android-tools-adb/Makefile
==============================================================================
--- head/devel/android-tools-adb/Makefile	Sat Sep 27 14:58:56 2014	(r369394)
+++ head/devel/android-tools-adb/Makefile	Sat Sep 27 15:02:19 2014	(r369395)
@@ -2,6 +2,7 @@
 
 PORTNAME=	android-tools-adb
 DISTVERSION=	4.4.4_r1
+PORTREVISION=	1
 CATEGORIES=	devel
 DISTNAME=	android-platform_system_core-${GH_COMMIT}
 

Added: head/devel/android-tools-adb/files/patch-commandline.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/android-tools-adb/files/patch-commandline.c	Sat Sep 27 15:02:19 2014	(r369395)
@@ -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 {


More information about the svn-ports-head mailing list