summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz>2010-06-14 06:49:50 +0000
committerwiz <wiz>2010-06-14 06:49:50 +0000
commitd0101c4b2113778970bac1f81b889f1aeedf1cf4 (patch)
tree7679335e895b9acc46646ddaf70d1ed32744e6df /emulators
parenta366c3f3605418bf5d7119a400bfe5fa065bded9 (diff)
downloadpkgsrc-d0101c4b2113778970bac1f81b889f1aeedf1cf4.tar.gz
On the off chance that pkgsrc compiles the nogui files for you,
fix them by removing an empty, unused getline() function that conflicts with the POSIX function of the same name.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/e-uae/distinfo3
-rw-r--r--emulators/e-uae/patches/patch-aa18
2 files changed, 20 insertions, 1 deletions
diff --git a/emulators/e-uae/distinfo b/emulators/e-uae/distinfo
index 07770e75f8b..5239b954024 100644
--- a/emulators/e-uae/distinfo
+++ b/emulators/e-uae/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2006/10/22 19:38:58 rillig Exp $
+$NetBSD: distinfo,v 1.3 2010/06/14 06:49:50 wiz Exp $
SHA1 (e-uae-0.8.28.tar.bz2) = 11e647ed64420f85893ac77c072e268b650ae183
RMD160 (e-uae-0.8.28.tar.bz2) = 7e9fa21fa14b0ca3a32a28ccb236b9d7628a7f69
Size (e-uae-0.8.28.tar.bz2) = 1148790 bytes
+SHA1 (patch-aa) = 724afe48daba80794e830f71ff674cbfd2e42f48
SHA1 (patch-ab) = dfce48dafb163b91c7252da14088e67b3e13bb6c
SHA1 (patch-ah) = 6f83d380dd0a44cdb9dd4316ca72f90b7b1df644
diff --git a/emulators/e-uae/patches/patch-aa b/emulators/e-uae/patches/patch-aa
new file mode 100644
index 00000000000..f01ec155275
--- /dev/null
+++ b/emulators/e-uae/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2010/06/14 06:49:51 wiz Exp $
+
+Conflicts with built-in getline() function on some platforms, and
+is not even used in the file.
+
+--- src/gui-none/nogui.c.orig 2004-09-07 14:11:55.000000000 +0000
++++ src/gui-none/nogui.c
+@@ -80,10 +80,6 @@ void gui_filename (int num, const char *
+ {
+ }
+
+-static void getline (char *p)
+-{
+-}
+-
+ void gui_handle_events (void)
+ {
+ }