瀏覽代碼

remove RPM "lib64" hack to port to NetBSD/sparc64

Ralf S. Engelschall 21 年之前
父節點
當前提交
e2df056c1f
共有 6 個文件被更改,包括 100 次插入68 次删除
  1. 1 0
      openpkg/HISTORY
  2. 1 1
      openpkg/openpkg.spec
  3. 4 4
      openpkg/rpm.patch.bugfix
  4. 7 7
      openpkg/rpm.patch.feature
  5. 41 5
      openpkg/rpm.patch.porting
  6. 46 51
      openpkg/rpm.patch.regen

+ 1 - 0
openpkg/HISTORY

@@ -2,6 +2,7 @@
 2004
 ====
 
+20040412 remove RPM's "lib64" hack to port to NetBSD/sparc64
 20040410 fix GNU tar patch
 20040408 upgraded to GNU shtool 2.0b3
 

+ 1 - 1
openpkg/openpkg.spec

@@ -39,7 +39,7 @@
 #   o any cc(1)
 
 #   the package version/release
-%define       V_openpkg  20040510
+%define       V_openpkg  20040512
 
 #   the used software versions
 %define       V_rpm      4.2.1

+ 4 - 4
openpkg/rpm.patch.bugfix

@@ -10,7 +10,7 @@
 ##  'patch' tool to upgrade those files. Each patch snippet is annotated
 ##  with a short description.
 ##
-##  Created on: 29-Apr-2004
+##  Created on: 12-May-2004
 ##
 ##  ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
 ##             RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ -50,7 +50,7 @@ Index: build/parsePrep.c
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
++++ configure.ac	11 May 2004 07:14:52 -0000
 @@ -416,7 +417,7 @@
  AC_CHECK_HEADER([beecrypt/beecrypt.h], [
  	AC_CHECK_LIB(beecrypt, mpfprintln, [
@@ -67,8 +67,8 @@ Index: configure.ac
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
-@@ -1274,7 +1302,6 @@
++++ configure.ac	11 May 2004 07:14:52 -0000
+@@ -1274,7 +1299,6 @@
  	python/rpmdb/Makefile
  	python/test/Makefile
    ], [	echo timestamp > popt/stamp-h.in

+ 7 - 7
openpkg/rpm.patch.feature

@@ -10,7 +10,7 @@
 ##  'patch' tool to upgrade those files. Each patch snippet is annotated
 ##  with a short description.
 ##
-##  Created on: 29-Apr-2004
+##  Created on: 12-May-2004
 ##
 ##  ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
 ##             RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ -837,7 +837,7 @@ Index: build/spec.c
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
++++ configure.ac	11 May 2004 07:14:52 -0000
 @@ -53,7 +53,7 @@
  AS=${AS-as}
  AC_SUBST(AS)
@@ -871,7 +871,7 @@ Index: configure.ac
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
++++ configure.ac	11 May 2004 07:14:52 -0000
 @@ -310,7 +311,7 @@
  WITH_ZLIB_SUBDIR=
  WITH_ZLIB_INCLUDE=
@@ -889,7 +889,7 @@ Index: configure.ac
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
++++ configure.ac	11 May 2004 07:14:52 -0000
 @@ -324,38 +325,38 @@
  
  localdone=
@@ -967,8 +967,8 @@ Index: configure.ac
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
-@@ -1200,12 +1202,12 @@
++++ configure.ac	11 May 2004 07:14:52 -0000
+@@ -1200,12 +1199,12 @@
  AC_SUBST(LOCALEDIR)
  LIBDIR="`echo $libdir | sed 's-/lib$-/%{_lib}-'`"
  AC_SUBST(LIBDIR)
@@ -983,7 +983,7 @@ Index: configure.ac
  AC_DEFINE_UNQUOTED(SYSCONFIGDIR, "$SYSCONFIGDIR",
  	[Full path to rpm system configuration directory (usually /etc/rpm)])
  AC_SUBST(SYSCONFIGDIR)
-@@ -1215,17 +1217,17 @@
+@@ -1215,17 +1214,17 @@
  	[Colon separated paths of macro files to read.])
  AC_SUBST(MACROFILES)
  

+ 41 - 5
openpkg/rpm.patch.porting

@@ -10,7 +10,7 @@
 ##  'patch' tool to upgrade those files. Each patch snippet is annotated
 ##  with a short description.
 ##
-##  Created on: 29-Apr-2004
+##  Created on: 12-May-2004
 ##
 ##  ATTENTION: THIS PATCH FILE WAS AUTO-GENERATED FROM AN OPENPKG
 ##             RPM CVS REPOSITORY, HENCE DO NOT EDIT THIS FILE.
@@ -38,7 +38,7 @@ Index: ltconfig
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
++++ configure.ac	11 May 2004 07:14:52 -0000
 @@ -446,14 +447,14 @@
      AC_CHECK_LIB(socket, socket)
  ])
@@ -68,7 +68,7 @@ Index: configure.ac
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
++++ configure.ac	11 May 2004 07:14:52 -0000
 @@ -963,12 +964,13 @@
  AC_CHECK_FUNCS(getpassphrase)
  
@@ -85,6 +85,24 @@ Index: configure.ac
  AC_CHECK_FUNC(lchown,
     [__CHOWN_RHF="%{__chown} -Rhf"
 
++---------------------------------------------------------------------------
+| Remove RPM's "lib64" hack because we do not install
+| into any system locations at all.
++---------------------------------------------------------------------------
+Index: configure.ac
+--- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
++++ configure.ac	11 May 2004 07:14:52 -0000
+@@ -1141,9 +1143,6 @@
+ 
+ dnl XXX Choose /usr/lib or /usr/lib64 for library installs.
+ MARK64=
+-case "${target_cpu}" in
+-x86_64*|ppc64*|powerpc64*|sparc64*|s390x*)	MARK64=64 ;;
+-esac
+ AC_SUBST(MARK64)
+ 
+ dnl Determine the canonical arch-vendor-os for the build machine
+
 +---------------------------------------------------------------------------
 | Provide fallback definitions for uintX_t stuff, which is used by
 | build/rpmfile.h and not available on all platforms. We do this by
@@ -95,8 +113,8 @@ Index: configure.ac
 +---------------------------------------------------------------------------
 Index: configure.ac
 --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
-+++ configure.ac	22 Jan 2004 21:42:08 -0000	1.2
-@@ -1249,11 +1251,37 @@
++++ configure.ac	11 May 2004 07:14:52 -0000
+@@ -1249,11 +1248,37 @@
  
  AC_SUBST(OBJDUMP)
  
@@ -136,6 +154,24 @@ Index: configure.ac
  AC_OUTPUT([ Doxyfile Makefile rpmrc macros platform rpmpopt rpm.spec
  	rpmio/Makefile rpmdb/Makefile lib/Makefile build/Makefile
 
++---------------------------------------------------------------------------
+| Remove RPM's "lib64" hack because we do not install
+| into any system locations at all.
++---------------------------------------------------------------------------
+Index: popt/configure.ac
+--- popt/configure.ac	27 Mar 2003 17:23:18 -0000	1.1.1.3
++++ popt/configure.ac	12 May 2004 13:26:31 -0000
+@@ -53,9 +53,6 @@
+ 
+ dnl XXX Choose /usr/lib or /usr/lib64 for library installs.
+ MARK64=
+-case "${target_cpu}" in
+-x86_64*|powerpc64*|ppc64*|sparc64*|s390x*)        MARK64=64 ;;
+-esac
+ AC_SUBST(MARK64)
+ 
+ AC_CHECK_HEADERS(alloca.h float.h libintl.h mcheck.h unistd.h)
+
 +---------------------------------------------------------------------------
 | Not all Bourne-Shells support embedded TAB characters in
 | here-document style constructs. Insert the TAB character indirectly

文件差異過大導致無法顯示
+ 46 - 51
openpkg/rpm.patch.regen