dev-embedded/qdl: Drop version 1.0

Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
Quincy Fleming
2024-03-26 18:41:46 -05:00
parent 493bcb82dc
commit 838cc903ba
7 changed files with 9 additions and 46 deletions

View File

@@ -1,23 +0,0 @@
#Created by Quincy Fleming
#Failure to compile without include "<stdlib.h>"
#Bug: https://bugs.gentoo.org/927801
--- a/patch.c
+++ b/patch.c
@@ -30,6 +30,7 @@
*/
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
--- a/program.c
+++ b/program.c
@@ -31,6 +31,7 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
+#include <stdlib.h>
#include <unistd.h>
#include <libxml/parser.h>
#include <libxml/tree.h>

View File

@@ -1,17 +0,0 @@
#Created by Quincy Fleming
#CFLAGS and LDFLAGS were not being respected
#Bug links: https://bugs.gentoo.org/910480 https://bugs.gentoo.org/910481
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
OUT := qdl
-CFLAGS := -O2 -Wall -g `xml2-config --cflags`
-LDFLAGS := `xml2-config --libs`
-prefix := /usr/local
+CFLAGS += `${PKG_CONFIG} --cflags libxml-2.0`
+LDFLAGS += `${PKG_CONFIG} --libs libxml-2.0 libudev`
+prefix = ${EPREFIX}/usr
SRCS := firehose.c qdl.c sahara.c util.c patch.c program.c
OBJS := $(SRCS:.c=.o)