summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-06 15:28:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-06 15:28:59 +0000
commitc59b0270acfe345bf398761771d58a964e2772e0 (patch)
treef98564b6cb24aadeb0c7fc05d5f50db25995100d /media-libs/libirman/files/libirman-0.4.2-format.patch
parentDrop virtual/libc dependency. (diff)
downloadgentoo-2-c59b0270acfe345bf398761771d58a964e2772e0.tar.gz
gentoo-2-c59b0270acfe345bf398761771d58a964e2772e0.tar.bz2
gentoo-2-c59b0270acfe345bf398761771d58a964e2772e0.zip
Drop virtual/libc dependency, add patch to build with gcc4 and avoid problems with printf() calls, use the right compiler and linker.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-libs/libirman/files/libirman-0.4.2-format.patch')
-rw-r--r--media-libs/libirman/files/libirman-0.4.2-format.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/libirman/files/libirman-0.4.2-format.patch b/media-libs/libirman/files/libirman-0.4.2-format.patch
new file mode 100644
index 000000000000..ee1c4f5cfe74
--- /dev/null
+++ b/media-libs/libirman/files/libirman-0.4.2-format.patch
@@ -0,0 +1,13 @@
+Index: libirman-0.4.2/workmanir.c
+===================================================================
+--- libirman-0.4.2.orig/workmanir.c
++++ libirman-0.4.2/workmanir.c
+@@ -148,7 +148,7 @@ int main(int argc, char **argv)
+
+ errno = 0;
+ if (ir_init(filename) < 0) {
+- fprintf(stderr, "%s: error initialising Irman: `%s'\n", ir_strerror(errno));
++ fprintf(stderr, "%s: error initialising Irman: `%s'\n", progname, ir_strerror(errno));
+ exit(1);
+ }
+