summaryrefslogtreecommitdiff
path: root/debian/patches/cross.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/cross.patch')
-rw-r--r--debian/patches/cross.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
index a75c23f..febe34e 100644
--- a/debian/patches/cross.patch
+++ b/debian/patches/cross.patch
@@ -6,10 +6,10 @@ gdigi fails to cross build from source, because the upstream Makefile
hard codes the build architecture pkg-config. Making it substitutable is
sufficient to making gdigi cross buildable.
---- gdigi-0.4.0.orig/Makefile
-+++ gdigi-0.4.0/Makefile
+--- a/Makefile
++++ b/Makefile
@@ -1,9 +1,10 @@
- CC = gcc
+ CC ?= gcc
+PKG_CONFIG ?= pkg-config
EXTRA_CFLAGS ?=
EXTRA_LDFLAGS ?=