From 13ef97f5802842ff7e533ec6d14f4ead1c051c72 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 9 Sep 2005 03:14:28 +0000 Subject: QTE by Allan Clark Bug 391 --- .../qte/qtopia-2.1.1-no-programinvocation.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/qte/qtopia-2.1.1-no-programinvocation.patch (limited to 'package/qte/qtopia-2.1.1-no-programinvocation.patch') diff --git a/package/qte/qtopia-2.1.1-no-programinvocation.patch b/package/qte/qtopia-2.1.1-no-programinvocation.patch new file mode 100644 index 000000000..ec3cccd76 --- /dev/null +++ b/package/qte/qtopia-2.1.1-no-programinvocation.patch @@ -0,0 +1,24 @@ +Qtopia includes a hard-coded config.h file that must have been built by ./configure at some point in its life. +Nevertheless, this file now conflicts with what uClibc provides, so we need to patch it for some more sane +Operation. This change is required for rsync, the only thing I found using program_invocation_short_name + +diff -cr qtopia-phone-2.1.1/src/3rdparty/libraries/rsync/config_linux.h qtopia-phone-2.1.1-orig/src/3rdparty/libraries/rsync/config_linux.h +*** qtopia-phone-2.1.1/src/3rdparty/libraries/rsync/config_linux.h 2005-08-18 23:23:00.000000000 +0800 +--- qtopia-phone-2.1.1/src/3rdparty/libraries/rsync/config_linux.h 2005-08-18 23:05:17.000000000 +0800 +*************** +*** 23,29 **** + #define _GNU_SOURCE 1 + + /* GNU extension of saving argv[0] to program_invocation_short_name */ +! #define HAVE_PROGRAM_INVOCATION_NAME 1 + + /* Define to a replacement type if intmax_t is not a builtin, or in + sys/types.h or stdlib.h or stddef.h */ +--- 23,29 ---- + #define _GNU_SOURCE 1 + + /* GNU extension of saving argv[0] to program_invocation_short_name */ +! /* #undef HAVE_PROGRAM_INVOCATION_NAME */ + + /* Define to a replacement type if intmax_t is not a builtin, or in + sys/types.h or stdlib.h or stddef.h */ -- cgit v1.2.3