File gnome-libs-system-popt.patch of Package gnome-libs

--- libgnome/gnome-popt.h
+++ libgnome/gnome-popt.h
@@ -7,7 +7,7 @@
 BEGIN_GNOME_DECLS
 
 /* This is here because it does not have its own #ifdef __cplusplus */
-#include <popt-gnome.h>
+#include <popt.h>
 
 void gnomelib_register_popt_table(const struct poptOption *options,
 				  const char *description);
--- support/Makefile.am
+++ support/Makefile.am
@@ -13,17 +13,11 @@
 # These are internal headers: they are used only when compiling and
 # should not be installed
 noinst_HEADERS = gnomesupport-fake.h \
-		 findme.h poptint.h
+		 findme.h
 
-# Hmm... should we move `error.h' here.
-gnomeincludedir=$(includedir)/gnome-1.0
-gnomeinclude_HEADERS = popt-gnome.h
-
-popt_sources = findme.c poptconfig.c poptparse.c popt.c popthelp.c
-
-libgnomesupport_la_SOURCES = gnomesupport.h $(popt_sources) gnome-argp.c
+libgnomesupport_la_SOURCES = gnomesupport.h gnome-argp.c
 libgnomesupport_la_LIBADD  = @LTLIBOBJS@
-libgnomesupport_la_LDFLAGS = -version-info 0:0:0
+libgnomesupport_la_LDFLAGS = -version-info 0:0:0 -lpopt
 
 BUILT_SOURCES = gnomesupport.h
 
@@ -39,7 +33,7 @@
 	canonicalize.c easy-vsnprintf.c error.c error.h \
 	findme.c findme.h getopt.c getopt.h getopt1.c \
 	gnome-argp.c gnome-argp.h gnomesupport-fake.h \
-	memmove.c mkstemp.c popt-gnome.h popt.c poptconfig.c \
-	popthelp.c poptint.h poptparse.c scandir.c strcasecmp.c \
+	memmove.c mkstemp.c \
+	scandir.c strcasecmp.c \
 	strerror.c strndup.c strnlen.c strtod.c strtok_r.c strtol.c \
 	strtoul.c vasprintf.c vsnprintf.c
openSUSE Build Service is sponsored by