sci-visualization/xgraph: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 29 Jan 2017 09:24:23 +0000 (10:24 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 29 Jan 2017 20:09:42 +0000 (21:09 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3709

sci-visualization/xgraph/files/xgraph-12.1-glibc-2.10.patch [deleted file]
sci-visualization/xgraph/files/xgraph-makefile-gentoo.patch [deleted file]

diff --git a/sci-visualization/xgraph/files/xgraph-12.1-glibc-2.10.patch b/sci-visualization/xgraph/files/xgraph-12.1-glibc-2.10.patch
deleted file mode 100644 (file)
index e251408..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -ur xgraph-12.1.orig/dialog.c xgraph-12.1/dialog.c
---- xgraph-12.1.orig/dialog.c  2009-08-09 01:02:01.000000000 +0300
-+++ xgraph-12.1/dialog.c       2009-08-09 01:02:40.000000000 +0300
-@@ -775,7 +775,7 @@
-     memset(new_info->lines, 0, sizeof(Window) * E_LINES);
-     lineptr = text;
--    while (getline(&lineptr, line)) {
-+    while (get_line(&lineptr, line)) {
-       if (new_info->num_lines >= new_info->alloc_lines) {
-           int old_alloc_lines_size = new_info->alloc_lines * sizeof(Window);
-           new_info->alloc_lines *= 2;
-@@ -886,7 +886,7 @@
- int 
--getline(tptr, lptr)
-+get_line(tptr, lptr)
- char  **tptr;
- char   *lptr;
-diff -ur xgraph-12.1.orig/dialog.h xgraph-12.1/dialog.h
---- xgraph-12.1.orig/dialog.h  2009-08-09 01:02:01.000000000 +0300
-+++ xgraph-12.1/dialog.h       2009-08-09 01:02:43.000000000 +0300
-@@ -1,3 +1,3 @@
- extern void msg_box(char *, char *);
--extern int getline(char **, char *);
-+extern int get_line(char **, char *);
- extern void do_error(char *);
diff --git a/sci-visualization/xgraph/files/xgraph-makefile-gentoo.patch b/sci-visualization/xgraph/files/xgraph-makefile-gentoo.patch
deleted file mode 100644 (file)
index e863742..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur xgraph-12.1/Makefile.in xgraph-12.1-new/Makefile.in
---- xgraph-12.1/Makefile.in    1999-12-20 16:40:32.000000000 -0500
-+++ xgraph-12.1-new/Makefile.in        2006-08-12 10:04:18.000000000 -0400
-@@ -80,7 +80,7 @@
- # C_WARNINGS = -Wall
- C_WARNINGS = 
--CFLAGS = $(ADDITIONAL_INCLUDES)  $(C_WARNINGS) -g  $(X_CFLAGS) 
-+CFLAGS = $(ADDITIONAL_INCLUDES)  $(C_WARNINGS) @CFLAGS@  $(X_CFLAGS) 
- xgraph_LDADD = $(ADDITIONAL_LIBS) $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lm
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4