rpms/gpsdrive/devel gpsdrive-2.09-gps-mysql.patch, NONE, 1.1 gpsdrive.spec, 1.3, 1.4

Kevin Fenzi (kevin) fedora-extras-commits at redhat.com
Wed Apr 9 03:06:50 UTC 2008


Author: kevin

Update of /cvs/extras/rpms/gpsdrive/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21474

Modified Files:
	gpsdrive.spec 
Added Files:
	gpsdrive-2.09-gps-mysql.patch 
Log Message:
Add patch for gpsd arguments - bug 438615
Add patch for mysql - bug 441179


gpsdrive-2.09-gps-mysql.patch:

--- NEW FILE gpsdrive-2.09-gps-mysql.patch ---
diff -Nur gpsdrive-2.09.orig/src/gpsdrive.c gpsdrive-2.09/src/gpsdrive.c
--- gpsdrive-2.09.orig/src/gpsdrive.c	2004-03-03 13:46:47.000000000 -0700
+++ gpsdrive-2.09/src/gpsdrive.c	2008-04-08 20:14:57.000000000 -0600
@@ -2305,10 +2305,10 @@
     {
       g_snprintf (s2, sizeof (s2), "%d", t[serialspeed]);
       if (usedgps)
-	g_snprintf (s, sizeof (s), "gpsd -p %s -c -d %s -s %s -r %s",
-		    serialdev, dgpsserver, s2, dgpsport);
+	g_snprintf (s, sizeof (s), "/usr/sbin/gpsd %s dgpsip://%s:%s",
+		    serialdev, dgpsserver, dgpsport);
       else
-	g_snprintf (s, sizeof (s), "gpsd -p %s -s %s", serialdev, s2);
+	g_snprintf (s, sizeof (s), "/usr/sbin/gpsd %s", serialdev);
       if (earthmate)
 	g_strlcat (s, " -T e -s 9600", sizeof (s));
       system (s);
@@ -10496,7 +10496,7 @@
       if (!handle)
 	handle = dlopen ("libmysqlclient.so", RTLD_LAZY);
       if (!handle)
-	handle = dlopen ("libmysqlclient.so.10", RTLD_LAZY);
+	handle = dlopen ("libmysqlclient.so.15", RTLD_LAZY);
       if (!handle)
 	handle = dlopen ("/opt/lib/mysql/libmysqlclient.so.10", RTLD_LAZY);
       if (!handle)


Index: gpsdrive.spec
===================================================================
RCS file: /cvs/extras/rpms/gpsdrive/devel/gpsdrive.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gpsdrive.spec	10 Feb 2008 18:00:31 -0000	1.3
+++ gpsdrive.spec	9 Apr 2008 03:06:12 -0000	1.4
@@ -1,7 +1,7 @@
 Summary: A GPS based navigation tool 
 Name: gpsdrive
 Version: 2.09
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+
 Group: Applications/Productivity
 URL: http://www.gpsdrive.de/index.shtml
@@ -9,6 +9,7 @@
 Patch0: gpsdrive-disable-gcc3-test.patch
 Patch1: gpsdrive-2.09-greek.patch
 Patch2: gpsdrive-2.09-gcc43.patch
+Patch3: gpsdrive-2.09-gps-mysql.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gtk2-devel >= 2.0.6
 BuildRequires: gettext
@@ -33,6 +34,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Convert 8859 man pages to UTF-8
 for f in man/es/gpsdrive.1 man/de/gpsdrive.1 ; do
@@ -140,6 +142,10 @@
 %{_datadir}/pixmaps/gpsicon.png
 
 %changelog
+* Tue Apr 08 2008 Kevin Fenzi <kevin at tummy.com> - 2.09-6
+- Add patch for gpsd arguments - bug 438615
+- Add patch for mysql - bug 441179
+
 * Sun Feb 10 2008 Kevin Fenzi <kevin at tummy.com> - 2.09-5
 - Rebuild for gcc43
 




More information about the fedora-extras-commits mailing list