summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin McCarthy <signals@gentoo.org>2011-03-21 17:04:44 +0000
committerKevin McCarthy <signals@gentoo.org>2011-03-21 17:04:44 +0000
commit74d2cec97c5020a6c1d9a90258fac410b78cb494 (patch)
treefb9729d404fd6db09e8e73cff2dc7e4b7db81cdb /net-im/ekg/files
parentppc/ppc64 stable wrt #352532 (diff)
downloadgentoo-2-74d2cec97c5020a6c1d9a90258fac410b78cb494.tar.gz
gentoo-2-74d2cec97c5020a6c1d9a90258fac410b78cb494.tar.bz2
gentoo-2-74d2cec97c5020a6c1d9a90258fac410b78cb494.zip
Respect LDFLAGS #333797. Drop invalid threads use flag. Remove unrecognized configure flags. Use libgif instead of libungif. Add missing prototypes.
(Portage version: 2.2.0_alpha27/cvs/Linux x86_64)
Diffstat (limited to 'net-im/ekg/files')
-rw-r--r--net-im/ekg/files/ekg-1.8_rc1-libgif.patch49
-rw-r--r--net-im/ekg/files/ekg-1.8_rc1-missing-prototypes.patch14
2 files changed, 63 insertions, 0 deletions
diff --git a/net-im/ekg/files/ekg-1.8_rc1-libgif.patch b/net-im/ekg/files/ekg-1.8_rc1-libgif.patch
new file mode 100644
index 000000000000..19ad65b9b0ee
--- /dev/null
+++ b/net-im/ekg/files/ekg-1.8_rc1-libgif.patch
@@ -0,0 +1,49 @@
+Use libgif instead of libungif
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- configure.in
++++ configure.in
+@@ -286,20 +286,20 @@
+ fi
+
+ dnl
+-dnl Sprawdzamy libungif.so i <gif_lib.h>
++dnl Sprawdzamy libgif.so i <gif_lib.h>
+ dnl
+
+-AC_ARG_WITH(libungif,
+- [ --without-libungif Compile without GIF token support])
++AC_ARG_WITH(libgif,
++ [ --without-libgif Compile without GIF token support])
+
+-if test "x$with_libungif" != "xno"; then
+- AC_CHECK_LIB(ungif, DGifSlurp,
++if test "x$with_libgif" != "xno"; then
++ AC_CHECK_LIB(gif, DGifSlurp,
+ [
+ AC_CHECK_HEADERS(gif_lib.h,
+ [
+- AC_DEFINE(HAVE_LIBUNGIF, 1, [define if you have libungif])
+- LIBS="$LIBS -lungif"
+- have_libungif=yes
++ AC_DEFINE(HAVE_LIBUNGIF, 1, [define if you have libgif])
++ LIBS="$LIBS -lgif"
++ have_libgif=yes
+ ])
+ ])
+ fi
+@@ -478,10 +478,10 @@
+ echo " - zlib: disabled"
+ fi
+
+-if test "x$have_libungif" = "xyes"; then
+- echo " - libungif: enabled"
++if test "x$have_libgif" = "xyes"; then
++ echo " - libgif: enabled"
+ else
+- echo " - libungif: disabled"
++ echo " - libgif: disabled"
+ fi
+
+ if test "x$have_libjpeg" = "xyes"; then
diff --git a/net-im/ekg/files/ekg-1.8_rc1-missing-prototypes.patch b/net-im/ekg/files/ekg-1.8_rc1-missing-prototypes.patch
new file mode 100644
index 000000000000..796a61c653c5
--- /dev/null
+++ b/net-im/ekg/files/ekg-1.8_rc1-missing-prototypes.patch
@@ -0,0 +1,14 @@
+Add missing prototypes so compile doesn't complain.
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- src/ui-gtk.h
++++ src/ui-gtk.h
+@@ -131,4 +131,7 @@
+
+ int key_handle_key_press(GtkWidget *wid, GdkEventKey *evt, window_t *sess);
+
++void mg_changui_new(window_t *sess, int tab, int focus);
++void fe_close_window(window_t *sess);
++
+ #endif