Skip to content

Instantly share code, notes, and snippets.

@Saijin-Naib
Created October 21, 2021 19:50
Show Gist options
  • Select an option

  • Save Saijin-Naib/32aa3e711cd903402d956eccc7cd8e8f to your computer and use it in GitHub Desktop.

Select an option

Save Saijin-Naib/32aa3e711cd903402d956eccc7cd8e8f to your computer and use it in GitHub Desktop.

Revisions

  1. Saijin-Naib created this gist Oct 21, 2021.
    29 changes: 29 additions & 0 deletions 10-patch.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    --- a/Makefile
    +++ b/Makefile
    @@ -2,12 +2,12 @@

    PACKAGE_VERSION = 2.0

    -CC = gcc
    -CXX = g++
    +CC = $CC
    +CXX = $CXX
    EXEEXT =
    PKG_CONFIG=pkg-config
    -CFLAGS = -Wall -O2
    -LDFLAGS = -Wall -O2 -lm
    +CFLAGS = $CFLAGS
    +LDFLAGS = $LDFLAGS
    GTK = 3

    COBJS = main-command.o unixtime.o gpx-read.o correlate.o exif-gps.o latlong.o
    @@ -26,7 +26,7 @@
    # Put --nonet here to avoid downloading DTDs while building documentation
    XSLTFLAGS =

    -prefix = /usr/local
    +prefix = /usr
    bindir = $(prefix)/bin
    datadir = $(prefix)/share
    mandir = $(datadir)/man