Merge branch 'master' of git://repo.or.cz/buildroot
[buildroot.git] / package / qte / qtopia-2.1.1-no-programinvocation.patch
blobec3cccd767cde7642930549fafefa0c8332578d6
1 Qtopia includes a hard-coded config.h file that must have been built by ./configure at some point in its life.
2 Nevertheless, this file now conflicts with what uClibc provides, so we need to patch it for some more sane
3 Operation. This change is required for rsync, the only thing I found using program_invocation_short_name
5 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
6 *** qtopia-phone-2.1.1/src/3rdparty/libraries/rsync/config_linux.h 2005-08-18 23:23:00.000000000 +0800
7 --- qtopia-phone-2.1.1/src/3rdparty/libraries/rsync/config_linux.h 2005-08-18 23:05:17.000000000 +0800
8 ***************
9 *** 23,29 ****
10 #define _GNU_SOURCE 1
12 /* GNU extension of saving argv[0] to program_invocation_short_name */
13 ! #define HAVE_PROGRAM_INVOCATION_NAME 1
15 /* Define to a replacement type if intmax_t is not a builtin, or in
16 sys/types.h or stdlib.h or stddef.h */
17 --- 23,29 ----
18 #define _GNU_SOURCE 1
20 /* GNU extension of saving argv[0] to program_invocation_short_name */
21 ! /* #undef HAVE_PROGRAM_INVOCATION_NAME */
23 /* Define to a replacement type if intmax_t is not a builtin, or in
24 sys/types.h or stdlib.h or stddef.h */