openbsd-ports/math/grpn/patches/patch-lcd_c
2010-03-23 20:38:20 +00:00

25 lines
626 B
Plaintext

$OpenBSD: patch-lcd_c,v 1.1 2010/03/23 20:38:20 jasper Exp $
Port to gtk+2.
--- lcd.c.orig Thu Apr 4 05:46:11 2002
+++ lcd.c Tue Mar 23 21:35:11 2010
@@ -20,6 +20,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
/* lcd.c by Paul Wilkins 3/22/97 */
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -677,7 +679,7 @@ void convertSelection(
#else
switch(selection->target){
#endif
- case GDK_TARGET_STRING:
+/* case GDK_TARGET_STRING:*/
case TARGET_STRING:
gtk_selection_data_set(
selection,