| 1 |
Authorscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/patches/`cross.patch`#Author.: Helmut Grohne <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Last-Updatescip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/patches/`cross.patch`#Last-Update.: 2021-01-28 |
| 3 |
Bug-Debianscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/patches/`cross.patch`#Bug-Debian.: https://bugs.debian.org/981264scip-debian-bts debian-bts . . 981264: |
| 4 |
Forwardedscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/patches/`cross.patch`#Forwarded.: https://github.com/rosorio/buici-clock/pull/1 |
| 5 |
Descriptionscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/patches/`cross.patch`#Description.: Enable cross building |
| 6 |
|
| 7 |
--- buici-clock-0.4.9.4+nmu2.orig/configure.inscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/upstream/`buici-clock-0.4.9.4+nmu2.orig/configure.in`: |
| 8 |
+++ buici-clock-0.4.9.4+nmu2/configure.inscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/upstream/`buici-clock-0.4.9.4+nmu2/configure.in`: |
| 9 |
@@ -57,6 +57,7 @@ |
| 10 |
dnl AC_FUNC_VPRINTF dnl -- We use vsprintf |
| 11 |
dnl AC_CHECK_FUNCS(mktime stime strftime) dnl -- Include in the source |
| 12 |
|
| 13 |
+PKG_CHECK_MODULES([CAIRO],[cairo]) |
| 14 |
|
| 15 |
AC_SUBST(XO_PATH) |
| 16 |
AC_SUBST(CFLAGS_W) |
| 17 |
@@ -72,7 +73,7 @@ |
| 18 |
dnl -- Configure XO, too, if it is local |
| 19 |
if test ! "${XO_PATH}" = "../xo" ; then |
| 20 |
if test ! -e ${XO_PATH}/config.cache ; then cp config.cache ${XO_PATH} ; fi |
| 21 |
|
| 22 |
+ (cd ${XO_PATH} ; ./configure --build=$build_alias --host=$host_alias ) |
| 23 |
fi |
| 24 |
|
| 25 |
dnl -- Check for missing RESOURCE_MANAGER string |
| 26 |
--- buici-clock-0.4.9.4+nmu2.orig/Makefile.inscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/upstream/`buici-clock-0.4.9.4+nmu2.orig/Makefile.in`: |
| 27 |
+++ buici-clock-0.4.9.4+nmu2/Makefile.inscip-debian debian buici-clock 0.4.9.4.2021+git20210423.e6fed84+ds-3 buici-clock/upstream/`buici-clock-0.4.9.4+nmu2/Makefile.in`: |
| 28 |
@@ -57,7 +57,7 @@ |
| 29 |
|
| 30 |
XO_PATH=@XO_PATH@ |
| 31 |
CC=@CXX@ |
| 32 |
|
| 33 |
+CFLAGS_I=-I${XO_PATH} @CAIRO_CFLAGS@ |
| 34 |
CXXFLAGS=@CXXFLAGS@ |
| 35 |
#CXXFLAGS=$(CXXFLAGS) -O |
| 36 |
#CXXFLAGS=$(CXXFLAGS) -O2 |
| 37 |
@@ -65,7 +65,7 @@ |
| 38 |
#CXXFLAGS=$(CXXFLAGS) -pg |
| 39 |
|
| 40 |
CXXFLAGS_=-g $(CFLAGS_I)@CFLAGS_W@@X_CFLAGS@ |
| 41 |
|
| 42 |
+LFLAGS=-g @LDFLAGS@@X_LIBS@ -L${XO_PATH} @LIBS@ -lxo -lX11 -lXext@X_EXTRA_LIBS@ @CAIRO_LIBS@ |
| 43 |
#LFLAGS=-pg ${LFLAGS} |
| 44 |
DEPEND=depend.m |
| 45 |
ECHO=@/bin/echo |
| 46 |
|