summaryrefslogtreecommitdiff
path: root/package/qte/qtopia-2.1.1-no-programinvocation.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-09 03:14:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-09 03:14:28 +0000
commit13ef97f5802842ff7e533ec6d14f4ead1c051c72 (patch)
treee46e526ffd4e1167857eb90f5b3ad9e1616d58b4 /package/qte/qtopia-2.1.1-no-programinvocation.patch
parent5bc1f0c323a5795378a0b2fb7eef96df07cd24fd (diff)
QTE by Allan Clark Bug 391
Diffstat (limited to 'package/qte/qtopia-2.1.1-no-programinvocation.patch')
-rw-r--r--package/qte/qtopia-2.1.1-no-programinvocation.patch24
1 files changed, 24 insertions, 0 deletions
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 */