Ticket #50288: Port-gpsd.patch
File Port-gpsd.patch, 23.0 KB (added by fhgwright (Fred Wright), 9 years ago) |
---|
-
Portfile
3 3 4 4 PortSystem 1.0 5 5 6 if {[variant_isset qt]} {7 PortGroup qt4 1.08 }9 10 6 name gpsd 11 version 3.14 12 revision 4 7 version 3.16 13 8 license BSD 14 9 categories net 15 10 maintainers ryandesign openmaintainer 16 11 platforms darwin 17 12 13 # The GPSD build procedure does not curently support universal binaries. 14 universal_variant no 15 18 16 description GPS service daemon 19 17 20 long_description GPSD is a service daemon that handles GPSes and other navigation-related sensors \ 21 reporting over USB, serial, TCP/IP, or UDP connections and presents reports in \ 22 a well-documented JSON application. 18 long_description GPSD is a service daemon that handles GPSes and other \ 19 navigation-related sensors reporting over USB, serial, \ 20 TCP/IP, or UDP connections and presents reports in \ 21 a well-documented JSON format. The package also \ 22 includes a number of clients which can be run against \ 23 a local GPSD or a GPSD on another machine. 23 24 24 25 homepage http://www.catb.org/${name}/ 25 26 master_sites savannah 26 27 27 checksums rmd160 f e0059e2b3d64af5857f9c150ef2fdd6bc6e115f\28 sha256 504fc812f3c1525a1a48e04bf4d77f9a8066c201448d98089df89d58ef53a8cb28 checksums rmd160 f61444826db6175f27cb41535c3d62d2536a35d4 \ 29 sha256 03579af13a4d3fe0c5b79fa44b5f75c9f3cac6749357f1d99ce5d38c09bc2029 29 30 30 depends_lib-append port:ncurses port:python27 31 depends_build-append port:scons 31 depends_lib-append port:ncurses 32 32 33 depends_build port:scons 34 35 # The Python executables now specify "python2" in the shebang line; hence 36 # the dependency on python2_select. 37 # 38 # GPSD requires Python 2.6 or 2.7, but since the scons port requires 2.7, 39 # we don't bother with a 2.6 variant. 40 # 41 depends_run port:python2_select port:python27 42 33 43 patchfiles patch-SConstruct.diff \ 34 44 patch-driver_rtcm2.c.diff \ 35 patch-libgps.pc.in.diff \36 patch-libgpsd.pc.in.diff \37 45 leopard-IPV6_TCLASS.patch 38 46 47 post-patch { 48 # Fix the bad permissions on gpsprof (in the 3.16 tarball) 49 system "chmod 755 ${worksrcpath}/gpsprof" 50 } 51 39 52 use_configure no 40 53 41 variant universal {}42 43 54 set cxx_stdlibflags {} 44 55 if {[string match *clang* ${configure.cxx}]} { 45 56 set cxx_stdlibflags -stdlib=${configure.cxx_stdlib} … … 47 58 48 59 build.cmd ${prefix}/bin/scons 49 60 build.target 50 build.args prefix=${prefix} libQgpsmm=no usb=no strip=no 61 build.args prefix=${prefix} \ 62 qt=no \ 63 usb=no \ 64 strip=no \ 65 dbus_export=no \ 66 xgps=no 51 67 build.env-append CC="${configure.cc} [get_canonical_archflags cc]" \ 52 68 CFLAGS="${configure.cflags}" \ 53 69 CXX="${configure.cxx} [get_canonical_archflags cxx] ${cxx_stdlibflags}" \ 54 70 CXXFLAGS="${configure.cxxflags}" \ 55 LDFLAGS="${configure.ldflags}" \ 56 PYTHON=${prefix}/bin/python2.7 71 LDFLAGS="${configure.ldflags}" 57 72 73 # Allow the regression tests to be run via "port test gpsd". 74 # 75 # The speed of the daemon tests is highly dependent on the WRITE_PAD value. 76 # In particular, the "ais-nmea-sample" test (with >85000 lines of test data) 77 # takes over 44 minutes to run with the standard (for OSX) 30ms WRITE_PAD. 78 # Empirically, 200us seems to be adequate on a MacPro, and 500us seems to be 79 # adequate on a PowerBook G4, so we use 1ms here. If needed, this value can 80 # be overridden with WRITE_PAD=XXX on the command line, but only if WRITE_PAD 81 # is included in extra_env in macports.conf. In all cases, the WRITE_PAD 82 # value in use is reported by the test framework and is visible with -v. 83 # 84 # Note also that the MacPorts sandbox doesn't allow ptys, so the daemon tests 85 # report "gpsfake: ptys not available, falling back to UDP.", but still work. 86 # This can be worked around by running "scons testregress" directly in 87 # ${worksrcpath}, rather than running it via "port test". 88 # 89 # The test phase duplicates the arguments and environment (except WRITE_PAD) 90 # from the build phase, mainly to avoid gratuitous rebuilds between the phases. 91 # 92 test.run yes 93 test.target testregress 94 set test.args ${build.args} 95 set test.env ${build.env} 96 if { [info exists ::env(WRITE_PAD)] } { 97 test.env-append WRITE_PAD=$::env(WRITE_PAD) 98 } else { 99 test.env-append WRITE_PAD=0.001 100 } 101 58 102 destroot.args {*}${build.args} 59 103 destroot.env-append {*}${destroot.destdir} {*}${build.env} 60 104 105 pre-test { 106 if {[catch {exec which -s python2}]} { 107 ui_error "Running tests requires the python2 command." 108 ui_error "This can be set up by, e.g.:" 109 ui_error "" 110 ui_error " sudo port select --set python2 python27" 111 ui_error "" 112 return -code error "tests not runnable" 113 } 114 } 115 61 116 post-destroot { 62 xinstall -m 644 -W ${worksrcpath} libgps.dylib libgpsd.dylib${destroot}${prefix}/lib117 xinstall -m 644 -W ${worksrcpath} libgps.dylib ${destroot}${prefix}/lib 63 118 } 64 119 65 variant qt description {Build Qt bindings} { 66 build.args-delete libQgpsmm=no 67 destroot.args-delete libQgpsmm=no 120 if {[catch {exec which -s python2}]} { 121 notes " 122 ##################################################################### 123 # Running any of the Python utilities requires the python2 command. # 124 # This can be set up via python2_select, e.g.: # 125 # # 126 # sudo port select --set python2 python27 # 127 # # 128 #####################################################################" 68 129 } 69 130 131 if {${os.platform} == "darwin"} { 132 # Qt5 isn't officially supported for OSX < 10.8 133 if {${os.major} < 12} { 134 set qt_default 4 135 variant qt conflicts qt5 description {Build Qt4 bindings} {} 136 variant qt4 conflicts qt5 description {Build Qt4 bindings} {} 137 variant qt5 conflicts qt qt4 description {Build Qt5 bindings} {} 138 } else { 139 set qt_default 5 140 variant qt conflicts qt4 description {Build Qt5 bindings} {} 141 variant qt4 conflicts qt qt5 description {Build Qt4 bindings} {} 142 variant qt5 conflicts qt4 description {Build Qt5 bindings} {} 143 } 144 } else { 145 set qt_default 0 146 variant qt4 conflicts qt5 description {Build Qt4 bindings} {} 147 variant qt5 conflicts qt4 description {Build Qt5 bindings} {} 148 } 149 150 if {[variant_isset qt4] || [variant_isset qt] && $qt_default == 4} { 151 PortGroup qt4 1.0 152 # The following lines are a workaround for #50347 153 build.env-append PKG_CONFIG_PATH=${qt_pkg_config_dir} 154 test.env-append PKG_CONFIG_PATH=${qt_pkg_config_dir} 155 } 156 157 if {[variant_isset qt5] || [variant_isset qt] && $qt_default == 5} { 158 PortGroup qt5 1.0 159 build.args-append qt_versioned=5 160 test.args-append qt_versioned=5 161 } 162 163 if {[variant_isset qt] || [variant_isset qt4] || [variant_isset qt5]} { 164 build.args-delete qt=no 165 build.args-append qt=yes 166 test.args-delete qt=no 167 test.args-append qt=yes 168 destroot.args-delete qt=no 169 destroot.args-append qt=yes 170 } 171 70 172 variant libusb \ 71 173 description {Include support for better USB device discovery} { 72 depends_build-append port:pkgconfig 73 depends_lib-append port:libusb 74 build.args-delete usb=no 75 destroot.args-delete usb=no 174 depends_build-append port:pkgconfig 175 depends_lib-append port:libusb 176 build.args-delete usb=no 177 build.args-append usb=yes 178 test.args-delete usb=no 179 test.args-append usb=yes 180 destroot.args-delete usb=no 181 destroot.args-append usb=yes 76 182 } 77 183 78 184 variant dbus description {Include support for DBUS} { 79 185 depends_lib-append port:dbus-glib 80 build.args-append dbus=yes dbus_export=yes 81 destroot.args-append dbus=yes dbus_export=yes 186 build.args-delete dbus_export=no 187 build.args-append dbus_export=yes 188 test.args-delete dbus_export=no 189 test.args-append dbus_export=yes 190 destroot.args-delete dbus_export=no 191 destroot.args-append dbus_export=yes 82 192 } 83 193 194 variant xgps \ 195 description {Include xgps/xgpsspeed X11 clients (dependency-intensive)} { 196 depends_run-append port:py-gobject port:py-pygtk 197 build.args-delete xgps=no 198 build.args-append xgps=yes 199 test.args-delete xgps=no 200 test.args-append xgps=yes 201 destroot.args-delete xgps=no 202 destroot.args-append xgps=yes 203 } 204 84 205 livecheck.type regex 85 206 livecheck.url http://download.savannah.gnu.org/releases-noredirect/gpsd 86 207 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" -
files/leopard-IPV6_TCLASS.patch
1 --- gpsd.c.orig 201 5-03-13 06:41:37.000000000 -05002 +++ gpsd.c 201 5-04-15 05:28:28.000000000 -05003 @@ -1 53,11 +153,13 @@1 --- gpsd.c.orig 2016-01-04 12:22:45.000000000 -0800 2 +++ gpsd.c 2016-01-09 14:12:26.000000000 -0800 3 @@ -149,11 +149,13 @@ 4 4 static int sd_socket_count = 0; 5 5 #endif 6 6 … … 17 17 +# endif 18 18 #endif 19 19 20 #define UNALLOCATED_FD -121 @@ -4 20,10 +422,12 @@20 static volatile sig_atomic_t signalled; 21 @@ -406,10 +408,12 @@ 22 22 (void)close(s); 23 23 return -1; 24 24 } … … 29 29 "Warning: SETSOCKOPT TOS failed\n"); 30 30 +#endif /* IPV6_TCLASS */ 31 31 } 32 #endif /* S_SPLINT_S */33 32 break; 34 --- netlib.c.orig 2014-12-31 17:31:54.000000000 -0800 35 +++ netlib.c 2014-12-31 17:33:00.000000000 -0800 36 @@ -23,6 +23,15 @@ 33 #endif /* IPV6_ENABLE */ 34 --- netlib.c.orig 2015-03-30 13:26:57.000000000 -0700 35 +++ netlib.c 2015-11-20 17:25:53.000000000 -0800 36 @@ -21,6 +21,15 @@ 37 37 #include "gpsd.h" 38 38 #include "sockaddr.h" 39 39 … … 46 46 +# endif 47 47 +#endif 48 48 + 49 /*@-mustfreefresh -usedef@*/50 49 socket_t netlib_connectsock(int af, const char *host, const char *service, 51 50 const char *protocol) 51 { -
files/patch-SConstruct.diff
1 --- SConstruct.orig 2015-03-14 06:24:41.000000000 -0500 2 +++ SConstruct 2015-05-27 01:49:59.000000000 -0500 3 @@ -522,7 +522,7 @@ 4 # here; it's a security risk. At install time we use 5 # chrpath to edit this out of RPATH. 6 env.Prepend(RPATH=[os.path.realpath(os.curdir)]) 7 - else: 8 + elif env.subst('$PLATFORM') != 'darwin': 9 print "chrpath is not available; please build with chrpath=no." 10 11 confdefs = ["/* gpsd_config.h. Generated by scons, do not hand-hack. */\n"] 12 @@ -747,16 +747,19 @@ 13 # ifdef __cplusplus 14 extern "C" { 15 # endif 16 -#ifndef clockid_t 17 +#ifndef CLOCKID_T_DEFINED 1 --- SConstruct.orig 2016-01-08 11:25:48.000000000 -0800 2 +++ SConstruct 2016-01-11 15:48:50.000000000 -0800 3 @@ -162,6 +162,7 @@ 4 ("manbuild", True, "build help in man and HTML formats"), 5 ("leapfetch", True, "fetch up-to-date data on leap seconds."), 6 ("minimal", False, "turn off every option not set on the command line"), 7 + ("xgps", True, "include xgps and xgpsspeed."), 8 # Test control 9 ("slow", False, "run tests with realistic (slow) delays"), 10 ) 11 @@ -186,6 +187,7 @@ 12 ("fixed_stop_bits", 0, "fixed serial port stop bits"), 13 ("target", "", "cross-development target"), 14 ("sysroot", "", "cross-development system root"), 15 + ("qt_versioned", "", "version for versioned Qt"), 16 ) 17 for (name, default, help) in nonboolopts: 18 opts.Add(name, help, default) 19 @@ -744,13 +746,15 @@ 18 20 typedef int clockid_t; 19 +#define CLOCKID_T_DEFINED21 #define CLOCKID_T_DEFINED 20 22 # endif 21 23 -/* OS X uses _STRUCT_TIMESPEC, but no clock_gettime */ 22 24 -#ifndef _STRUCT_TIMESPEC … … 32 34 #define CLOCK_REALTIME 0 33 35 int clock_gettime(clockid_t, struct timespec *); 34 36 # ifdef __cplusplus 35 @@ -922,6 +925,7 @@ 36 ilib_suffix = '.' + version + shlib_suffix 37 shlink_flags += [ '-current_version', '%s' % version, 38 '-compatibility_version', '%s' % version, 39 + '-install_name', '%s/%s/lib%s.%s.dylib' % (env['prefix'], env['libdir'], libname, '%s' % version), 40 '-undefined', 'dynamic_lookup' ] 37 @@ -785,7 +789,8 @@ 38 src_suffix=".xml", suffix=".html") 41 39 42 ilib = env.SharedLibrary(libname,lib_objs, 43 @@ -1148,17 +1152,8 @@ 44 basecflags += ' -coverage' 45 ldflags += ' -coverage' 46 ldshared += ' -coverage' 47 - # in case CC/CXX was set to the scan-build wrapper, 48 - # ensure that we build the python modules with scan-build, too 49 - if env['CC'] is None or env['CC'].find('scan-build') < 0: 50 - python_env['CC'] = cc 51 - else: 52 - python_env['CC'] = ' '.join([env['CC']] + cc.split()[1:]) 53 - if env['CXX'] is None or env['CXX'].find('scan-build') < 0: 54 - python_env['CXX'] = cxx 55 - else: 56 - python_env['CXX'] = ' '.join([env['CXX']] + cxx.split()[1:]) 40 # Determine if Qt network libraries are present, and if not, force qt to off 41 - qt_network = config.CheckPKG('QtNetwork') 42 + qt_net_name = 'Qt%sNetwork' % env["qt_versioned"] 43 + qt_network = config.CheckPKG(qt_net_name) 44 if not qt_network: 45 env["qt"] = False 57 46 47 @@ -813,9 +818,10 @@ 48 qt_env.MergeFlags('-DUSE_QT') 49 qt_env.Append(OBJPREFIX='qt-') 50 try: 51 - qt_env.MergeFlags(pkg_config('QtNetwork')) 52 + qt_env.MergeFlags(pkg_config(qt_net_name)) 53 except OSError: 54 - announce("pkg_config is confused about the state of QtNetwork.") 55 + announce("pkg_config is confused about the state of %s." 56 + % qt_net_name) 57 qt_env = None 58 else: 59 qt_env = None 60 @@ -985,37 +991,37 @@ 61 ## Production programs 62 63 gpsd = env.Program('gpsd', gpsd_sources, 64 - LIBS=['gpsd', 'gps_static'], LIBPATH='.', 65 + LIBS=['gpsd', 'gps_static'], 66 parse_flags=gpsdflags+gpsflags) 67 gpsdecode = env.Program('gpsdecode', ['gpsdecode.c'], 68 - LIBS=['gpsd', 'gps_static'], LIBPATH='.', 69 + LIBS=['gpsd', 'gps_static'], 70 parse_flags=gpsdflags+gpsflags) 71 gpsctl = env.Program('gpsctl', ['gpsctl.c'], 72 - LIBS=['gpsd', 'gps_static'], LIBPATH='.', 73 + LIBS=['gpsd', 'gps_static'], 74 parse_flags=gpsdflags+gpsflags) 75 gpsmon = env.Program('gpsmon', gpsmon_sources, 76 - LIBS=['gpsd', 'gps_static'], LIBPATH='.', 77 + LIBS=['gpsd', 'gps_static'], 78 parse_flags=gpsdflags + gpsflags + ncurseslibs) 79 gpsdctl = env.Program('gpsdctl', ['gpsdctl.c'], 80 - LIBS=['gps_static'], LIBPATH='.', 81 + LIBS=['gps_static'], 82 parse_flags=gpsflags) 83 gpspipe = env.Program('gpspipe', ['gpspipe.c'], 84 - LIBS=['gps_static'], LIBPATH='.', 85 + LIBS=['gps_static'], 86 parse_flags=gpsflags) 87 gps2udp = env.Program('gps2udp', ['gps2udp.c'], 88 - LIBS=['gps_static'], LIBPATH='.', 89 + LIBS=['gps_static'], 90 parse_flags=gpsflags) 91 gpxlogger = env.Program('gpxlogger', ['gpxlogger.c'], 92 - LIBS=['gps_static'], LIBPATH='.', 93 + LIBS=['gps_static'], 94 parse_flags=gpsflags) 95 lcdgps = env.Program('lcdgps', ['lcdgps.c'], 96 - LIBS=['gps_static'], LIBPATH='.', 97 + LIBS=['gps_static'], 98 parse_flags=gpsflags) 99 cgps = env.Program('cgps', ['cgps.c'], 100 - LIBS=['gps_static'], LIBPATH='.', 101 + LIBS=['gps_static'], 102 parse_flags=gpsflags + ncurseslibs) 103 ntpshmmon = env.Program('ntpshmmon', ['ntpshmmon.c'], 104 - LIBS=['gps_static'], LIBPATH='.', 105 + LIBS=['gps_static'], 106 parse_flags=gpsflags) 107 108 binaries = [gpsd, gpsdecode, gpsctl, gpsdctl, gpspipe, gps2udp, gpxlogger, lcdgps, ntpshmmon] 109 @@ -1023,27 +1029,27 @@ 110 binaries += [cgps, gpsmon] 111 112 # Test programs - always link locally and statically 113 -test_bits = env.Program('test_bits', ['test_bits.c'], 114 - LIBS=['gps_static'], LIBPATH='.') 115 +test_bits = env.Program('test_bits', ['test_bits.c'], LIBS=['gps_static']) 116 test_float = env.Program('test_float', ['test_float.c']) 117 test_geoid = env.Program('test_geoid', ['test_geoid.c'], 118 LIBS=['gpsd', 'gps_static'], 119 - LIBPATH='.', parse_flags=gpsdflags) 120 + parse_flags=gpsdflags) 121 test_matrix = env.Program('test_matrix', ['test_matrix.c'], 122 LIBS=['gpsd', 'gps_static'], 123 - LIBPATH='.', parse_flags=gpsdflags) 124 + parse_flags=gpsdflags) 125 test_mktime = env.Program('test_mktime', ['test_mktime.c'], 126 - LIBS=['gps_static'], LIBPATH='.', parse_flags=["-lm"]) 127 + LIBS=['gps_static'], parse_flags=["-lm"]) 128 test_packet = env.Program('test_packet', ['test_packet.c'], 129 LIBS=['gpsd', 'gps_static'], 130 - LIBPATH='.', parse_flags=gpsdflags) 131 + parse_flags=gpsdflags) 132 test_timespec = env.Program('test_timespec', ['test_timespec.c'], 133 LIBS=['gpsd', 'gps_static'], 134 - LIBPATH='.', parse_flags=gpsdflags) 135 + parse_flags=gpsdflags) 136 test_trig = env.Program('test_trig', ['test_trig.c'], parse_flags=["-lm"]) 137 # test_libgps for glibc older than 2.17 138 test_libgps = env.Program('test_libgps', ['test_libgps.c'], 139 - LIBS=['gps_static'], LIBPATH='.', parse_flags=["-lm"] + rtlibs + dbusflags) 140 + LIBS=['gps_static'], 141 + parse_flags=["-lm"] + rtlibs + dbusflags) 142 143 if not env['socket_export']: 144 announce("test_json not building because socket_export is disabled") 145 @@ -1051,11 +1057,11 @@ 146 else: 147 test_json = env.Program( 148 'test_json', ['test_json.c'], 149 - LIBS=['gps_static'], LIBPATH='.', 150 + LIBS=['gps_static'], 151 parse_flags=["-lm"] + rtlibs + usbflags + dbusflags) 152 153 test_gpsmm = env.Program('test_gpsmm', ['test_gpsmm.cpp'], 154 - LIBS=['gps_static'], LIBPATH='.', parse_flags=["-lm"]) 155 + LIBS=['gps_static'], parse_flags=["-lm"]) 156 testprogs = [test_bits, test_float, test_geoid, test_libgps, test_matrix, test_mktime, test_packet, test_timespec, test_trig] 157 if env['socket_export']: 158 testprogs.append(test_json) 159 @@ -1068,7 +1074,9 @@ 160 python_targets = [] 161 python_progs = [] 162 else: 163 - python_progs = ["gpscat", "gpsfake", "gpsprof", "xgps", "xgpsspeed", "gegps"] 164 + python_progs = ["gpscat", "gpsfake", "gpsprof", "gegps"] 165 + if env['xgps']: 166 + python_progs.extend(["xgps", "xgpsspeed"]) 167 python_modules = Glob('gps/*.py') 168 169 # Build Python binding 170 @@ -1114,6 +1122,7 @@ 171 else: 172 python_env['CXX'] = ' '.join([env['CXX']] + cxx.split()[1:]) 173 58 174 + ldshared=ldshared.replace(cc, env['CC']) 59 175 ldshared=ldshared.replace('-fPIE', '') 60 176 ldshared=ldshared.replace('-pie', '') 61 177 python_env.Replace(SHLINKFLAGS=[], 62 @@ -1397,7 +1392,7 @@ 63 if qt_env: 64 binaryinstall.append(LibraryInstall(qt_env, installdir('libdir'), compiled_qgpsmmlib)) 178 @@ -1307,10 +1316,13 @@ 179 "gpsprof.1" : "gpsprof.xml", 180 "gpsfake.1" : "gpsfake.xml", 181 "gpscat.1" : "gpscat.xml", 182 - "xgpsspeed.1" : "gps.xml", 183 - "xgps.1" : "gps.xml", 184 "gegps.1" : "gps.xml", 185 } 186 +if env['xgps']: 187 + python_manpages.update({ 188 + "xgpsspeed.1" : "gps.xml", 189 + "xgps.1" : "gps.xml", 190 + }) 65 191 66 -if env["shared"] and env["chrpath"]: 67 +if env["shared"] and env.subst('$PLATFORM') != 'darwin': 68 env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ 69 % (installdir('libdir', False), )) 70 192 manpage_targets = [] 193 if manbuilder: -
files/patch-driver_rtcm2.c.diff
1 --- driver_rtcm2.c.orig 2015-03- 02 04:40:06.000000000 -06002 +++ driver_rtcm2.c 201 5-04-30 04:45:19.000000000 -05003 @@ -88, 19 +88,6@@1 --- driver_rtcm2.c.orig 2015-03-30 13:13:39.000000000 -0700 2 +++ driver_rtcm2.c 2016-01-13 16:30:51.000000000 -0800 3 @@ -88,20 +88,8 @@ 4 4 #endif 5 5 6 6 /* … … 18 18 - 19 19 -/* 20 20 * Darwin (Mac OS X) uses special defines. 21 + * This must precede the BSD case, since _BIG_ENDIAN may be incorrectly defined 21 22 */ 22 23 #if !defined( __BYTE_ORDER) && defined(__DARWIN_BYTE_ORDER) 23 @@ -113,6 +100,19 @@ 24 #define __BYTE_ORDER __DARWIN_BYTE_ORDER 25 @@ -113,6 +101,19 @@ 24 26 #define __LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN 25 27 #endif 26 28 -
files/patch-libgps.pc.in.diff
1 --- libgps.pc.in.orig 2015-01-25 06:09:01.000000000 -06002 +++ libgps.pc.in 2015-04-15 05:31:55.000000000 -05003 @@ -1,6 +1,6 @@4 prefix=@prefix@5 exec_prefix=${prefix}6 -libdir=@libdir@7 +libdir=${exec_prefix}/@libdir@8 includedir=${prefix}/include9 10 Name: GPSD -
files/patch-libgpsd.pc.in.diff
1 --- libgpsd.pc.in.orig 2015-01-23 12:48:09.000000000 -06002 +++ libgpsd.pc.in 2015-04-15 05:32:19.000000000 -05003 @@ -1,6 +1,6 @@4 prefix=@prefix@5 exec_prefix=${prefix}6 -libdir=${exec_prefix}@libdir@7 +libdir=${exec_prefix}/@libdir@8 includedir=${prefix}/include9 10 Name: libgpsd