summaryrefslogtreecommitdiff
path: root/x11-misc/xdialog/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xdialog/files
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xdialog/files')
-rw-r--r--x11-misc/xdialog/files/xdialog-2.3.1-install.patch13
-rw-r--r--x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch48
2 files changed, 61 insertions, 0 deletions
diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-install.patch b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch
new file mode 100644
index 000000000000..f5a02b099d92
--- /dev/null
+++ b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/327353
+
+--- doc/Makefile.am
++++ doc/Makefile.am
+@@ -6,7 +6,7 @@
+
+ CLEANFILES = index.html compatibility.html changelog.html license.html Xdialog.1
+
+-doc_DATA = index.html compatibility.html changelog.html license.html $(srcdir)/*.html $(srcdir)/*.png
++doc_DATA = $(srcdir)/*.html $(srcdir)/*.png
+
+ man_MANS = Xdialog.1
+
diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch
new file mode 100644
index 000000000000..a507f3f0cfbb
--- /dev/null
+++ b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch
@@ -0,0 +1,48 @@
+diff -Nru Xdialog-2.3.1.vanilla/configure.in Xdialog-2.3.1/configure.in
+--- Xdialog-2.3.1.vanilla/configure.in 2009-02-11 09:54:10.000000000 +0000
++++ Xdialog-2.3.1/configure.in 2009-02-11 09:59:28.000000000 +0000
+@@ -36,13 +36,8 @@
+ CPPFLAGS="$CPPFLAGS -DUSE_GTK2"
+ AC_MSG_RESULT(Compiling for GTK2)
+ ])
+-if test "$compile_for" = "gtk2" ; then
+- AM_PATH_GTK_2_0(2.2.0, ,
+- AC_MSG_ERROR(Cannot find GTK2.))
+-else
+- AM_PATH_GTK(1.2.0, ,
+- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
+-fi
++AM_PATH_GTK_2_0(2.2.0, ,
++ AC_MSG_ERROR(Cannot find GTK2.))
+
+ dnl Set PACKAGE_DATA_DIR in config.h.
+ if test "x${datadir}" = 'x${prefix}/share'; then
+@@ -59,28 +54,6 @@
+ packagesrcdir=`cd $srcdir && pwd`
+ AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [ ])
+
+-dnl Use -Wall if we have gcc.
+-if test "x$GCC" = "xyes"; then
+- case " $CFLAGS " in
+- *[[\ \ ]-Wall[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -Wall" ;;
+- esac
+- case " $CFLAGS " in
+- *[[\ \ ]-s[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -s" ;;
+- esac
+- case `gcc --version` in
+- 2.95*|2.96*|2.97*)
+- case " $CFLAGS " in
+- *[[\ \ ]-fno-omit-frame-pointer[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -fno-omit-frame-pointer" ;;
+- esac
+- AC_MSG_RESULT(Buggy GCC version: compiling with -fno-omit-frame-pointer)
+- ;;
+- *) ;;
+- esac
+-fi
+-
+ AC_ARG_WITH(french-labels,
+ [ --with-french-labels Enables french labels in menus],[
+ CPPFLAGS="$CPPFLAGS -DFRENCH"