~ubuntu-branches/ubuntu/oneiric/kdelibs/oneiric

« back to all changes in this revision

Viewing changes to kdecore/kpty.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-10-15 19:20:42 UTC
  • mfrom: (1.1.19 sid)
  • Revision ID: james.westby@ubuntu.com-20101015192042-jv1fhj33n4f5b398
Tags: 4:3.5.10.dfsg.1-5ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - make sure control and control.in are in sync
  - --with-distribution="Kubuntu (`lsb_release --codename --short`)
    $(DEB_VERSION)"
  - binary-install/kdelibs-data installs aboutkde-kubuntu.png.uu and
    cr*-device-system.png.uu
  - don't build-dep on libgamin-dev, libfam-dev
  - stop kdelibs4-dev depending on gamin/fam
  - don't install .svgz icons, docs or all_languages in kdelibs-data.install
  - rosetta support in rules common-install-prehook-impl:: [and
    common-post-build-arch:: ?] and include debian/kubuntu-desktop-i18n/
  - build-dep on: gettext-kde, kdesdk-scripts, lsb-release, base-files, sudo
  - cdbs build-dep 0.4.41ubuntu2
  - kdelibs4-dev depends on gettext-kde, kdesdk-scripts
  - copy debian/icons over
  - Make kdelibs4c2a depend on launchpad-integration, sudo.  Recommends on
    xdg-user-dirs
  - Remove 19_debianize_useragent.diff (changed to
    kubuntu_19_debianize_useragent.diff) s/Debian/Kubuntu
  - remove kdelibs4c2a depends on menu-xdg
  - include kubuntu_01_kdepot.diff and kde.pot in debian/patches/common
  - use a local copy of kde.mk without the common-install-prehook-impl::
    rule; edit debian-qt-kde.mk to include debian/cdbs/kde.mk
  - build with --with-sudo-kdesu-backend and build-dep on sudo and make
    kdelibs4c2a depend on sudo
  - kdelibs-data.install : Add nzb mimetype
  - Make kdelibs4-dev replace more recent kdelibs4c2a for overlapping files
  - remove /usr/bin/preparetips, arts files and ksvntopng from
    kdelibs4-dev.install
  - Drop the package kdelibs4-doc completely. It contained API documentation
    which is now obsolete, but still available via api.kde.org.
  - make sure control and control.in are in sync
  - in debian/rule remove .pot files outside .po directory
  - 97_automake_cleanup.diff becomes kubuntu_97_automake_cleanup.diff
  - Remove libarts1-dev from build-depends and kdelibs4-dev depends from
    control.in
* Drop kubuntu_98_fix_khc_invocation.diff, replaced by
  68_support_khelpcenter4.diff
* Drop kubuntu_97_automake_cleanup.diff, replaced by 97_automake_cleanup.diff
* Re-add security_05_XMLHttpRequest_vulnerability.diff which has been
  accidentally dropped
* Fix FTBFS, in debian/rules:
  - Add -Wl,--add-needed to LDFLAGS
  - Disable parallel building

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
# endif
96
96
#endif
97
97
 
98
 
#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__)
 
98
#if defined(HAVE_TCGETATTR)
 
99
# define _tcgetattr(fd, ttmode) tcgetattr(fd, ttmode)
 
100
#elif defined(TIOCGETA)
99
101
# define _tcgetattr(fd, ttmode) ioctl(fd, TIOCGETA, (char *)ttmode)
 
102
#elif defined(TCGETS)
 
103
# define _tcgetattr(fd, ttmode) ioctl(fd, TCGETS, (char *)ttmode)
100
104
#else
101
 
# if defined(_HPUX_SOURCE) || defined(__Lynx__) || defined (__CYGWIN__)
102
 
#  define _tcgetattr(fd, ttmode) tcgetattr(fd, ttmode)
103
 
# else
104
 
#  define _tcgetattr(fd, ttmode) ioctl(fd, TCGETS, (char *)ttmode)
105
 
# endif
 
105
# error
106
106
#endif
107
107
 
108
 
#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__)
 
108
#if defined(HAVE_TCSETATTR) && defined(TCSANOW)
 
109
# define _tcsetattr(fd, ttmode) tcsetattr(fd, TCSANOW, ttmode)
 
110
#elif defined(TIOCSETA)
109
111
# define _tcsetattr(fd, ttmode) ioctl(fd, TIOCSETA, (char *)ttmode)
 
112
#elif defined(TCSETS)
 
113
# define _tcsetattr(fd, ttmode) ioctl(fd, TCSETS, (char *)ttmode)
110
114
#else
111
 
# if defined(_HPUX_SOURCE) || defined(__CYGWIN__)
112
 
#  define _tcsetattr(fd, ttmode) tcsetattr(fd, TCSANOW, ttmode) 
113
 
# else
114
 
#  define _tcsetattr(fd, ttmode) ioctl(fd, TCSETS, (char *)ttmode)
115
 
# endif
 
115
# error
116
116
#endif
117
117
 
118
118
#if defined (_HPUX_SOURCE)