c6ce65d3d0
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
22 lines
754 B
Diff
22 lines
754 B
Diff
Add objective c++ program and check for gtk2
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -39,6 +39,7 @@ AC_PROG_CC
|
|
AC_PROG_CXX
|
|
AC_PROG_F77
|
|
AC_PROG_CPP
|
|
+AC_PROG_OBJCXX
|
|
AC_PROG_MAKE_SET
|
|
SAH_LINKS
|
|
AC_LANG_PUSH(C)
|
|
@@ -744,6 +745,8 @@ AM_CONDITIONAL(ENABLE_LIBRARIES, [test "
|
|
AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes])
|
|
AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so])
|
|
|
|
+PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
|
|
+
|
|
dnl ======================================================================
|
|
dnl some more vodoo required for building portable client-binary (client, clientgui)
|
|
dnl ======================================================================
|
|
|