diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-19 19:45:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-19 19:45:02 +0000 |
commit | f383a2f12839f70a87cd88ead269b9356e4ec6dc (patch) | |
tree | bf2e8dbc961788a02592f19a34084d208817c931 /games/nethack-qt/patches | |
parent | 657713e260445c625e400893b351f3cc67fce1ad (diff) | |
download | pkgsrc-f383a2f12839f70a87cd88ead269b9356e4ec6dc.tar.gz |
Add DragonFly support. When linking with libqt-mt, explicitly link in
the thread libraries, this is needed for FreeBSD4-style -pthread.
Diffstat (limited to 'games/nethack-qt/patches')
-rw-r--r-- | games/nethack-qt/patches/patch-aa | 4 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ac | 8 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ah | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/games/nethack-qt/patches/patch-aa b/games/nethack-qt/patches/patch-aa index 029edf71a06..8d8011b19ac 100644 --- a/games/nethack-qt/patches/patch-aa +++ b/games/nethack-qt/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.11 2004/03/05 15:21:01 pooka Exp $ +$NetBSD: patch-aa,v 1.12 2005/12/19 19:45:02 joerg Exp $ --- include/config.h.old 2003-12-08 01:39:13.000000000 +0200 +++ include/config.h 2004-03-05 17:00:59.000000000 +0200 @@ -19,7 +19,7 @@ $NetBSD: patch-aa,v 1.11 2004/03/05 15:21:01 pooka Exp $ # define DEFAULT_WC_TILED_MAP /* Default to tiles if users doesn't say wc_ascii_map */ # define USER_SOUNDS /* Use sounds */ -# ifndef __APPLE__ -+# if !(defined(__APPLE__) || defined(__NetBSD__)) ++# if !(defined(__APPLE__) || defined(__NetBSD__) || defined(__DragonFly__)) # define USER_SOUNDS_REGEX # endif # define USE_XPM /* Use XPM format for images (required) */ diff --git a/games/nethack-qt/patches/patch-ac b/games/nethack-qt/patches/patch-ac index 7777fda289f..4aa02c1bbdb 100644 --- a/games/nethack-qt/patches/patch-ac +++ b/games/nethack-qt/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.13 2003/09/02 00:30:55 pooka Exp $ +$NetBSD: patch-ac,v 1.14 2005/12/19 19:45:02 joerg Exp $ --- include/system.h.orig 2003-08-30 03:07:23.000000000 +0300 +++ include/system.h 2003-09-02 02:49:23.000000000 +0300 @@ -7,11 +7,11 @@ $NetBSD: patch-ac,v 1.13 2003/09/02 00:30:55 pooka Exp $ E long NDECL(random); # endif -# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM) -+# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__)) || defined(RANDOM) ++# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)) || defined(RANDOM) E void FDECL(srandom, (unsigned int)); # else -# if !defined(bsdi) && !defined(__FreeBSD__) -+# if !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) ++# if !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) E int FDECL(srandom, (unsigned int)); # endif # endif @@ -29,7 +29,7 @@ $NetBSD: patch-ac,v 1.13 2003/09/02 00:30:55 pooka Exp $ E unsigned int FDECL(strlen, (char *)); # else -# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) -+# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) && !defined(__NetBSD__) ++# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) && !defined(__NetBSD__) && !defined(__DragonFly__) E int FDECL(strlen, (const char *)); # endif # endif /* HPUX */ diff --git a/games/nethack-qt/patches/patch-ah b/games/nethack-qt/patches/patch-ah index ca9ec4e2310..595bcfca55e 100644 --- a/games/nethack-qt/patches/patch-ah +++ b/games/nethack-qt/patches/patch-ah @@ -1,4 +1,4 @@ -$NetBSD: patch-ah,v 1.6 2004/10/07 12:45:07 markd Exp $ +$NetBSD: patch-ah,v 1.7 2005/12/19 19:45:02 joerg Exp $ --- sys/unix/Makefile.src.orig 2003-12-08 12:39:13.000000000 +1300 +++ sys/unix/Makefile.src @@ -38,7 +38,7 @@ $NetBSD: patch-ah,v 1.6 2004/10/07 12:45:07 markd Exp $ # # libraries for Qt -WINQTLIB = -L$(QTDIR)/lib -lqt -+WINQTLIB = -L$(QTDIR)/lib -lqt-mt -lXpm -lX11 -lICE -lSM -lz -lpng -lXext ++WINQTLIB = -L$(QTDIR)/lib -lqt-mt -lXpm -lX11 -lICE -lSM -lz -lpng -lXext ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} # # libraries for KDE (with Qt) WINKDELIB = -lkdecore -lkdeui -lXext |