summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenilson (CrazyTB) <denilsonsa@gmail.com>2010-04-25 18:48:24 +0000
committerDenilson (CrazyTB) <denilsonsa@gmail.com>2010-04-25 18:48:24 +0000
commit2678a0ed8f013bb8d2cf1b841ebdc5f2040c73d8 (patch)
tree161c3e5a23f200e88f32f5e47616aff8ff9d4156 /x11-libs/pdcurses/files
parentin gentoo-x86 (diff)
downloadsunrise-2678a0ed8f013bb8d2cf1b841ebdc5f2040c73d8.tar.gz
sunrise-2678a0ed8f013bb8d2cf1b841ebdc5f2040c73d8.tar.bz2
sunrise-2678a0ed8f013bb8d2cf1b841ebdc5f2040c73d8.zip
x11-libs/pdcurses: Version bump to 3.4, bug 94414, thanks to binki, chithead, Xarthisius and xmw
svn path=/sunrise/; revision=10486
Diffstat (limited to 'x11-libs/pdcurses/files')
-rw-r--r--x11-libs/pdcurses/files/pdcurses-2.8-configure.patch54
-rw-r--r--x11-libs/pdcurses/files/pdcurses-3.4-configure.patch50
2 files changed, 50 insertions, 54 deletions
diff --git a/x11-libs/pdcurses/files/pdcurses-2.8-configure.patch b/x11-libs/pdcurses/files/pdcurses-2.8-configure.patch
deleted file mode 100644
index 2e050efbc..000000000
--- a/x11-libs/pdcurses/files/pdcurses-2.8-configure.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- configure.ac.orig 2006-08-12 10:48:37.000000000 +0200
-+++ configure.ac 2006-08-12 10:49:05.000000000 +0200
-@@ -6,8 +6,7 @@
-
- dnl ---------------------- check for C compiler -----------------
- dnl Checks for one of the C compilers below - change if yours not there.
--CC_LIST="gcc acc cc c89"
--MH_PROG_CC
-+AC_PROG_CC
- AC_ISC_POSIX
-
- AC_CONFIG_HEADER(config.h)
-@@ -131,7 +130,7 @@
- if test "$with_debug" = yes; then
- CFLAGS="${CFLAGS} -Wall"
- else
-- CFLAGS="-O2 -Wall -fomit-frame-pointer"
-+ CFLAGS="${CFLAGS}"
- fi
- fi
- if test "$on_qnx" = yes; then
-@@ -150,7 +149,7 @@
- [with_latin1=no],
- )
- if test "$with_latin1" = yes; then
-- AC_DEFINE(INCLUDE_LATIN1)
-+ AC_DEFINE([INCLUDE_LATIN1], [1], [Define if --with-latin1 is set])
- fi
-
- dnl ----------------- check for Purify support -----------------------
-@@ -175,7 +174,7 @@
- [with_xaw3d=no],
- )
- if test "$with_xaw3d" = yes; then
-- AC_DEFINE(USE_XAW3D)
-+ AC_DEFINE([USE_XAW3D], [1], [Use Xaw3d])
- fi
-
- dnl ---------------------- check for neXtaw library -------------------
-@@ -186,7 +185,7 @@
- [with_nextaw=no],
- )
- if test "$with_nextaw" = yes; then
-- AC_DEFINE(USE_NEXTAW)
-+ AC_DEFINE([USE_NEXTAW], [1], [Use neXtaw])
- fi
-
- dnl --------------- Check how to make shared libraries -------------------
-@@ -204,3 +203,5 @@
- *)
- ;;
- esac
-+
-+AC_DEFINE([PDC_MAX_SIGNALS], [], [PDC_MAX_SIGNALS])
diff --git a/x11-libs/pdcurses/files/pdcurses-3.4-configure.patch b/x11-libs/pdcurses/files/pdcurses-3.4-configure.patch
new file mode 100644
index 000000000..6989c2060
--- /dev/null
+++ b/x11-libs/pdcurses/files/pdcurses-3.4-configure.patch
@@ -0,0 +1,50 @@
+--- configure.ac.orig 2010-04-25 14:18:36.000000000 -0300
++++ configure.ac 2010-04-25 14:20:46.000000000 -0300
+@@ -83,45 +83,8 @@
+ if test $ac_cv_header_xpm_h = yes; then
+ MH_XLIBS="$MH_XLIBS -lXpm"
+ fi
+-dnl ---------- allow --enable-debug to compile in debug mode ---------
+-AC_ARG_ENABLE(debug,
+- [ --enable-debug turn on debugging],
+- [with_debug=$enableval],
+- [with_debug=no],
+-)
+-cflags_g="`echo $CFLAGS | grep -c '\-g'`"
+-cflags_O="`echo $CFLAGS | grep -c '\-O'`"
+-
+-if test "$with_debug" = yes; then
+- if test "$cflags_g" = "0"; then
+- CFLAGS="${CFLAGS} -g"
+- fi
+- if test "$cflags_O" != "0"; then
+- CFLAGS="`echo ${CFLAGS} | sed -e s/-O.//`"
+- fi
+- CFLAGS="${CFLAGS} -DPDCDEBUG"
+-else
+- if test "$cflags_O" = "0"; then
+- CFLAGS="${CFLAGS} -O"
+- fi
+- if test "$cflags_g" != "0"; then
+- CFLAGS="`echo ${CFLAGS} | sed -e s/-g//`"
+- fi
+-fi
+-if test "$ac_cv_prog_CC" = "gcc"; then
+- if test "$with_debug" = yes; then
+- CFLAGS="${CFLAGS} -Wall"
+- else
+- CFLAGS="-O2 -Wall -fomit-frame-pointer"
+- fi
+-fi
+-if test "$on_qnx" = yes; then
+- if test "$with_debug" = yes; then
+- CFLAGS="-g"
+- else
+- CFLAGS="-Otax"
+- fi
+-fi
++
++CFLAGS="${CFLAGS} -Wall"
+
+ dnl --------------- check for wide character support -----------------
+ dnl allow --enable-widec to include wide character support